Head to head · tested 27 Oct 2026

Gemini 3.8 Flash vs Grok 4.7: accuracy, speed and price

Similar accuracy; Gemini 3.8 Flash costs less per question.

GoogleGemini 3.8 Flash82.5% score · #3$0.0037 per question142 tok/sSpaceXAIGrok 4.780.0% score · #6$0.025 per question77 tok/s

Verdict

Built from the measurements below

  • Accuracy is too close to call: Gemini 3.8 Flash scored 82.5% and Grok 4.7 80.0% on the same 80 questions, a gap within what chance alone could produce.
  • Gemini 3.8 Flash is 6.8× cheaper per question as billed ($0.0037 vs $0.025), reasoning tokens included.
  • Gemini 3.8 Flash generates text 1.8× faster: 142 tokens per second against 77.
  • Grok 4.7 starts answering sooner: 1.9 s to the first token, against 3.2 s for Gemini 3.8 Flash.
  • Gemini 3.8 Flash accepts more context: 1M tokens against 500k.

Which should you choose?

Choose Gemini 3.8 Flash for the lower cost per correct answer ($0.0045 against $0.031), faster streaming, shorter outputs (about 925 tokens per question against 3,952) and a 1M-token context window. Choose Grok 4.7 for a quicker first token. The widest subject gap is in law: Gemini 3.8 Flash answered 6 of 6 correctly, Grok 4.7 4 of 6. With so few questions per subject, treat this as a lead to test on your own prompts, not a result.

Accuracy gap +2.5 points (z = 0.41). A winner is called only when z is at least 1.96, the usual 95% threshold. Speed, latency and price need a 10% margin.

Head to head

Same questions, same prompt, same API

MeasureGemini 3.8 FlashGrok 4.7Edge
Verification scoreHigher is better82.5%80.0%Too close to call
Cost per questionLower is better$0.0037$0.025Gemini 3.8 Flash
Output speedHigher is better14277Gemini 3.8 Flash
Time to first tokenLower is better3.2 s1.9 sGrok 4.7
End-to-end response timeLower is better5.6 s8.0 sGemini 3.8 Flash
Tokens per questionLower is better9253,952Gemini 3.8 Flash
Context windowHigher is better1M500kGemini 3.8 Flash

Side by side

Bars are scaled to the larger of the two values. The winner on each measure is marked in bold.

Every measure

Gemini 3.8 Flash first, Grok 4.7 second

Verification scorehigher is better
Gemini 3.8 Flash82.5%
Grok 4.780.0%
Cost per questionlower is better
Gemini 3.8 Flash$0.0037
Grok 4.7$0.025
Output speedhigher is better
Gemini 3.8 Flash142
Grok 4.777
Time to first tokenlower is better
Gemini 3.8 Flash3.2 s
Grok 4.71.9 s
End-to-end response timelower is better
Gemini 3.8 Flash5.6 s
Grok 4.78.0 s
Tokens per questionlower is better
Gemini 3.8 Flash925
Grok 4.73,952
Context windowhigher is better
Gemini 3.8 Flash1M
Grok 4.7500k

Score vs. cost per question

Both models in color, every other model in grey

Most attractive quadrant0255075100$0.00001$0.0001$0.001$0.01$0.10Cost per question (USD, log) →Verification score (%) →Qwen3.8 2.4T A95BCommand AReka Flash 3Gemma 4 26B A4BGemma 4 31BQwen3.5 397B A17BHermes 4 405BMuse WonderGrok 4.7o3gpt-oss-20bMinistral 3 3B 2512Nova Micro 1.0Phi 4Granite 4.2 8BHy3GLM 5.3 FlashSolar Pro 4Trinity Large ThinkingMiniMax M3Mistral Large 4Claude Opus 5.5Gemini 3.8 FlashGPT-6.1 SolGPT-5.4GPT-6 Lunagpt-oss-120bLlama 4 Maverick

Specifications and pricing

From OpenRouter's catalogue, plus the leaderboard's test dates

SpecificationGemini 3.8 FlashGrok 4.7
CreatorGoogleSpaceXAI
Released2 Sept 202621 Sept 2026
Weights——
ReasoningYesYes
Inputtext, image, video, file, audiotext, image, file
Outputtexttext
Context window1M tokens500k tokens
Knowledge cutoff——
List price in / out per 1M$0.825 / $4.125$2 / $6
Blended price per 1M (3:1)$1.65$3.00
Cheapest hostGoogle AI Studio · $0.375 / $1.875xAI · $2 / $6
Hosts on OpenRouter21
Last tested25 Oct 202627 Oct 2026

Compare any two models →

Gemini 3.8 Flash vs Grok 4.7: frequently asked questions

Is Gemini 3.8 Flash better than Grok 4.7?
On accuracy they are statistically tied: Gemini 3.8 Flash scored 82.5% and Grok 4.7 80.0% on the same 80 questions from open datasets. Similar accuracy; Gemini 3.8 Flash costs less per question.
Which is cheaper, Gemini 3.8 Flash or Grok 4.7?
Gemini 3.8 Flash is cheaper: $0.0037 per question as billed, against $0.025. List prices: Gemini 3.8 Flash $0.825 in / $4.125 out, Grok 4.7 $2 in / $6 out per million tokens.
Which is faster, Gemini 3.8 Flash or Grok 4.7?
Gemini 3.8 Flash is faster at 142 output tokens per second, against 77. Time to first token: 3.2 s for Gemini 3.8 Flash, 1.9 s for Grok 4.7.
Which has the larger context window, Gemini 3.8 Flash or Grok 4.7?
Gemini 3.8 Flash, with 1M tokens against 500k.