Models

Gemini 3.1 Pro Preview Search vs Grok 4.5

Output tokens cost $12.00 per million on Gemini 3.1 Pro Preview Search and $6.00 per million on Grok 4.5. Input tokens cost $2.00 per million on Gemini 3.1 Pro Preview Search and $2.00 per million on Grok 4.5. Cached input tokens are billed at $0.50 per million on Gemini 3.1 Pro Preview Search and $0.50 per million on Grok 4.5. Time to first token (TTFT) measured on AIHubMix is 4.7s on Gemini 3.1 Pro Preview Search and 2.2s on Grok 4.5. Measured output throughput is 93.4 tok/s on Gemini 3.1 Pro Preview Search and 27.1 tok/s on Grok 4.5. On the LMArena coding leaderboard Gemini 3.1 Pro Preview Search scores 1522 and Grok 4.5 scores 1523.

GoogleGemini 3.1 Pro Preview SearchGrokGrok 4.5
Google logo
Gemini 3.1 Pro Preview Search
Google · text, image, audio, video → text

Gemini-3.1-pro-preview-search integrates Google's official search functionality; the search feature incurs an additional separate fee log directly incorporated into the scoring, but the log details are not displayed; this will be fixed in the future to show the details; it only supports OpenAI-compatible format calls and does not support the Gemini SDK; for the Gemini native SDK, please directly set the official search parameters.

Input$2.00 /M
Output$12.00 /M
Grok logo
Grok 4.5
Grok · text, image → text

Grok 4.5 was trained on datasets spanning knowledge in coding, science, engineering, and math. With both intelligent and efficient reasoning, Grok 4.5 excels at real engineering tasks and exceeds comparable leading models at these tasks.

Input$2.00 /M
Output$6.00 /M

Pricing & Specifications

Prices are per million tokens. Time to First Token and throughput are rolling averages measured on AIHubMix.

Gemini 3.1 Pro Preview Search
Grok 4.5
Input /M
$2.00
$2.00
Output /M
$12.00
$6.00
Cache read /M
$0.50
$0.50
Context length
0
500,000
Max output
0
500,000
Time to First Token
4.7 s
2.2 s
Throughput
93.4 tok/s
27.1 tok/s
Modalities
textimageaudiovideo
textimage
Supported Parameters
thinkingwebdeepsearchtoolsfunction callingstructured outputslong context
thinkingtoolsfunction callingstructured outputslong context
API Formats
chat_completions
Released
-
July 2026

Promotional prices show the discounted rate; see each model page for promotion windows.

Activity Past 30 Days

Daily traffic served through AIHubMix — how demand for each model is trending.

gemini-3.1-pro-preview-searchgrok-4.5

Tokens / day

-

Requests / day

-

Performance Past 3 Days

Measured on real AIHubMix traffic, hourly buckets. Gaps mean no traffic in that hour.

gemini-3.1-pro-preview-searchgrok-4.5

Throughput (tok/s)

-

TTFT (s)

-

Uptime (%)

-

LMArena Benchmarks

LMArena ratings by capability (Bradley-Terry, commonly called Elo). Higher is better.

Text
gemini-3.1-pro-preview-searchgrok-4.5
1420146015001540
Overall
14701486
Coding
15221523
Math
14781491
Hard prompts
14951507
Instruction following
14661481
Multi-turn
14771494
Creative writing
14491479
Longer query
14851498
Chinese
15111527
English
14751487
Vision
gemini-3.1-pro-preview-searchgrok-4.5
126013001340
Overall
12821282
OCR
12951298
Diagram
13111321
Homework
13131328
WebDev Arena
gemini-3.1-pro-preview-searchgrok-4.5
1400146015201580
Overall
14451556
React
14341559
HTML
14861577
Gaming
15861586
Simulations
15981598
Data analytics
15221522

Source: LMArena (arena.ai) leaderboard, imported by AIHubMix. Models without published ratings are omitted per chart.

Cost calculator

Estimate your monthly bill for the same workload on each model.

Grok 4.5
$210 /mo
Gemini 3.1 Pro Preview Search
$300 /mo

Monthly = daily × 30. Discounted rates applied where a promotion is active.

FAQ

Which is cheaper: Gemini 3.1 Pro Preview Search, Grok 4.5?

Grok 4.5: $6.00/M output tokens; Gemini 3.1 Pro Preview Search: $12.00/M. Use the cost calculator above to estimate your own workload.

How do their coding arena scores compare?

Grok 4.5: 1523; Gemini 3.1 Pro Preview Search: 1522 (LMArena coding leaderboard).

Which responds faster?

Grok 4.5: 2.2s time to first token measured on AIHubMix; see the live performance charts above for how each model behaves across the day.

Which one generates tokens faster?

Gemini 3.1 Pro Preview Search at 93.4 tok/s and Grok 4.5 at 27.1 tok/s, measured as output throughput on AIHubMix — a separate metric from time to first token.

What inputs and capabilities does each model support?

Gemini 3.1 Pro Preview Search accepts text, image, audio and video input and supports thinking, web search, deep search, tool calling, function calling, structured outputs and long context; Grok 4.5 accepts text and image input and supports thinking, tool calling, function calling, structured outputs and long context.

Can I call Gemini 3.1 Pro Preview Search and Grok 4.5 with the same API key?

Yes. AIHubMix serves every model on this page behind one OpenAI-compatible endpoint, so switching between them is a one-line change to the model field — no second account, key or SDK.

Popular comparisons

Related model match-ups readers also look at.