Models

Gemini 3.1 Pro Preview Search vs Grok 4.5

Compare Gemini 3.1 Pro Preview Search from Google and Grok 4.5 from Grok on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the AIHubMix API.

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 /M
Output$12 /M
Cache read$0.5 /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 /M
Output$6 /M
Cache read$0.5 /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
$2
Output /M
$12
$6
Cache read /M
$0.5
$0.5
Context length
0
500,000
Max output
0
500,000
Time to First Token
10.1 s
2.8 s
Throughput
86.1 tok/s
31.5 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
14711486
Coding
15221523
Math
14791491
Hard prompts
14951507
Instruction following
14661481
Multi-turn
14761494
Creative writing
14511479
Longer query
14871498
Chinese
15121527
English
14761487
Vision
gemini-3.1-pro-preview-searchgrok-4.5
12601280130013201340
Overall
12821282
OCR
12941298
Diagram
13111319
Homework
13131324
WebDev Arena
gemini-3.1-pro-preview-searchgrok-4.5
1400146015201580
Overall
14451556
React
14341559
HTML
14861571
Gaming
15891589
Simulations
15851585
Data analytics
15211521

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/M output tokens; Gemini 3.1 Pro Preview Search: $12/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.8s 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 86.1 tok/s and Grok 4.5 at 31.5 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.