47 model prices
  1. Home
  2. Models
  3. Comparisons
  4. Gemini 3.8 Flash vs Grok 4.3

Gemini 3.8 Flash vs Grok 4.3: API pricing and context window

Gemini 3.8 Flash is 40% cheaper than Grok 4.3 for input ($0.75 vs $1.25 per 1M tokens), but 50% more expensive for output ($3.75 vs $2.50). Context window: 1,048,576 tokens for Gemini 3.8 Flash, 1,000,000 for Grok 4.3. A 10K-input, 1K-output request costs $0.011 on Gemini 3.8 Flash and $0.015 on Grok 4.3.

Last updated: Pricing data: LiteLLM (MIT)

Gemini 3.8 Flash
$0.75 / $3.75
Input / Output, per 1M tokens · 1M context window
Grok 4.3
$1.25 / $2.50
Input / Output, per 1M tokens · 1M context window

Side by side

FieldGemini 3.8 FlashGrok 4.3Gemini 3.8 Flash vs Grok 4.3
Input$0.75$1.25-40%
Output$3.75$2.50+50%
Cached input$0.075$0.20-63%
Context window1,048,5761,000,000+5%
Long-context thresholdnone200,000
Batch API input$0.375$1.00-63%
Batch API output$1.875$2.00-6%
Image inputYesYes
Function callingYesYes
ReasoningYesYes
Prompt cachingYesYes
Web searchYesYes
Structured outputYesYes
Input typestext, image, audio, videotext, image

Cost per task

TaskGemini 3.8 FlashGrok 4.3Cheaper
Chat request (10K in + 1K out)$0.011$0.015Gemini 3.8 Flash (25% less)
Codebase question (100K in + 2K out)$0.083$0.13Gemini 3.8 Flash (37% less)
Same question, context cached (100K cached + 2K out)$0.015$0.025Gemini 3.8 Flash (40% less)
Long document (300K in + 4K out)$0.24$0.77Gemini 3.8 Flash (69% less)
1M tokens a month (750K in + 250K out)$1.50$1.56Gemini 3.8 Flash (4% less)

Estimate your own workload in the calculator

Which one to pick

Full pages: Gemini 3.8 Flash · Grok 4.3

More comparisons

Questions

Which is cheaper, Gemini 3.8 Flash or Grok 4.3?

Gemini 3.8 Flash is 40% cheaper than Grok 4.3 for input ($0.75 vs $1.25 per 1M tokens), but 50% more expensive for output ($3.75 vs $2.50). A 10K-input, 1K-output request costs $0.011 on Gemini 3.8 Flash and $0.015 on Grok 4.3.

Which has the larger context window, Gemini 3.8 Flash or Grok 4.3?

Gemini 3.8 Flash accepts more: 1,048,576 input tokens, against 1,000,000 for Grok 4.3.

How much does a typical request cost on Gemini 3.8 Flash and Grok 4.3?

A chat request with 10K input and 1K output tokens costs $0.011 on Gemini 3.8 Flash and $0.015 on Grok 4.3. A 100K-token codebase question with a 2K answer costs $0.083 and $0.13.

What are the differences between Gemini 3.8 Flash and Grok 4.3?

Gemini 3.8 Flash / Grok 4.3: input: $0.75 / $1.25; output: $3.75 / $2.50; cached input: $0.075 / $0.20; context window: 1,048,576 / 1,000,000; long-context threshold: none / 200,000; Batch API input: $0.375 / $1.00; Batch API output: $1.875 / $2.00; input types: text, image, audio, video / text, image.