DeepSeek V4 vs Claude vs GPT-5: Which AI Coding Model Should Developers Use in 2026?

Quick answer. For pure SWE-bench Pro top score and 1M-context agentic coding, pick Claude Opus 4.7. For longest-horizon swarm runs, pick Kimi K2.6 — open-weight and roughly 8x cheaper. For broad reasoning + Codex/CLI tooling, GPT-5.5. For commodity-priced inference at frontier-adjacent quality, DeepSeek V4 Pro. Choose per workload, not per brand.

Between April 16 and April 24, 2026 — a ten-day window — every major lab shipped a step-change model: Anthropic's Claude Opus 4.7, Moonshot AI's Kimi K2.6, OpenAI's GPT-5.5 and 5.5 Pro, and DeepSeek's V4 Pro and V4 Flash. The previous three-way "DeepSeek V4 vs Claude vs GPT-5" framing this article used at publish time is now obsolete. The frontier is four-way, and Kimi K2.6 is the first open-weight model to credibly land in it.

This refresh compares the four on the things engineering teams actually care about in May 2026: SWE-bench Pro and Terminal-Bench 2.0 numbers, real per-task cost on agentic loops, 1M-token behaviour, self-hosting paths, and the API quirks that bite during integration. We also flag a hard migration deadline that affects DeepSeek users on July 24, 2026.

Want the full picture? Read our continuously-updated Claude Opus 5 launch guide — Anthropic's new near-frontier model (launched July 24, 2026) with benchmarks, pricing, the effort toggle, and how it compares to Fable 5, GPT-5.6 and Opus 4.8.

Want the full picture? Read our continuously-updated DeepSeek V4 cost breakdown — how DeepSeek Flash ($0.15/$0.60 off-peak) and V4-Pro compare on price and coding to Claude Opus 5, GPT-5.6, Kimi K3 and Gemini 3.5, with real monthly-bill math.

What changed in April 2026?

Four shipped in ten days. Each is a non-trivial generation jump over the prior model in its family.

  • Apr 16 — Claude Opus 4.7 (Anthropic). 1M-token context. Adaptive thinking is now the only thinking mode. First Claude model with high-resolution vision (up to 2576px / 3.75 MP, up from 1568px / 1.15 MP). Same headline price as Opus 4.6: $5/M input, $25/M output, with up to 90% savings on prompt caching.
  • Apr 20 — Kimi K2.6 (Moonshot AI). 1T-parameter MoE with 32B active per token, native INT4 weights via quantization-aware training. Scales an Agent Swarm to 300 sub-agents across 4,000 coordinated steps in a single run. Open-weight under a modified MIT licence. Hits 58.6 on SWE-bench Pro — tying GPT-5.5 and beating Claude Opus 4.6.
  • Apr 24 — GPT-5.5 and GPT-5.5 Pro (OpenAI). 1M-token context. GPT-5.5 at $5/M input and $30/M output; GPT-5.5 Pro at $30/M input and $180/M output (see our GPT-5.5 complete guide for the full rundown). Cached input drops to $0.50/M. On Artificial Analysis's Intelligence Index v4.3.2 (captured 5 October 2026) GPT-5.5 (Xhigh) scores 38.36. It is no longer the highest published — Claude Opus 5 (Max) is at 50.78 and GPT-5.6 Sol (Max) at 46.97 on the same index version. Scores near 60 for GPT-5.5 are Index v4.1.1 figures; AA rebased the basket for v4.3.2 with no conversion factor, so the two scales cannot be mixed.
  • Apr 24 — DeepSeek V4 Pro and V4 Flash (DeepSeek). V4 Pro is a 1.6T-parameter MoE with 49B active; V4 Flash is 284B with 13B active (full breakdown in our DeepSeek V4 complete guide). Both are 1M context, both MIT-licensed and downloadable on Hugging Face. V4 Pro now bills at $0.66/M input cache-miss and $1.98/M output off-peak, doubling at peak (01:00–04:00 and 06:00–10:00 UTC, weekdays) since 2026-08-16; the $0.435/$0.87 flat rate quoted at publish time is retired. Rates per api-docs.deepseek.com and HN 48237663) — more than an order of magnitude below the frontier US labs. The catch: legacy deepseek-chat and deepseek-reasoner aliases retire on July 24, 2026, 15:59 UTC.

The strategic shift this represents: a year ago a serious 4-way comparison would have been awkward because the open-weight contenders weren't really at the frontier. As of this refresh, they are.

Which model wins on raw coding benchmarks?

Coding benchmark numbers move weekly as labs publish runs at different effort tiers. The snapshot below uses each lab's published top-effort score on SWE-bench Pro (the harder, multi-language, industrially representative cousin of SWE-bench Verified) and the public Terminal-Bench 2.0 leaderboard.

Model SWE-bench Pro SWE-bench Verified Terminal-Bench 2.0 Open weights?
Claude Opus 4.7 (adaptive, max) 64.3% ~87.6% 69.4% No
GPT-5.5 (xhigh) 57.7% ~85.0% 82.0% No
Kimi K2.6 58.6% 80.2% Mid-pack (snapshot) Yes (MIT-style)
DeepSeek V4 Pro ~55% 83.7% Mid-pack Yes (MIT)

Three observations worth keeping in mind before reading too much into a single column:

  1. Opus 4.7 takes SWE-bench Pro decisively. The 53.4 to 64.3 jump from 4.6 to 4.7 is the largest single-version improvement Anthropic has published, and it pulls ahead of the rest of the field by 6+ points.
  2. GPT-5.5 dominates Terminal-Bench 2.0. The terminal-execution benchmark rewards careful tool use and recovery from mistakes — that is a harness skill, not a general-intelligence edge: on Artificial Analysis's Intelligence Index v4.3.2 (October 2026) Claude Opus 4.7 (Max) is actually ahead of GPT-5.5 at 40.69 against 38.36, with DeepSeek V4 Pro 0813 (Max) at 36.00 and Kimi K2.6 at 26.98. An earlier version of this article had the ordering the other way round, off the pre-rebase v4.1.1 figures (60 / 57 / 54). Read GPT-5.5's Terminal-Bench lead as terminal-specific competence.
  3. Kimi K2.6 ties GPT-5.5 on SWE-bench Pro at a fraction of the cost. This is the most consequential result for budget-constrained teams; we treat it as a hard data point in the cost section below.

None of these numbers are "the truth" — they're each lab's most favourable public run. Treat the relative ordering as informative, not the absolute deltas.

Which model is cheapest for agentic coding loops?

Benchmark scores are interesting; cost-per-completed-task is what shows up on a finance review. Below is a back-of-envelope cost comparison for a single agent task that consumes 80K input tokens (system prompt + tool outputs + repo context) and emits 20K output tokens (plan + tool calls + final patch) — a realistic "diagnose a flaky test across three files and ship a fix" loop. (DeepSeek V4 Pro figures use the rates live since 2026-08-16: $0.66 / $1.98 per 1M off-peak, doubling at peak.)

Model Input cost / M Output cost / M Cached input / M Task cost (80K in + 20K out, no cache) Task cost (90% cache hit on input)
Claude Opus 4.7 $5.00 $25.00 $0.50 $0.90 $0.54
GPT-5.5 $5.00 $30.00 $0.50 $1.00 $0.64
GPT-5.5 Pro $30.00 $180.00 $3.00 $6.00 $3.84
Kimi K2.6 (Moonshot API) $0.60 $2.50 $0.15 $0.098 $0.061
DeepSeek V4 Pro (official API, off-peak) $0.66 $1.98 $0.022 $0.093 $0.047

For a single task the absolute dollar amounts are trivial, but agentic loops don't run once. A team firing 5,000 such tasks per day (a realistic number once you wire agents into CI, code review, and on-call) lands somewhere around:

  • Opus 4.7 at 90% cache hit: ~$2,700/day ($81K/month)
  • GPT-5.5 at 90% cache hit: ~$3,200/day ($96K/month)
  • Kimi K2.6 via Moonshot API at 90% cache hit: ~$305/day ($9.2K/month)
  • DeepSeek V4 Pro via official API at 90% cache hit: ~$233/day off-peak (~$7.0K/month), ~$465/day at peak (~$14K/month)

The roughly 9x-to-12x gap between the US-frontier APIs and the open-weight Chinese-lab APIs is still the single largest variable in 2026 agentic-coding economics — though it is a 9–12x gap now, not the 25–30x that held before DeepSeek's August 2026 price rise. If you want the bigger multiple back, the deepseek-flash tier at $0.15/$0.60 off-peak is where it lives. It does not mean the cheap models are always the right answer — Opus 4.7's SWE-bench Pro lead is real and matters for hard tasks. But for high-volume loops where the marginal task is medium-difficulty, the cost gap is hard to argue with.

How does each handle 1M tokens in practice?

All four models advertise a 1M-token context window. In practice they behave quite differently at long context.

  • Claude Opus 4.7. Anthropic charges no long-context premium — the full 1M window prices at the base rate. Combined with adaptive thinking, this is the most "just use the whole window" setup of the four. Caveat: agentic loops that grow context over a long run tend to suffer recall drift around the 600K–800K mark; structure your prompts to keep load-bearing facts inside the most recent 200K when possible.
  • GPT-5.5. OpenAI applies a long-context surcharge: prompts above 272K input tokens are billed at 2x input and 1.5x output for the entire session. This is a sharp cliff — staying under 272K is usually worth the engineering effort, especially when 5.5's cache pricing already makes incremental tool-call patterns cheap.
  • Kimi K2.6. 1M-context support with the same headline pricing across the window. Realistic field reports show good recall through ~500K and noticeable degradation beyond that. The Agent Swarm architecture compensates by spinning off sub-agents with locally-relevant context rather than dragging one giant prompt forward.
  • DeepSeek V4 Pro. 1M-context at the same headline price, but the official API enforces tighter rate limits on long-context requests. Self-hosted V4 Pro behaves better here; the API is best used for shorter-context, high-throughput patterns.

Practical takeaway: don't pick a model by quoted context length. Pick it by how it behaves at the context length your workload actually hits, and assume some recall drift beyond ~50% of the advertised window for every model.

Which is best for self-hosted or private deployment?

Of the four, two are API-only and two are open-weight:

  • Claude Opus 4.7 — API only. Available via Anthropic, Amazon Bedrock, Google Cloud Vertex AI, and Microsoft Foundry. No self-hosting path.
  • GPT-5.5 / GPT-5.5 Pro — API only. Available via OpenAI, Azure OpenAI, and Microsoft's Foundry. No self-hosting path.
  • Kimi K2.6 — open-weight on Hugging Face under a modified MIT licence. Native INT4 weights total ~594 GB; you need roughly 4x H100 (320 GB) at reduced context or 8x H100/H200 for full 1M-context production use. Self-hosting becomes economically interesting above roughly 50M tokens/day of traffic versus the API.
  • DeepSeek V4 Pro / V4 Flash — open-weight under MIT. V4 Flash (13B active) is far easier to host — a single H100 80GB handles it at reasonable context lengths, making it the realistic choice for teams that need air-gapped inference. V4 Pro is a different class: 49B active means 4x H100 minimum for production, 8x for headroom.

If "the weights must live on infrastructure we control" is a hard requirement (regulated data, sovereign-cloud compliance, on-prem mandate), the choice collapses to Kimi K2.6 or one of the DeepSeek V4 variants. Of those, V4 Flash is the only option a single team can realistically run on one node; the other two require multi-GPU production setups.

Companion guide

For Claude Opus 4.7 depth — capabilities, pricing, comparisons — see our Claude Opus 4.7 complete guide for 2026.

What API quirks does each model have?

The headline behaviour is one thing; the integration quirks are what actually cost engineering time. Worth pre-loading before you wire any of these into a production loop.

  • Claude Opus 4.7 — thinking.type must be adaptive. Manual thinking budgets, supported on Opus 4.6 and earlier, are no longer accepted. Code that sets thinking.type = "enabled" with a fixed budget_tokens will reject at the API. Migration is mechanical (swap to thinking.type = "adaptive") but it is a breaking change. Vision inputs also now accept high-resolution images up to 2576px — re-tune any resize pipelines that previously clamped at 1568px.
  • GPT-5.5 — caching tiers and long-context cliff. Cached input is $0.50/M (90% off list) but only applies on prefixes that match exactly and are reused inside the cache TTL. The 272K-token long-context surcharge applies to the whole session, not just the over-the-line request — so the standard "always pad context to maximise tool memory" pattern gets expensive fast. Batch and Flex tiers exist at half price for non-interactive workloads.
  • Kimi K2.6 — Agent Swarm config is non-obvious. The 300-sub-agent, 4,000-step ceiling is per autonomous run, not per request. The orchestration layer needs explicit max-step and max-fanout settings or sub-agents will silently cap at K2.5 limits. Native INT4 weights mean you do not need any extra quantization tooling — just load them as-is. For self-hosted deployments, vLLM and SGLang both have official support; KTransformers is the budget path on smaller GPUs.
  • DeepSeek V4 Pro — reasoning_content on multi-turn. Reasoning models emit a separate reasoning_content field alongside content. Sending that field back as part of message history on the next turn produces a 400 error on most OpenAI-compatible clients. Strip reasoning_content before re-sending. Also: legacy endpoint aliases deepseek-chat and deepseek-reasoner retire July 24, 2026 — migrate to the V4-prefixed names before then.

When should you pick which model?

The honest answer is that any team running serious agentic coding in May 2026 should have at least two of these four configured behind a router, with the choice made per task. As a starting decision matrix:

Use case First choice Why
Hard SWE-bench-Pro-style fix on production code Claude Opus 4.7 Top score on the hardest mainstream coding benchmark; adaptive thinking pays off on hard tasks
Long-horizon agent run (hours, multi-file refactor, doc + test + deploy) Kimi K2.6 300-sub-agent swarm with 4,000-step coordination; tied with GPT-5.5 on Pro at 1/8 the cost
Terminal- or CLI-heavy task, broad reasoning + tool use GPT-5.5 Highest published Terminal-Bench 2.0 score (82.0%); strong but no longer leading AA Intelligence Index (38.36 on v4.3.2)
High-volume mid-difficulty agent tasks where cost dominates DeepSeek V4 Pro Frontier-adjacent quality at roughly 10% of US-frontier API cost
Air-gapped / sovereign / regulated deployment, single-node hosting DeepSeek V4 Flash 13B active params, MIT-licensed, fits on one H100 80GB at usable context lengths
Open-weight production at frontier quality, willing to run multi-GPU Kimi K2.6 Best open-weight SWE-bench Pro score; native INT4 reduces hardware requirements meaningfully
Strategic planning, architectural review, exploratory reasoning GPT-5.5 Pro Highest reasoning ceiling at 5x the cost of 5.5 — reserve for high-leverage thinking work

In practice, most teams we work with end up running Opus 4.7 as the default coding driver, with Kimi K2.6 or DeepSeek V4 Pro as the bulk-volume tier for routine tasks, and GPT-5.5 reserved for terminal-execution or reasoning-heavy work. The split is workload-dependent; what matters is that the router exists.

What happened to deepseek-chat and deepseek-reasoner?

They are gone. DeepSeek retired the legacy deepseek-chat and deepseek-reasoner endpoint aliases at 15:59 UTC on 24 July 2026, and calls to those names now fail. The current SKU list is just two entries: deepseek-flash (running DeepSeek-V4.1-Flash) and deepseek-v4-pro (resolving to V4-Pro-0813). Note that deepseek-v4-flash and deepseek-v4-flash-vision-exp have since been retired too — those names still resolve, but the requests are served by V4.1-Flash at Flash pricing. If you are still on an old alias, the migration is:

  1. Identify every codepath calling deepseek-chat or deepseek-reasoner — including third-party libraries that hardcode them.
  2. Decide whether each call should move to deepseek-v4-flash (cheap, fast, smaller) or deepseek-v4-pro (frontier-adjacent, more expensive).
  3. Strip reasoning_content from any retained chat history before re-sending; the multi-turn 400 error is the most common migration footgun.
  4. Re-test rate limits — V4 Pro on the official API has tighter per-key throughput than the legacy aliases did.
  5. Set up a monitoring alert for 404 / "model not found" responses for the two-week window around July 24, 2026.

If any of this is still unmigrated, it is already failing in production rather than waiting to.

Want help shipping this stack?

If your team is wiring any of these four models into production agentic coding — multi-model routing, prompt-cache hit-rate optimisation, self-hosting Kimi or DeepSeek on your own GPUs, or working around the DeepSeek July 24 migration — Codersera has vetted remote engineers who have already shipped this exact pattern at production scale. We can extend your team in a week or two with people who know the API quirks above first-hand, so you spend your senior engineering capacity on product, not on integration footguns.

FAQ

Which model is best for coding in May 2026?

For SWE-bench Pro top scores Claude Opus 4.7 leads; for Terminal-Bench 2.0 GPT-5.5 leads; for cost-per-task the open-weight Kimi K2.6 and DeepSeek V4 Pro lead by roughly an order of magnitude. There is no single winner — the right answer is to route per task.

Is Kimi K2.6 actually tied with GPT-5.5 on coding?

On SWE-bench Pro, yes — Kimi K2.6 scores 58.6 against GPT-5.5's 57.7. On Terminal-Bench 2.0 and on Artificial Analysis's Intelligence Index v4.3.2 (38.36 against Kimi K2.6's 26.98), GPT-5.5 still leads. The "tied on coding" framing is accurate specifically for SWE-bench-style benchmarks, not for general reasoning.

What replaced deepseek-chat and deepseek-reasoner?

Both aliases were retired at 15:59 UTC on 24 July 2026 and now fail. Point calls at deepseek-flash (DeepSeek-V4.1-Flash, $0.15 / $0.60 per 1M off-peak, vision-capable) or deepseek-v4-pro (V4-Pro-0813, $0.66 / $1.98 off-peak), and strip the reasoning_content field from chat history on multi-turn calls. The intermediate deepseek-v4-flash name has itself been retired since and routes to V4.1-Flash.

Can I self-host Claude Opus 4.7 or GPT-5.5?

No. Both are API-only via their parent providers and cloud partners (Bedrock and Vertex for Claude; Azure OpenAI and Microsoft Foundry for GPT-5.5). For self-hosted or air-gapped deployments the realistic choices are Kimi K2.6 or DeepSeek V4 Pro / Flash.

How much does a typical agentic coding task cost on each?

For an 80K-input / 20K-output task with 90% cache hit on input: roughly $0.54 on Opus 4.7, $0.64 on GPT-5.5, $0.061 on Kimi K2.6 via Moonshot's API, and $0.047 on DeepSeek V4 Pro off-peak ($0.093 at peak) on the rates live since 2026-08-16. At 5,000 such tasks per day that compounds to $7K–$96K per month depending on model choice.

Does Claude Opus 4.7 break existing thinking code?

Yes if you used manual thinking budgets. Opus 4.7 only supports thinking.type = "adaptive"; the previous thinking.type = "enabled" with a fixed budget_tokens is rejected. Migration is a one-line change but every codepath that explicitly set a thinking budget must be updated.

Which of the four handles 1M context best?

Claude Opus 4.7 is the easiest to use at long context because there is no long-context surcharge and the whole 1M window prices at the base rate. GPT-5.5 applies a 2x input / 1.5x output surcharge to the entire session above 272K tokens, which makes "always use the whole window" expensive. Kimi K2.6 and DeepSeek V4 Pro both support 1M but show more recall drift past ~500K in field reports.