Enter opens the highlighted result. Esc closes.

Gemini 3.1 Pro Preview Custom Tools vs Hy4 preview

Hy4 preview costs 5.3x less per output token than Gemini 3.1 Pro Preview Custom Tools ($2.2509 vs $12.00 per million). Updated October 21, 2026; no benchmark has tested both models yet.

Gemini 3.1 Pro Preview Custom ToolsGoogle
Coding
No data
Overall
No data
Output $/M
$12.00
Hy4 previewTencent
Coding
44.3
Overall
No data
Output $/M
$2.2509
vs $12.00 vs $2.2509 per 1M output tokens. Hy4 preview is 5.3x cheaper.

Gemini 3.1 Pro Preview Custom Tools or Hy4 preview: which to pick

Only Hy4 preview has a coding score, 44.3 on the Vibe Coding Index; Gemini 3.1 Pro Preview Custom Tools has none, so the two cannot be ranked on coding.

Compare them on price, context and the boards below.

No benchmark has tested both yet. Gemini 3.1 Pro Preview Custom Tools has results on Vending-Bench 2; Hy4 preview on LMArena WebDev, Terminal-Bench 4 (Vals AI) and Vibe Code Bench (Vals AI). Compare them on price and context instead.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
Gemini 3.1 Pro Preview Custom Tools not benchmarked, Hy4 preview 44.3 from 3 benchmarks.
Widest category
None yet: no category has been tested on both models.
Widest single gap
None yet: no benchmark has tested both models.
Output price
Gemini 3.1 Pro Preview Custom Tools $12.00 against Hy4 preview $2.2509 per million output tokens, 5.3x apart.
Context window
Both take 1.05M tokens.

Benchmark by benchmark

Every board either model has a result on, a category to a fold; bars are each result on a 0 to 100 scale. Only one model is measured on each, so no row names a leader.

CodingDirectional onlySix of these boards feed the Vibe Coding Index10 boards measured
Coding benchmarks for Gemini 3.1 Pro Preview Custom Tools and Hy4 preview
BenchmarkGemini 3.1 Pro Preview Custom ToolsHy4 previewLeader
LMArena WebDevNot measured1631Only Hy4 preview measured
Terminal-Bench 4 (Vals AI)Not measured8.1%Only Hy4 preview measured
Vibe Code Bench (Vals AI)Not measured77.5%Only Hy4 preview measured
Code migration (Vals AI)Not measured47.4%Only Hy4 preview measured
ProgramBench (Vals AI)Not measured0.0%Only Hy4 preview measured
IOI (Vals AI)Not measured59.3%Only Hy4 preview measured
Terminal-Bench 2.1 (Vals AI)Not measured55.1%Only Hy4 preview measured
CyberBench (Vals AI)Not measured65.4%Only Hy4 preview measured
LMArena WebDev: ReactNot measured1653Only Hy4 preview measured
LMArena WebDev: HTMLNot measured1620Only Hy4 preview measured
Neither model has a result on the other 29 boards here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index9 boards measured
Agentic work benchmarks for Gemini 3.1 Pro Preview Custom Tools and Hy4 preview
BenchmarkGemini 3.1 Pro Preview Custom ToolsHy4 previewLeader
SREBench (Vals AI)Not measured2.3%Only Hy4 preview measured
Finance Agent (Vals AI)Not measured55.1%Only Hy4 preview measured
Tax Agent Bench (Vals AI)Not measured32.6%Only Hy4 preview measured
Legal Research Bench (Vals AI)Not measured45.2%Only Hy4 preview measured
Harvey's Legal Agent Benchmark (Vals AI)Not measured8.8%Only Hy4 preview measured
Excel Modeling Benchmark (Vals AI)Not measured58.1%Only Hy4 preview measured
BioMysteryBench (Vals AI)Not measured69.3%Only Hy4 preview measured
Terminal-Bench-Science (Vals AI)Not measured1.4%Only Hy4 preview measured
Vending-Bench 2$3,774Not measuredOnly Gemini 3.1 Pro Preview Custom Tools measured
Neither model has a result on the other 32 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index1 board measured
Math benchmarks for Gemini 3.1 Pro Preview Custom Tools and Hy4 preview
BenchmarkGemini 3.1 Pro Preview Custom ToolsHy4 previewLeader
ProofBenchNot measured75.0%Only Hy4 preview measured
Neither model has a result on the other 12 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index2 boards measured
Knowledge benchmarks for Gemini 3.1 Pro Preview Custom Tools and Hy4 preview
BenchmarkGemini 3.1 Pro Preview Custom ToolsHy4 previewLeader
LegalBench (Vals AI)Not measured83.8%Only Hy4 preview measured
MedCode (Vals AI)Not measured43.3%Only Hy4 preview measured
Neither model has a result on the other 16 boards here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index3 boards measured
General benchmarks for Gemini 3.1 Pro Preview Custom Tools and Hy4 preview
BenchmarkGemini 3.1 Pro Preview Custom ToolsHy4 previewLeader
Vals IndexNot measured53.2%Only Hy4 preview measured
Public Benefits Bench (Vals AI)Not measured68.6%Only Hy4 preview measured
MedScribe (Vals AI)Not measured83.6%Only Hy4 preview measured
Neither model has a result on the other 43 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

Gemini 3.1 Pro Preview Custom Tools$0.0080Fits in one request
Hy4 preview$0.0019Fits in one request

Hy4 preview costs less

Repository review

50K input + 3K output tokens

Gemini 3.1 Pro Preview Custom Tools$0.136Fits in one request
Hy4 preview$0.044Fits in one request

Hy4 preview costs less

Agent loop

200K input + 10K output tokens

Gemini 3.1 Pro Preview Custom Tools$0.520Fits in one request
Hy4 preview$0.173Fits in one request

Hy4 preview costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of Gemini 3.1 Pro Preview Custom Tools and Hy4 preview
SpecificationGoogle Gemini 3.1 Pro Preview Custom ToolsTencent Hy4 preview
MakerGoogleTencent
WeightsNo public weights listedOpen weights
ReleasedFebruary 25, 2026August 28, 2026
Context window1.05M1.05M
Input $/Mtok$2.00$0.7506
Output $/Mtok$12.00$2.2509
Coding indexNot benchmarked44.3
Independent measurements behind it03
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.1 Pro Preview Custom Tools better than Hy4 preview for coding?

Only Hy4 preview has a coding score, 44.3 on the Vibe Coding Index; Gemini 3.1 Pro Preview Custom Tools has none, so the two cannot be ranked on coding. Compare them on price, context and the boards below.

Which is cheaper, Gemini 3.1 Pro Preview Custom Tools or Hy4 preview?

Gemini 3.1 Pro Preview Custom Tools costs $2.00 per million input tokens and $12.00 per million output tokens; Hy4 preview costs $0.7506 and $2.2509. Cost per solved task is known for neither of them.

Which has the bigger context window, Gemini 3.1 Pro Preview Custom Tools or Hy4 preview?

Neither: both take 1.05M tokens.

Has any benchmark tested both Gemini 3.1 Pro Preview Custom Tools and Hy4 preview?

No benchmark has tested both yet. Gemini 3.1 Pro Preview Custom Tools has results on Vending-Bench 2; Hy4 preview on LMArena WebDev, Terminal-Bench 4 (Vals AI) and Vibe Code Bench (Vals AI). Compare them on price and context instead. Data as of October 21, 2026.

Compare next