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.8 FlashGoogleRemove
  2. Grok 4 FastxAIRemove
gemini-3.8-flash vs grok-4-fast
AttributeGemini 3.8 Flashgemini-3.8-flashGrok 4 Fastgrok-4-fast
Pricing
Input$0.75 / 1M$0.07 / 1M
Output$3.75 / 1M$0.175 / 1M
Cache Write (5m)$0.75 / 1M$0.07 / 1M
Cache Write (1h)$0.75 / 1M$0.07 / 1M
Cache Read$0.75 / 1M$0.07 / 1M
Web Search$0 / 1M$0 / 1M
Context
Max context1M2M
Max outputN/AN/A
Capabilities
VisionYesNo
Function CallingYesYes
JSON ModeYesYes
StreamingYesYes
Catalogue
ProviderGooglexAI
Categorychatchat
Charge typePay As You GoPay As You Go
Released
Description
SummaryGemini 3.8 Flash is Google's most intelligent Flash-class model, delivering significant improvements over Gemini 3.7 Flash across software engineering, agentic workflows, and complex multi-step reasoning. Designed to combine strong capability with Flash-tier efficiency, it is well suited for coding assistants, autonomous agents, and high-throughput production workflows that require responsive performance without sacrificing reasoning quality.Grok 4 Fast is xAI'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.