Skip to content

Compare models

Put up to 4 models beside each other — token prices, context windows, capabilities and provider, from the same catalogue the model pages read.

  1. Gemini 3.1 Flash Lite Image (Google Vertex AI)GoogleRemove
  2. Grok 4 FastxAIRemove
gemini-3.1-flash-lite-image-vertex vs grok-4-fast
AttributeGemini 3.1 Flash Lite Image (Google Vertex AI)gemini-3.1-flash-lite-image-vertexGrok 4 Fastgrok-4-fast
Pricing
Request$0.0336 / request—
BillingPay Per Request—
Cache Write (5m)Not applicable$0.07 / 1M
Cache Write (1h)Not applicable$0.07 / 1M
Cache ReadNot applicable$0.07 / 1M
Input—$0.07 / 1M
Output—$0.175 / 1M
Web Search—$0 / 1M
Context
Max contextN/A2M
Max outputN/AN/A
Capabilities
VisionYesNo
Function CallingNoYes
JSON ModeNoYes
StreamingNoYes
Catalogue
ProviderGooglexAI
Categoryimagechat
Charge typePay Per RequestPay As You Go
Released——
Description
SummaryGemini 3.1 Flash Lite Image served from Google Vertex AI. Billed per image at US$0.0336. Call it through /v1/chat/completions with stream set to false; the image is returned in the message content as a base64 data URI. Maximum output resolution is 1K. A request for a larger size returns a 1K image with the same aspect ratio at the same price. When a size is reduced, the response carries an X-Image-Resolution-Capped header with the requested and delivered size.Grok 4 Fast is SpaceXAI's cost-efficient multimodal model with a massive 2M-token context window. It’s available in both reasoning and non-reasoning modes, allowing developers to toggle deeper thinking when needed. Designed for scalable performance, it balances speed, capability, and price — with reasoning controllable via the reasoning_enabled API parameter.