Gemini 2.5 Flash vs X-Ai/Grok-4-Fast-Reasoning: API price and specs
Gemini 2.5 Flash is 17% cheaper than X-Ai/Grok-4-Fast-Reasoning on input price.
X-Ai/Grok-4-Fast-Reasoning is 64% cheaper than Gemini 2.5 Flash on output price.
X-Ai/Grok-4-Fast-Reasoning is 32% cheaper than Gemini 2.5 Flash on a 1M-in / 200k-out workload.
X-Ai/Grok-4-Fast-Reasoning has a 87.7% larger context than Gemini 2.5 Flash.
| Field | Gemini 2.5 Flash | X-Ai/Grok-4-Fast-Reasoning |
|---|---|---|
| Lowest input, per 1M | $0.15 | $0.18 +20% |
| Median input, per 1M | $0.30 +50% | $0.20 |
| Lowest output, per 1M | $1.25 +177.8% | $0.45 |
| Median output, per 1M | $2.50 +400% | $0.50 |
| Lowest unit price | — | — |
| Cost of 1M in + 200k out | $0.40 +48.1% | $0.27 |
| Context | 1.1M +46.7% | 2M |
| Max output | 66K +96.7% | 2M |
| Providers | 26 | 7 +73.1% |
| Regions | EU, GLOBAL, US | US |
| Accepts | application/pdf, audio, audio/aac, audio/aiff, audio/alaw, audio/flac, audio/l16, audio/m4a, audio/mp3, audio/mpeg, audio/mulaw, audio/ogg, audio/opus, audio/wav, audio/webm, file, image, image/heic, image/heif, image/jpeg, image/png, image/webp, pdf, text, video, video/3gpp, video/avi, video/mov, video/mp4, video/mpeg, video/mpg, video/webm, video/wmv, video/x-flv | image, text |
| Returns | text | text |
| Type | Text models | Text models |
| Free option | no | no |
| Cheapest provider | kilo | jiekou |
Your own workload: how many tokens the model gets (input) and gives back (output) - for example, in a month. The "Cost" row of the table above is recalculated for these numbers, for each model.
Computed from current offers each time the page opens; the best value of a row is bold, the percent is how far behind the best.
Providers selling both
302ai, aihubmix, aiml, edenai, helicone, jiekou, poe
Frequently asked questions
Which is cheaper, Gemini 2.5 Flash or X-Ai/Grok-4-Fast-Reasoning?
Gemini 2.5 Flash is 17% cheaper than X-Ai/Grok-4-Fast-Reasoning on input price. X-Ai/Grok-4-Fast-Reasoning is 64% cheaper than Gemini 2.5 Flash on output price. X-Ai/Grok-4-Fast-Reasoning is 32% cheaper than Gemini 2.5 Flash on a 1M-in / 200k-out workload.
Which has the larger context, Gemini 2.5 Flash or X-Ai/Grok-4-Fast-Reasoning?
Gemini 2.5 Flash: 1.1M tokens; X-Ai/Grok-4-Fast-Reasoning: 2M tokens.
Where can I use both Gemini 2.5 Flash and X-Ai/Grok-4-Fast-Reasoning?
302ai, aihubmix, aiml, edenai, helicone, jiekou, poe