Requesty
Back|NOV '26AI MODELS / MODEL COMPARISONS
7 MIN READ|

Claude vs ChatGPT for developers: API price, speed and coding

Last updated

As of November 2026, Claude Opus 5.5 is the coding accuracy pick in our 129-task benchmark: it solved 92.2% of tasks at $1.01 per solve. GPT-6.1 Sol solved 86.8% at $0.30 per solve. Claude Haiku 5.5 and GPT-6 Luna cost less, at $0.14 and $0.07 per solve, but their solve rates are lower.

ChatGPT is the app; developers access GPT models through the OpenAI API. Below, we put API prices, coding results and production data side by side, then take a short look at app subscriptions.

Opus 5.5 leads on coding accuracy

Claude Opus 5.5 is the accuracy pick in our coding benchmark. GPT-6.1 Sol has a lower cost per solve. If its solve rate is good enough for your work, Claude Haiku 5.5 lowers the cost again.

ModelTasks solvedCost per solve
Claude Opus 5.592.2%$1.01
Claude Fable 5.189.1%$3.90
Claude Sonnet 5.587.6%$0.59
GPT-6 Astra87.6%$2.40
GPT-6.1 Sol86.8%$0.30
GPT-6.1 Terra82.9%$0.19
Claude Haiku 5.581.4%$0.14
GPT-6 Luna65.1%$0.07

Source: Requesty coding benchmark, updated October 29, 2026.

The benchmark has 129 private tasks drawn from our Go backend. Every model gets the same agent, tools and 80 turns. A task counts as solved only when every hidden test and all existing tests pass; our coding benchmark post explains the test setup.

On the 18 extreme-difficulty tasks, the gap widens: Opus 5.5 solved 77.8%, GPT-6.1 Sol solved 66.7%, and Haiku 5.5 solved 55.6%. These results come from one Go codebase, so use them to choose candidates for your own test set. The October benchmark also predates the November releases of Claude Fable 5.2 and GPT-6.2 Astra and Sol.

What does cost per solve buy you?

Divide the published cost per task by the solve rate. That gives $0.93 divided by 92.2%, or about $1.01 per solve for Opus 5.5, and $0.26 divided by 86.8%, or about $0.30 for GPT-6.1 Sol.

Run that across 129 tasks and the published averages come to roughly $120 for Opus and $34 for Sol. The reported solve rates correspond to about 119 and 112 solved tasks, respectively. These totals are estimates calculated from rounded costs per task; our guide to cost per task explains why token prices alone cannot tell you what a completed task will cost.

Verdict

Start with Claude Opus 5.5 when solving the hardest coding tasks is the priority. Test GPT-6.1 Sol when cost per solve carries more weight, and try Claude Haiku 5.5 where its lower solve rate is acceptable.

Claude vs GPT API prices

Several list prices are identical. At November 2026 standard rates, Sonnet 5.5 and GPT-6.1 Sol each cost $2 per million input tokens and $10 per million output tokens. Haiku 5.5 and GPT-6 Luna both start at $0.10 per million input tokens and $0.50 per million output tokens.

ModelInput per 1M tokensOutput per 1M tokens
Claude Fable 5.2$8$40
GPT-6.2 Astra$8$40
Claude Opus 5.5$4$20
Claude Sonnet 5.5$2$10
GPT-6.1 Sol$2$10
GPT-6.2 Sol$2$10
GPT-6.1 Terra$1$5
Claude Haiku 5.5$0.10$0.50
GPT-6 Luna$0.10$0.50

Sources: Anthropic Fable pricing, Anthropic Opus pricing, Claude API pricing, OpenAI API pricing and OpenAI's GPT-6.2 announcement.

These are standard list prices before caching. Haiku's listed rate covers prompts up to 100,000 tokens; above that, input rises to $0.50 and output to $2.50 per million tokens. Anthropic's pricing docs say Claude 4.6 and later models, except Haiku 5.5, include the full 1 million token context window at standard pricing.

OpenAI's pricing page lists separate short-context and long-context rates, and the GPT rows above use the short-context rates. Check the long-context rates if your prompts are large.

Cache rules change the bill

A cache read reuses a previously processed prompt at a lower input price. Sonnet 5.5 cache reads cost $0.10 per million tokens and Opus 5.5 cache reads cost $0.20 per million tokens. Anthropic charges 1.25 times the base input rate for a five-minute cache write and twice the base rate for a one-hour cache write.

For GPT-6.1 Sol, cached input costs $0.10 per million tokens, according to OpenAI's pricing page. The text you send changes the comparison too: Anthropic says Claude 4.7 and later models use a tokenizer that produces about 30% more tokens for the same text than Anthropic's previous tokenizer. Run your own prompts through each model and compare cost per request.

What developers spend in production

Our rankings cover September 21 to November 23, 2026. Opus 5.5 accounted for 10.3% of tokens and 29% of spend; GPT-6.1 Sol accounted for 4.6% of tokens and 5.1% of spend.

ModelShare of tokensShare of spendBlended cost per 1M tokens
Claude Opus 5.510.3%29.0%$1.12
GPT-6.1 Sol4.6%5.1%$0.44
GPT-6 Luna10.9%2.0%$0.07
Platform-wide100%100%$0.40

Source: Requesty rankings, September 21 to November 23, 2026.

Add the published Anthropic rows and you get about 23.0% of tokens and 57.1% of spend. The published OpenAI rows total about 21.0% of tokens and 13.5% of spend.

Blended cost combines the traffic in the rankings, so it differs from the list price of an input or output token. The platform-wide cache hit rate was 79.5%, and caching removed 76.4% of the bill.

Request sizes differ as well. Opus averaged 39,176 tokens and $0.0440 per request, while GPT-6.1 Sol averaged 82,225 tokens and $0.0362 per request. Those production averages describe the different requests sent to each model.

Which API is faster?

Claude Sonnet 5.5 generated a median 198 output tokens per second for streaming responses in our production rankings, compared with 71 for GPT-6.1 Sol. Its median time to first token (TTFT, the wait before the response starts) was lower too.

ModelMedian TTFTMedian output tokens per second
Claude Opus 5.53,678 ms143
Claude Sonnet 5.52,723 ms198
Claude Haiku 5.52,045 ms249
GPT-6.1 Sol3,888 ms71
GPT-6.1 Terra2,673 ms122
GPT-6 Luna1,852 ms107

Source: Requesty rankings, September 21 to November 23, 2026. Output speeds are for streaming responses.

These are production measurements across different requests. In the separate coding benchmark, Opus and Sonnet each averaged 9.5 minutes per task, while GPT-6.1 Sol averaged 11.5 minutes. The benchmark page notes that some providers exclude hidden reasoning from output token counts, which makes GPT throughput read lower than the work done.

What about ChatGPT and Claude subscriptions?

For individual app users, ChatGPT Plus and Claude Pro each cost $20 per month. Claude Pro also has an annual option at $17 per month, billed as $200 up front.

Claude's pricing page lists Claude Code as part of Pro. Claude API usage through the Console is billed separately from Claude plans.

Average monthly spend per Claude Code user in Requesty's October 2026 data was $131; OpenCode users averaged $44. For team budgets, see our guide to managing Claude Code and other coding tool costs.

Test both on your own tasks

Take a set of coding tasks from your own repository and run them through Opus 5.5, GPT-6.1 Sol and a lower-cost model. Track the share that passes your tests, cost per solve and time per task. If your application uses caching, include long prompts and repeat runs.

Requesty
Compare models through one API

We provide an OpenAI-compatible API for Claude and GPT models at https://router.requesty.ai/v1. Test the models through the same integration, then configure routing and failover. See Requesty pricing for the 5% charge on top of model costs.

Frequently asked questions
Is Claude or ChatGPT better for coding?
In Requesty's 129-task Go coding benchmark, Claude Opus 5.5 solved 92.2% of tasks at $1.01 per solve. GPT-6.1 Sol solved 86.8% at $0.30 per solve. The benchmark was updated in October 2026. Source: https://www.requesty.ai/coding-benchmark
How much do the Claude and GPT APIs cost?
In November 2026, Claude Sonnet 5.5 and GPT-6.1 Sol each cost $2 per million input tokens and $10 per million output tokens at standard list prices. OpenAI lists separate long-context rates, while Sonnet 5.5 keeps standard pricing across its 1 million token context window. Sources: https://platform.claude.com/docs/en/about-claude/pricing and https://developers.openai.com/api/docs/pricing
Is there a ChatGPT API?
ChatGPT is an app. Developers use the OpenAI API to access GPT models and pay according to the model and tokens used. Source: https://developers.openai.com/api/docs/pricing
How much does Claude Code cost?
Claude Pro costs $20 per month, or $17 per month with annual billing, and includes Claude Code. Claude API usage is billed separately from Claude plans. Requesty's observed average monthly spend per Claude Code user in October 2026 was $131. Sources: https://claude.com/pricing, https://support.claude.com/en/articles/9876003-why-is-claude-api-usage-billed-separately-from-my-paid-claude-plan and https://www.requesty.ai/data/coding-agent-cost-per-user-may-2025-oct-2026
Which is faster, Claude or GPT?
In Requesty's production rankings for September 21 to November 23, 2026, Claude Sonnet 5.5 had a median time to first token of 2,723 ms and a median output speed of 198 tokens per second for streaming responses. GPT-6.1 Sol had a median time to first token of 3,888 ms and a median output speed of 71 tokens per second for streaming responses. Source: https://www.requesty.ai/rankings
Related reading

Start building with Requesty

One line of code. 600+ models. Full control.

Speak to founders