47 model prices
  1. Home
  2. Models
  3. Comparisons
  4. Gemini 3.1 Pro Preview vs Grok 4.3

Gemini 3.1 Pro Preview vs Grok 4.3: API pricing and context window

Grok 4.3 is 38% cheaper than Gemini 3.1 Pro Preview for input ($1.25 vs $2.00 per 1M tokens) and 79% cheaper for output ($2.50 vs $12.00). Context window: 1,048,576 tokens for Gemini 3.1 Pro Preview, 1,000,000 for Grok 4.3. A 10K-input, 1K-output request costs $0.032 on Gemini 3.1 Pro Preview and $0.015 on Grok 4.3.

Last updated: Pricing data: LiteLLM (MIT)

Gemini 3.1 Pro Preview
$2.00 / $12.00
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.1 Pro PreviewGrok 4.3Gemini 3.1 Pro Preview vs Grok 4.3
Input$2.00$1.25+60%
Output$12.00$2.50+380%
Cached input$0.20$0.20
Context window1,048,5761,000,000+5%
Long-context threshold200,000200,000
Long-context input$4.00$2.50+60%
Long-context output$18.00$5.00+260%
Batch API input$1.00$1.00
Batch API output$6.00$2.00+200%
Image inputYesYes
Function callingYesYes
ReasoningYesYes
Prompt cachingYesYes
Web searchYesYes
Structured outputYesYes
Input typestext, image, audio, videotext, image

Cost per task

TaskGemini 3.1 Pro PreviewGrok 4.3Cheaper
Chat request (10K in + 1K out)$0.032$0.015Grok 4.3 (53% less)
Codebase question (100K in + 2K out)$0.224$0.13Grok 4.3 (42% less)
Same question, context cached (100K cached + 2K out)$0.044$0.025Grok 4.3 (43% less)
Long document (300K in + 4K out)$1.27$0.77Grok 4.3 (39% less)
1M tokens a month (750K in + 250K out)$4.50$1.56Grok 4.3 (65% less)

Estimate your own workload in the calculator

Which one to pick

Full pages: Gemini 3.1 Pro Preview · Grok 4.3

More comparisons

Questions

Which is cheaper, Gemini 3.1 Pro Preview or Grok 4.3?

Grok 4.3 is 38% cheaper than Gemini 3.1 Pro Preview for input ($1.25 vs $2.00 per 1M tokens) and 79% cheaper for output ($2.50 vs $12.00). A 10K-input, 1K-output request costs $0.032 on Gemini 3.1 Pro Preview and $0.015 on Grok 4.3.

Which has the larger context window, Gemini 3.1 Pro Preview or Grok 4.3?

Gemini 3.1 Pro Preview 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.1 Pro Preview and Grok 4.3?

A chat request with 10K input and 1K output tokens costs $0.032 on Gemini 3.1 Pro Preview and $0.015 on Grok 4.3. A 100K-token codebase question with a 2K answer costs $0.224 and $0.13.

What are the differences between Gemini 3.1 Pro Preview and Grok 4.3?

Gemini 3.1 Pro Preview / Grok 4.3: input: $2.00 / $1.25; output: $12.00 / $2.50; context window: 1,048,576 / 1,000,000; long-context input: $4.00 / $2.50; long-context output: $18.00 / $5.00; Batch API output: $6.00 / $2.00; input types: text, image, audio, video / text, image.