Gemini 3.8 Flash vs Grok 4.3 API pricing
Which one is cheaper depends on your mix of input and output tokens; see the workloads below. Prices last checked 2026-10-13.
| Gemini 3.8 Flash (Google) | Grok 4.3 (xAI) | |
|---|---|---|
| Input $/1M tokens | $0.75 | $1.25 |
| Output $/1M tokens | $3.75 | $2.5 |
| Context | — | 1000000 |
| Our tier (1–4) | 2 | 2 |
Example monthly bills
| Workload | Gemini 3.8 Flash | Grok 4.3 | Cheaper |
|---|---|---|---|
| Chat / Q&A 10M in / 2M out per month | $15.00 | $17.50 | Gemini 3.8 Flash saves $2.50/mo (14%) |
| Coding 20M in / 5M out per month | $33.75 | $37.50 | Gemini 3.8 Flash saves $3.75/mo (10%) |
| Output-heavy (reasoning, long answers) 10M in / 10M out per month | $45.00 | $37.50 | Grok 4.3 saves $7.50/mo (17%) |
Fine print
- Gemini 3.8 Flash: Promo through 2026-12-31; $1.50/$7.50 from 2027-01-01
- Grok 4.3: <200K prompt; ≥200K $2.50/$5
Cost only, not quality. “Tier” is our rough capability judgment, not a benchmark, and different tokenizers count the same text differently. Reasoning models may bill extra thinking tokens as output. Official sources: Google, xAI.
See all models on the full price table, the Google and xAI pricing pages, or try the savings calculator with your own numbers.