Model comparison
Same task, different trade-offs.
We are not looking for an absolute winner. The comparison shows which model better suits your work, budget and required speed.
Models being compared
Grok 4.7
Data from September 27, 2026
Published September 21, 2026
A model for coding and multistep tasks involving text and images.
Gemini 3.8 Flash
Data from September 27, 2026
Published September 2, 2026
Processes text, images, audio and video; the output is text.
Price, speed and usage
$2 input / $6 output per million tokens below 200 thousand input tokens; above this threshold, $4 / $12.
$0.75 input / $3.75 output per million tokens through December 31, 2026. From January 1, 2027: $1.50 / $7.50.
We have not independently measured speed on a comparable basis.
We have not independently measured speed on a comparable basis.
xAI API, Cursor and Grok Build
Gemini API and Google AI Studio
500 thousand tokens.
1,048,576 input tokens; output capped at 65,536 tokens.
Text and images → text
Text, images, video, audio and PDF → text
Grok 4.7
Use when…
- Code development and fixes
- Analysis of text and image materials
Choose another model when…
- The Fast variant is not available in the public xAI API.
Gemini 3.8 Flash
Use when…
- Analysis of documents, audio and video
- Programming and multi-step business tasks
Choose another model when…
- A different model is needed to generate images or audio directly.
Original sources