xAI: Grok 4.20 Beta vs Google: Gemini 2.5 Flash

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

Key Differences

  • Google: Gemini 2.5 Flash is 6.7x cheaper than xAI: Grok 4.20 Beta for input tokens
  • xAI: Grok 4.20 Beta has 1.9x more context than Google: Gemini 2.5 Flash (2M vs 1.0M)
SpecxAI: Grok 4.20 BetaGoogle: Gemini 2.5 Flash
ProviderxAIGoogle
Context Length2M1.0M
Max OutputN/A66K
Input Price/1M$2.00$0.30
Output Price/1M$6.00$2.50
Cache Read/1M$0.20$0.03
Cache Write/1MFree$0.08
Input ModalitiesText + ImageFile + Image + Text + Audio + Video
Output ModalitiesTextText
TokenizerGrokGemini
ModeratedNoNo