xAI: Grok 4 Fast vs Google: Gemini 3.1 Pro Preview

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

Key Differences

  • xAI: Grok 4 Fast is 10.0x cheaper than Google: Gemini 3.1 Pro Preview for input tokens
  • xAI: Grok 4 Fast has 1.9x more context than Google: Gemini 3.1 Pro Preview (2M vs 1.0M)
SpecxAI: Grok 4 FastGoogle: Gemini 3.1 Pro Preview
ProviderxAIGoogle
Context Length2M1.0M
Max Output30K66K
Input Price/1M$0.20$2.00
Output Price/1M$0.50$12
Cache Read/1M$0.05$0.20
Cache Write/1MFree$0.38
Input ModalitiesText + ImageAudio + File + Image + Text + Video
Output ModalitiesTextText
TokenizerGrokGemini
ModeratedNoNo