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.
| Attribute | Gemini 3.8 Flashgemini-3.8-flash | Grok 4.20 Betagrok-4.20-beta |
|---|---|---|
| Pricing | ||
| Input | $0.75 / 1M | $2.00 / 1M |
| Output | $3.75 / 1M | $6.00 / 1M |
| Cache Write (5m) | $0.75 / 1M | $2.00 / 1M |
| Cache Write (1h) | $0.75 / 1M | $2.00 / 1M |
| Cache Read | $0.75 / 1M | $2.00 / 1M |
| Web Search | $0 / 1M | $0 / 1M |
| Context | ||
| Max context | 1M | 2M |
| Max output | N/A | N/A |
| Capabilities | ||
| Vision | Yes | Yes |
| Function Calling | Yes | Yes |
| JSON Mode | Yes | Yes |
| Streaming | Yes | Yes |
| Catalogue | ||
| Provider | xAI | |
| Category | chat | chat |
| Charge type | Pay As You Go | Pay As You Go |
| Released | — | — |
| Description | ||
| Summary | Gemini 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.20 Beta is xAI's newest flagship model, designed for high-performance reasoning with industry-leading speed and strong agentic tool-calling capabilities. It emphasizes strict prompt adherence and low hallucination rates, enabling highly reliable and precise responses across complex tasks. Optimized for agent workflows and real-time applications, Grok 4.20 Beta delivers consistent, truthful outputs while maintaining fast inference and strong task execution reliability. |