ZMIME
Comparison · 3 models · Updated Oct 4, 2026

Gemini 2.5 Computer Use Preview vs Gemini 3.1 Pro Preview vs GPT-5-Codex

Gemini 3.1 Pro Preview comes out ahead, 52 to 42 and 35 on our weighted score, though Gemini 2.5 Computer Use Preview is 24% cheaper per token.

  1. Google

    Gemini 2.5 Computer Use Preview

    Released Oct 7, 2025

    35/100
    • ECI—
    • Price$1.25 / $10.00
    • Context128K
  2. Our pick

    Google

    Gemini 3.1 Pro Preview

    Released Feb 19, 2026

    52/100
    • ECI154.8
    • Price$2.00 / $12.00
    • Context1.05M
  3. OpenAI

    GPT-5-Codex

    Released Sep 15, 2025

    42/100
    • ECI—
    • Price$1.25 / $10.00
    • Context400K
01 — Verdict

Gemini 3.1 Pro Preview is our pick

Gemini 3.1 Pro Preview is the better all-round choice, scoring 52/100 against GPT-5-Codex (42) and Gemini 2.5 Computer Use Preview (35). It leads on inputs & features and context window. The score weighs price 50%, inputs & features 30%, context window 20%. None of the shared benchmarks cover every model here yet, so capability is left out of this verdict.

  • CapabilityNot enough dataNo independent benchmark covers every model here yet
  • Lowest priceGemini 2.5 Computer Use Preview and GPT-5-CodexGemini 2.5 Computer Use Preview $3.44 · GPT-5-Codex $3.44 · Gemini 3.1 Pro Preview $4.50 per 1M tokens (3:1 blend)
  • Longest contextGemini 3.1 Pro PreviewGemini 3.1 Pro Preview 1,048,576 · GPT-5-Codex 400,000 · Gemini 2.5 Computer Use Preview 128,000 tokens
  • Widest inputsGemini 3.1 Pro PreviewGemini 2.5 Computer Use Preview: Text, Images · Gemini 3.1 Pro Preview: Text, Images, PDFs, Audio, Video · GPT-5-Codex: Text, Images
  • Self-hostingNo open weightsAll three are available only through APIs
How the score is built
MeasureWeightGemini 2.5 Computer Use PreviewGemini 3.1 Pro PreviewGPT-5-Codex
Price50%241924
Inputs & features30%6010070
Context window20%246144
Overall100%35/10052/10042/100

Left out because at least one model lacks the data: capability. The remaining weights were rescaled.

02 — Side by side

Every spec in one table

Highlighted cells lead their row. Dashes mean the data is not published.

Gemini 2.5 Computer Use Preview vs Gemini 3.1 Pro Preview vs GPT-5-Codex specifications side by side
SpecificationGemini 2.5 Computer Use PreviewGoogleGemini 3.1 Pro PreviewGoogleGPT-5-CodexOpenAI
Capability
Capabilities Index (ECI)—154.8—
ECI rank—#31 of 148—
GPQA DiamondGraduate-level science questions—94.4%—
FrontierMath Tiers 1–3Research-level mathematics—59.7%—
OTIS Mock AIME 2024–2025Competition mathematics—95.6%—
SWE-bench VerifiedFixing real GitHub issues—75.6%—
SimpleQA VerifiedShort factual questions—73.5%—
Price per million tokens
Input$1.25 (best)$2.00$1.25 (best)
Output$10.00 (best)$12.00$10.00 (best)
Cached input—$0.20—
Blended (3:1)$3.44 (best)$4.50$3.44 (best)
Long-context rateOver 200K: $2.50 / $15.00Over 200K: $4.00 / $18.00Same rate
Price sourceOfficial Google APIOfficial Google APIMedian of 3 providers
Limits
Context window128,000 tokens1,048,576 tokens (best)400,000 tokens
Max output64,000 tokens65,536 tokens128,000 tokens (best)
Inputs and features
TextYesYesYes
ImagesYesYesYes
PDFsNoYesNo
AudioNoYesNo
VideoNoYesNo
ReasoningYesYeslow · medium · highYes
Tool callingYesYesYes
Structured outputNoYesYes
Availability
WeightsProprietaryProprietaryProprietary
API model IDgemini-2.5-computer-use-preview-10-2025gemini-3.1-pro-preview—
API providers226 (best)3
ReleasedOct 7, 2025Feb 19, 2026Sep 15, 2025
Knowledge cutoffJan 2025Jan 2025Sep 30, 2024
03 — Cost

What would a month cost?

Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.

  • Gemini 2.5 Computer Use Preview$32.50
  • Gemini 3.1 Pro Preview$44.00
  • GPT-5-Codex$32.50
04 — Questions

Which should you choose?

Which is better: Gemini 2.5 Computer Use Preview, Gemini 3.1 Pro Preview or GPT-5-Codex?

Gemini 3.1 Pro Preview is the better all-round choice, scoring 52/100 against GPT-5-Codex (42) and Gemini 2.5 Computer Use Preview (35). It leads on inputs & features and context window. The score weighs price 50%, inputs & features 30%, context window 20%. None of the shared benchmarks cover every model here yet, so capability is left out of this verdict.

Which is cheaper, Gemini 2.5 Computer Use Preview, Gemini 3.1 Pro Preview or GPT-5-Codex?

Gemini 2.5 Computer Use Preview is cheaper at $1.25 input / $10.00 output per million tokens (official Google API price). GPT-5-Codex costs $1.25 input / $10.00 output per million tokens (median across 3 API providers); Gemini 3.1 Pro Preview costs $2.00 input / $12.00 output per million tokens (official Google API price). At a typical mix of three input tokens to one output token, that is $3.44 per million tokens for Gemini 2.5 Computer Use Preview versus $3.44 for GPT-5-Codex (1× as much) and $4.50 for Gemini 3.1 Pro Preview (1.3× as much).

Which scores higher on benchmarks?

There is no independent benchmark that covers all three models yet. Gemini 2.5 Computer Use Preview has not been scored yet, Gemini 3.1 Pro Preview has an ECI of 154.8 and GPT-5-Codex has not been scored yet.

Which is better for coding?

There are no published SWE-bench Verified results for Gemini 2.5 Computer Use Preview and GPT-5-Codex yet, so there is no like-for-like coding score. Test both on a sample of your own tasks. All three support tool calling for agent workflows.

Which has the bigger context window?

Gemini 3.1 Pro Preview has the largest context window at 1,048,576 tokens, against 400,000 for GPT-5-Codex and 128,000 for Gemini 2.5 Computer Use Preview. Maximum output per response: Gemini 2.5 Computer Use Preview up to 64,000, Gemini 3.1 Pro Preview up to 65,536, GPT-5-Codex up to 128,000 tokens.

Which can read images, PDFs, audio or video?

Gemini 2.5 Computer Use Preview accepts text and images; Gemini 3.1 Pro Preview accepts text, images, PDFs, audio and video; GPT-5-Codex accepts text and images. Gemini 3.1 Pro Preview handles the widest range of inputs.

Are any of these open source?

No. Gemini 2.5 Computer Use Preview, Gemini 3.1 Pro Preview and GPT-5-Codex are proprietary and only available through APIs and apps.

Which is newer?

Gemini 3.1 Pro Preview is the newest, released Feb 19, 2026. Gemini 2.5 Computer Use Preview came out Oct 7, 2025; GPT-5-Codex came out Sep 15, 2025. Knowledge cutoff: Gemini 2.5 Computer Use Preview Jan 2025, Gemini 3.1 Pro Preview Jan 2025, GPT-5-Codex Sep 30, 2024.

How do you decide the winner?

Each model gets a 0–100 score on capability (50%, independent benchmark results); price (25%, blended price per million tokens (3 input : 1 output), log scale); inputs & features (15%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (10%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Oct 4, 2026.