xAI: Grok 4 Fast vs Google: Gemini 2.5 Flash

Side-by-side comparison based on OpenRouter API data.

Key Differences

  • xAI: Grok 4 Fast is 1.5x cheaper than Google: Gemini 2.5 Flash for input tokens
  • xAI: Grok 4 Fast has 1.9x more context than Google: Gemini 2.5 Flash (2M vs 1.0M)
SpecxAI: Grok 4 FastGoogle: Gemini 2.5 Flash
ProviderxAIGoogle
Context Length2M1.0M
Max Output30K66K
Input Price/1M$0.20$0.30
Output Price/1M$0.50$2.50
Cache Read/1M$0.05$0.03
Cache Write/1MFree$0.08
Input ModalitiesText + ImageFile + Image + Text + Audio + Video
Output ModalitiesTextText
TokenizerGrokGemini
ModeratedNoNo