Gemini 4 Carbon vs Grok 4.7

Side-by-side pricing per provider, context window, benchmark scores and speed, all on one OpenAI-compatible API.

Estimate monthly cost for these models
Metric
Gemini 4 CarbonGooglegoogle/gemini-4-carbon
Grok 4.7xAIx-ai/grok-4.7
Creator
Google
xAI
Released
Nov 10, 2026
Sep 21, 2026
Context window
1.05M (best)
500K
Input / 1MLowest provider price
$2.00
$2.00
Output / 1MLowest provider price
$10.00
$6.00 (best)
Providers
1
1
IntelligenceArtificial Analysis index
60.0 (best)
35.2
LatencyMedian time to first token
2.2s
—
ThroughputMedian tokens per second
<1 t/s
—
Accepts
Text, Image, Audio, Video, Files
Text, Image
Produces
Text
Text
Tool calling
Yes
Yes
Structured output
No
Yes
Reasoning
No
No

Gemini 4 Carbon vs Grok 4.7: summary

Gemini 4 Carbon and Grok 4.7 are both available through FastRouter's OpenAI-compatible API, so switching between them is a change of model id, not a new integration.

Gemini 4 Carbon, from Google, has a 1,048,576-token context window, costs $2.00/1M input and $10.00/1M output tokens and scores 60.0 on the Artificial Analysis Intelligence Index.

Grok 4.7, from xAI, has a 500,000-token context window, costs $2.00/1M input and $6.00/1M output tokens and scores 35.2 on the Artificial Analysis Intelligence Index.

Gemini 4 Carbon has the largest context window and Gemini 4 Carbon scores highest for intelligence.

Switch with one line

client = OpenAI(base_url="https://api.fastrouter.ai/api/v1", api_key="<FASTROUTER_API_KEY>") client.chat.completions.create(model="google/gemini-4-carbon", messages=[...]) # or client.chat.completions.create(model="x-ai/grok-4.7", messages=[...])
Full API docs

Frequently asked questions

More comparisons

Benchmark scores sourced from ArtificialAnalysis