The 88.3% in the headline is benchgap’s estimate of Claude Sonnet 5.5 on SWE-bench Verified, and the $2 is the input price Anthropic’s pricing page lists per million tokens for that same model, with $10 per million for output. Neither is a Claude-vs-ChatGPT-vs-Gemini result. benchgap lists the 88.3% as “estimated ± 0.8 pp, medium confidence”. The $2 is a standing rate: the same pricing page says the increase to $3 and $15 that was scheduled for September 1, 2026 will not occur. For API coding, start with Sonnet 5.5. The sections below put Claude, ChatGPT and Gemini side by side on who produced each benchmark score, what one coding request costs at each published rate, which context limits and monthly plans can rule a model out, and how to settle a tight call on your own code.
Don't miss new tech stories on Google
Add Tech Insider once in the Google app and our stories appear in your news suggestions.
88.3% is a Sonnet 5.5 estimate, and $2 is Sonnet 5.5’s standing input price
benchgap’s SWE-bench Verified page lists Claude Sonnet 5.5 at 88.3% under the label “estimated ± 0.8 pp, medium confidence”. The same page puts the highest measured score at 96.0%, held by Claude Opus 5. benchgap separates measured from estimated itself, and the Sonnet 5.5 figure sits on the estimated side of that line.
A second figure near 88% is in circulation. BenchLM lists Claude Opus 4.8 at 88.6%, reported by Anthropic. That is a different model, reported by its maker, and the two figures should not be read as one result.
The $2 is easier to pin down. Anthropic’s pricing table lists Claude Sonnet 5.5 at $2 for each million input tokens and $10 for each million of output. The API release notes say the introductory Claude Sonnet 5 price “is now the standard price” and that the increase to $3 and $15 “will not occur”. The notes name Sonnet 5; the pricing table gives Sonnet 5.5 the same $2 and $10.
Gemini 4 Argon has a separate $2. Google’s pricing page lists Argon at $2 for input and $10 for output through November 30, 2026, and $4 and $20 from December 1, 2026. It is the same figure from a different vendor with a different end date, so it should not sit beside Sonnet 5.5’s rate as if both were standing. The two flagships are set against each other in our Claude Opus 5.5 vs Gemini 4 Argon comparison.
SWE-bench Verified scores run from 79% to 97% across these models, and the producer changes by row
SWE-bench Verified scores for these models come from three kinds of producer: the lab that built the model, an outside evaluator, and a tracker that estimates.
| Model | SWE-bench Verified | Produced by | Setup and label |
|---|---|---|---|
| Claude Opus 5 | 97.00% (±0.76) | Vals.ai, independent | mini-swe-agent, bash only, isolated Docker containers; board updated September 1, 2026 |
| DeepSeek V4 Pro 0813 | 96.40% | Vals.ai, independent | Mini-SWE-agent; as of September 1, 2026 |
| Claude Opus 5 | 96% | Anthropic, as listed by BenchLM | Lab-reported |
| Claude Opus 4.8 | 88.6% | Anthropic, as listed by BenchLM | Lab-reported |
| Claude Sonnet 5.5 | 88.3% (±0.8 pp) | benchgap | Estimated, medium confidence |
| Claude Opus 4.7 | 83.5% | Epoch AI, independent | Epoch scaffold, effort max; run April 20, 2026 |
| GPT-5.5 | 80.6% | Epoch AI, independent | Epoch scaffold |
| Gemini 3.5 Flash | 79.3% | Epoch AI, independent | Epoch scaffold |
Part of the spread comes from who ran the test, and part from which model was scored. Vals.ai’s run of Claude Opus 5 is 97.00% with a bash-only agent setup, one point above the 96% BenchLM lists as Anthropic-reported for the same model, and benchgap lists 96.0% under its measured label. DeepSeek V4 Pro 0813 is 0.6 points behind Opus 5 under the same Vals.ai setup, which is inside the ±0.76 margin on the Opus 5 score. BenchLM ranks Opus 5 first among 118 models, ahead of Claude Mythos 5 at 95.5% and Claude Fable 5 at 95%.
Sonnet 5.5’s 88.3% sits 0.3 points below Opus 4.8’s 88.6%. That is smaller than the ±0.8 margin on the estimate, so the two rows cannot be put in order. The Epoch AI rows are the only ones where Claude, OpenAI and Google models were scored by an outside party on one scaffold: Opus 4.7 leads GPT-5.5 by 2.9 points and Gemini 3.5 Flash by 4.2. They are runs of earlier models and say nothing about Opus 5 or Sonnet 5.5.
These scores are not a ranking: the test setups differ, and only the three Epoch AI rows share one.
BenchLM’s page carries its own caution about the lab-reported scores: “None of the 118 results on this page was run by the benchmark or an independent evaluator: 112 reported by the labs that built the models”.
Why a few Verified points settle little: OpenAI’s position, SWE-bench Pro and maintainer review
OpenAI’s post on why it no longer evaluates SWE-bench Verified says: “This is why we have stopped reporting SWE-bench Verified scores, and we recommend that other model developers do so too.” aimap dates that change to February 2026 and adds that 59.4% of 138 audited hard tasks had flawed tests or descriptions. The GPT-5.5 figure used here is therefore an outside run, Epoch AI’s 80.6%.
Harder tests lower the numbers sharply. Scale AI’s SWE-bench Pro put the leading models at around 23%, against over 70% on Verified, which Scale attributed to unseen commercial codebases (summary of the results). The same summary reports a METR study in which four maintainers reviewed 296 AI-generated pull requests for scikit-learn, Sphinx and pytest and found roughly half of the automated-grader passes would be rejected in real review. Steel.dev’s leaderboard carries its own caution that top scores should be read with “contamination and test-design caveats”.
For a purchase, treat gaps smaller than the published margins (±0.8 and ±0.76 points) and any gap that crosses test setups as a tie, and settle the choice with the pilot described in the last section.
What a 120K-input, 10K-output coding request costs on Claude, GPT-5.5 and Gemini 4 Argon, and why per-token rates do not compare across vendors
The table prices one coding request of 120,000 input tokens and 10,000 output tokens with no caching: each cost is the token count times the published per-million rate. Haiku 5.5’s $0.10 and $0.50 rates apply to prompts up to 100,000 tokens, so its row uses a 90,000-token prompt instead. Rates come from Anthropic’s pricing page and its what’s-new page for Opus 5.5, OpenAI’s GPT-5.5 and GPT-5.5 Pro model pages, and Google’s pricing page.
| Vendor | Model and tier | Rate per million tokens (input / output) | Cost per request |
|---|---|---|---|
| Anthropic | Claude Haiku 5.5 (90,000 in, 10,000 out) | $0.10 / $0.50 | $0.014 |
| Anthropic | Claude Sonnet 5.5 | $2 / $10 | $0.34 |
| Anthropic | Claude Sonnet 5.5, Batch | $1 / $5 | $0.17 |
| Anthropic | Claude Sonnet 5.5, US-only inference | $2.20 / $11 | $0.374 |
| Anthropic | Claude Opus 5.5 | $4 / $20 | $0.68 |
| Anthropic | Claude Opus 5 | $5 / $25 | $0.85 |
| OpenAI | GPT-5.5 | $5 / $30 | $0.90 |
| OpenAI | GPT-5.5 Pro | $30 / $180 | $5.40 |
| Gemini 4 Argon, through November 30, 2026 | $2 / $10 | $0.34 | |
| Gemini 4 Argon, from December 1, 2026 | $4 / $20 | $0.68 |
Batch processing halves Sonnet 5.5 to $1 input and $5 output. Specifying US-only inference through the inference_geo parameter applies a 1.1x multiplier to all token categories on Claude 4.6 and later models, which turns Sonnet 5.5 into $2.20 and $11. Opus 5.5 at $0.68 is 20% below Opus 5 at $0.85 ($4 against $5 on input, $20 against $25 on output) and costs twice Sonnet 5.5’s $0.34. On the OpenAI side, GPT-5.5 at $0.90 costs more than Opus 5.5, and GPT-5.5 Pro at $30 and $180 per million tokens is six times that $0.90 on the same request. Gemini 4 Argon matches Sonnet 5.5’s $0.34 while its introductory rate lasts and doubles to $0.68 from December 1, 2026.
Google’s pricing page also lists a separate Gemini tier with a long-prompt step: $2 input and $12 output per million tokens for prompts up to 200K tokens, and $4 and $18 above that. Input doubles and output rises by half, so the cheapest rate applies only to ordinary-sized prompts. The 120,000-token request priced above sits under that threshold; a prompt that fills a million-token window does not.
Caching changes the picture for agents that resend a large prefix. Sonnet 5.5 charges $2.50 per million to write a five-minute cache entry and $4 for one hour, and $0.10 per million to read; Opus 5.5 reads cost $0.20 and Haiku 5.5 reads $0.01. Measured against each model’s base input price, that is 0.05x for Sonnet 5.5 and Opus 5.5 and 0.1x for Haiku 5.5, so the common “reads cost a tenth” rule of thumb overstates the read cost on the 5.5 Sonnet and Opus rows. On Sonnet 5.5, writing a 100,000-token prefix to the five-minute cache costs $0.25 against $0.20 uncached, and each later read costs $0.01. Anthropic says caching pays off after one read for the five-minute duration and after two reads for the one-hour duration.
Rate cards also hide a tokenizer change. Opus 4.7, launched April 16, 2026 at the same $5 and $25 as Opus 4.6, and every later Claude model use a newer tokenizer that, per Anthropic’s pricing page, “produces approximately 30% more tokens for the same text”. The exact increase depends on content and workload shape, so a rate that stayed flat rose per piece of text.
The same effect is why “$2 against $2” across vendors says little. Anthropic’s 30% is a comparison with its own older tokenizer, so it is not a measure of how OpenAI or Google count the same text. The comparable price is dollars for one identical prompt, which needs each vendor’s own token count and current rate card. Claude and ChatGPT head to head is covered in our Claude vs ChatGPT comparison, and Haiku 5.5 against DeepSeek and Gemini Flash in our Haiku 5.5, DeepSeek and Gemini Flash comparison.
The script below sends one prompt file to the three APIs, caps each reply at 16 tokens and prints the input-token count each vendor reports. Multiply each count by that vendor’s current per-million rate for the price of your own prompt. Send it only a prompt you are allowed to share with all three vendors. The OpenAI and Google model IDs are required environment variables; take them from those vendors’ model pages.
#!/usr/bin/env bash
# Prints the input-token count each vendor reports for the same prompt.
set -euo pipefail
: "${PROMPT_FILE:?path to a text file holding the prompt}"
: "${ANTHROPIC_API_KEY:?}"
: "${OPENAI_API_KEY:?}"
: "${GEMINI_API_KEY:?}"
: "${OPENAI_MODEL:?model ID from OpenAI's model page}"
: "${GEMINI_MODEL:?model ID from Google's model page}"
CLAUDE_MODEL="${CLAUDE_MODEL:-claude-sonnet-5-5}"
WORK="$(mktemp -d)"
trap 'rm -rf "$WORK"' EXIT
PROMPT="$(cat "$PROMPT_FILE")"
# Anthropic
jq -n --arg m "$CLAUDE_MODEL" --arg p "$PROMPT" \
'{model: $m, max_tokens: 16, messages: [{role: "user", content: $p}]}' \
> "$WORK/claude.json"
curl -fsS https://api.anthropic.com/v1/messages \
-H "x-api-key: $ANTHROPIC_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d @"$WORK/claude.json" > "$WORK/claude.out"
echo "anthropic input_tokens: $(jq -r '.usage.input_tokens' "$WORK/claude.out")"
# OpenAI
jq -n --arg m "$OPENAI_MODEL" --arg p "$PROMPT" \
'{model: $m, max_completion_tokens: 16, messages: [{role: "user", content: $p}]}' \
> "$WORK/openai.json"
curl -fsS https://api.openai.com/v1/chat/completions \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "content-type: application/json" \
-d @"$WORK/openai.json" > "$WORK/openai.out"
echo "openai prompt_tokens: $(jq -r '.usage.prompt_tokens' "$WORK/openai.out")"
# Google
jq -n --arg p "$PROMPT" \
'{contents: [{parts: [{text: $p}]}], generationConfig: {maxOutputTokens: 16}}' \
> "$WORK/gemini.json"
curl -fsS "https://generativelanguage.googleapis.com/v1beta/models/${GEMINI_MODEL}:generateContent" \
-H "x-goog-api-key: $GEMINI_API_KEY" \
-H "content-type: application/json" \
-d @"$WORK/gemini.json" > "$WORK/gemini.out"
echo "gemini promptTokenCount: $(jq -r '.usageMetadata.promptTokenCount' "$WORK/gemini.out")"
Divide any two of the printed counts to get the tokenizer ratio for your prompt, the figure a per-token price comparison leaves out.
Context limits and monthly plans: Opus 4.8 and GPT-5.5 reach 1M tokens, Gemini 3.1 Pro 1,048,576, and each vendor’s seat ladder differs
Claude Opus 4.8, launched May 28, 2026, supports a 1M-token context window by default and 128k max output tokens on the Claude API, Amazon Bedrock, Google Cloud and Microsoft Foundry, according to Anthropic’s API release notes. BenchLM lists the same 1M window and a $5 and $25 price for the model. Anthropic’s model overview gives its input and output as “Text and images → text”.
| Limit or plan | Value | Source |
|---|---|---|
| Claude Opus 4.8 context | 1M tokens by default | Anthropic API release notes, linked above |
| Claude Opus 4.8 max output | 128k tokens | Anthropic API release notes, linked above |
| GPT-5.5 API | $5 / $30 per million tokens; 1M-token context in the API, 256K in ChatGPT; 128K max output | OpenAI, GPT-5.5 model page |
| Gemini 3.1 Pro input and output limits | 1,048,576 and 65,536 tokens | Google, Gemini 3.1 Pro model page |
| Claude Haiku 5.5 standard rate | $0.10 / $0.50 per million for prompts up to 100,000 tokens | Anthropic pricing page, linked above |
| Claude Pro plan | $20 per month (US) | Anthropic support |
| Claude Max plan | $100 per month at 5x Pro usage (web subscriptions) | Anthropic support |
| Claude Ultra plan | $200 per month at 10x Pro weekly usage, as of November 14, 2026; the former Max 20x plan, renamed with no price change for existing subscribers | Anthropic support, Ultra plan |
| ChatGPT plans | Plus $20 per month; Pro $100, $200 and $500 per month | OpenAI, ChatGPT release notes |
Gemini 3.1 Pro’s strongest figure here is not a coding score. Google’s Gemini 3.1 Pro announcement reports a verified 77.1% on ARC-AGI-2, an abstract-reasoning test, and calls that “more than double the reasoning performance of 3 Pro”. It sits outside the SWE-bench table above, so it does not move the coding comparison.
The $20 tier is the same on Claude Pro and ChatGPT Plus; the steps above it differ. Claude Max is $100 per month at 5x Pro usage, and Anthropic’s support page says the Max 20x plan is now called Ultra, with no price change for existing subscribers. ChatGPT Pro has $100, $200 and $500 tiers. For how much text each chat plan holds from Claude, ChatGPT and Gemini, see our context window comparison by plan; the two assistants’ wider feature sets are compared in our ChatGPT vs Gemini comparison.
Which model to open first, by job
Sonnet 5.5 is the right first model for an API coding agent. Its $2 and $10 rate is a standing one, its estimated 88.3% is within 0.3 points of Opus 4.8’s 88.6%, and Opus 5.5 costs twice as much per request. That is a reason to start there, not a ranking, because no row in the provenance table scores Sonnet 5.5 and Opus 5.5 on one setup. The price gap also sets a break-even: at $0.68 against $0.34 per attempt, Opus 5.5 matches Sonnet 5.5’s cost per accepted patch only if it gets twice the share accepted, for example 60% against 30%.
| Job | Start with | Reason | Check first |
|---|---|---|---|
| API coding agent on a budget | Claude Sonnet 5.5 | $2 / $10 standing rate, $1 / $5 on Batch, $0.34 per request; 88.3% is an estimate | Whether Batch’s half price fits your workload |
| Hardest multi-file coding, cost secondary | Claude Opus 5.5 | $4 / $20, 20% under Opus 5, $0.68 per request | Whether it lands twice Sonnet 5.5’s share of accepted patches |
| Classification, extraction and routing at volume | Claude Haiku 5.5 | $0.10 / $0.50 for prompts up to 100,000 tokens; $0.014 on the 90,000-token request | Prompt length, since the rate changes above 100,000 tokens |
| Prompts that need a million-token window | Claude Opus 4.8, GPT-5.5 or Gemini 3.1 Pro | Opus 4.8: 1M in, 128k out; GPT-5.5: 1M in the API, 128K out; Gemini 3.1 Pro: 1,048,576 in, 65,536 out | Current price per vendor; BenchLM lists Opus 4.8 at $5 / $25 and GPT-5.5 is $5 / $30; Google’s pricing page lists a higher band above 200K tokens |
| Staying on OpenAI for coding | GPT-5.5, piloted | 80.6% on Epoch’s scaffold is the only same-scaffold figure for it here, OpenAI’s own post says it stopped reporting Verified scores, and the request costs $0.90 | Whether GPT-5.5 Pro’s $30 / $180 earns its price in your pilot; token count from the script |
| Google at the launch rate | Gemini 4 Argon | $2 / $10 through November 30, 2026, then $4 / $20 | Budget at the December 1, 2026 rate |
| One chat seat | The bundle you already use | Claude Pro and ChatGPT Plus are both $20 per month; Claude Max is $100, Claude Ultra $200, ChatGPT Pro $100 to $500 | Whether you hit usage limits before paying for the next step |
To settle a close call, take the last 30 closed issues from your own repository, run each candidate model through the same agent setup, and have a maintainer review every patch rather than relying on the automated grader. Record the input and output tokens from each response’s usage fields, price them at the current rate for that model, and divide total spend by the number of patches the maintainer accepts. The model with the lowest cost per accepted patch is the one to put in production.




