Quick verdict (checked November 21, 2026): Opus 5.5 scores higher in Cognition’s FrontierCode 2.0 repository-maintenance table. GPT-6 Astra scores higher in the cited ViBench 2.0 app-building evaluation, with a higher reported cost per task. Use each result to choose a model to test on the matching kind of work. For new web apps, also include GPT-6.1 Sol: the same cited ViBench run reports a higher score and lower task cost than either model in this table. The model scores come from published evaluations. Our local test below checks two editor-written patches.

OpenAI released the GPT-6.2 family on November 17. Scores for GPT-6 Astra refer to that named model and the cited October runs. See our GPT-6 family comparison for coverage of the newer models. OpenAI API changelog.

First, what this article is — and is not

The benchmark sources are Cognition’s October 27, 2026 announcement, Artificial Analysis’ separate FrontierCode evaluation, and Replit’s ViBench results on Fireworks’ index, updated October 28. Model specifications and prices come from the vendors’ documents linked below. We rechecked the benchmark and model sources on November 21, 2026.

This is a comparison of published evidence, not a report of first-hand model tests. We keep each evaluator’s scores, settings, and costs together. FrontierCode’s rubric score and ViBench’s pass@1 measure different outcomes; their percentages should not be averaged, and a cost from one cannot establish the cost of the other workload.

Who this comparison is for

Use this comparison to shortlist a model for one of two jobs:

  • Changing an existing repository: fixing a bug or adding a feature while preserving the codebase’s conventions and existing behavior.
  • Building a new web application: turning a product description into working features and checking them in a browser.

The model and the product around it are separate choices. Claude Code, Codex, and coding editors supply their own tools and workflows. Our Cursor vs Devin Desktop comparison covers the editor decision; the results below do not measure those products against each other.

The two models at a glance

Swipe or scroll horizontally to view all columns.

SpecificationClaude Opus 5.5GPT-6 Astra
Model IDclaude-opus-5-5gpt-6-astra
Vendor positioningLong-running agentic coding and knowledge workComplex reasoning, coding, and demanding professional work
Context window1M tokens; 128K max output in the standard API1,050,000 tokens; 128K max output
Reasoning controllow, medium, high, xhigh, max; default medium. Adaptive thinking stays on.reasoning.effort: low, medium, high, xhigh, max
Standard API price per 1M tokens$4 input / $20 output$10 input / $50 output, before long-context modifiers
Knowledge cutoffJune 2026April 30, 2026
Sources: Claude Opus 5.5 specifications, Claude effort controls, and GPT-6 Astra specifications. Checked November 21, 2026. The context window and maximum output are different limits; this table does not infer a fixed maximum input by subtracting them.

Both models offer five effort levels. Matching names such as medium do not establish equal computation or token usage across vendors. Record the actual settings when comparing results.

FrontierCode 2.0: the maintenance benchmark

FrontierCode evaluates changes to real open-source repositories against maintainer-defined requirements. Its score combines rubric criteria; a failed blocking criterion gives an attempt zero. Read it as a measure of the requested change’s mergeability under that evaluation, not a simple percentage of tasks completed. Cognition explains the task design and scoring.

Cognition’s own results (published October 27, 2026)

Swipe or scroll horizontally to view all columns.

ModelFrontierCode 1.1FrontierCode 2.0
Claude Opus 5.554.6%47.3%
GPT-6 Astra53.3%44.0%
Cognition’s announcement reports each model at its best-performing reasoning effort. This is not a matched-default-settings comparison.

Cognition’s current table puts Opus 3.3 percentage points ahead under its chosen settings. Test your own maintenance task before changing models.

Artificial Analysis’ independent run

Artificial Analysis runs the same 132 FrontierCode 2.0 tasks three times each in the Stirrup harness, with a 500-turn cap and GPT-6 Luna medium as judge. Its results belong to that setup. The head-to-head numbers above are from Cognition’s own table, where the scores share one source. Artificial Analysis methodology.

ViBench 2.0: the build-a-web-app benchmark

Replit’s ViBench methodology describes 17 apps—8 public and 9 held out—built feature by feature. It defines 241 feature stages and 544 browser test plans. Official scores average four builds per app; pass@1 requires every plan for an app build to pass. Builders use one OpenHands-based harness and medium effort, with documented model-specific differences such as the editing tool. This is not a comparison of Claude Code and Codex.

Swipe or scroll horizontally to view all columns.

Model (all at medium effort)Score (pass@1)Cost (USD / task)Duration (sec / task)
GPT-6.1 Sol (OpenAI)64.7%$12.3410,680
GPT-6 Astra (OpenAI)60.3%$89.9211,880
Claude Opus 5.5 (Anthropic)48.5%$23.054,380
Claude Sonnet 5.5 (Anthropic)19.1%$4.361,560
Excerpt from Replit’s results on Fireworks’ index, updated October 28, 2026. Costs and durations belong to this run; they are not subscription prices or estimates for every coding task.

These scores describe the stated apps, harness, model settings, and repeated builds. They are not success probabilities for an arbitrary project, and another run may differ; we do not infer a confidence interval or statistical significance from the displayed point scores. See the official methodology for the evaluation design.

Astra is ahead of Opus by 11.8 percentage points here, at about 3.9 times the reported cost. Its 11,880 seconds is 3 hours 18 minutes, versus 73 minutes for Opus. The table also gives a useful counterexample to choosing only between these two: Sol scores higher at a lower cost in this evaluation.

Costs: three different questions, three different answers

Keep the token rate, the cost of a measured run, and product subscription charges separate.

Layer 1 — API token prices (the list rate)

Astra’s standard input and output rates are 2.5 times Opus 5.5’s. Other billing conditions matter:

  • Opus 5.5: standard cache reads cost $0.20 per million tokens. Batch processing has separate discounted rates: $2 input and $10 output. The full 1M context window uses standard per-token pricing; there is no long-context surcharge for this model. See Anthropic’s pricing conditions.
  • Astra: standard cached input costs $1 per million tokens. Batch and Flex cost 50% of Standard rates. For prompts above 272K input tokens, the full request uses 2× input and cache rates and 1.5× output rates. See Astra’s pricing notes and the API price list.

These are conditions, not an estimate of your bill. Token categories, caching, selected processing mode, and chargeable tools must be included when estimating a real run.

Layer 2 — what benchmark tasks actually cost

ViBench reports a larger cost ratio than the standard token-rate ratio. Both models used medium effort. Its summary table does not isolate how token usage, caching, or other execution details caused that gap. Longer elapsed time alone does not establish which billing component increased.

Cognition defines its own cost as mean spend per rollout at list API pricing, including public discounts. We do not quote exact FrontierCode costs here. Use costs from the same evaluation when assessing that evaluation’s trade-off; ViBench costs cannot establish the price of repository maintenance.

Layer 3 — subscriptions and credits

Claude Code: individual Pro, Max, and Ultra subscriptions provide access, with usage shared across Claude and Claude Code. Pro and Max have five-hour and weekly limits; verified Ultra accounts have no five-hour limit, but weekly limits remain. Check current plan prices and the account-specific limits and credit options. Subscription usage credits and Console API billing are different routes.

Codex: ChatGPT-plan access, included usage, purchased credits, and API-key usage have different billing rules. Model availability and the amount you can use depend on your plan and workspace. The current pricing page lists Astra usage estimates for Plus and Standard Business; those estimates are not fixed task counts. Check the official Codex pricing and usage page and your account before purchasing. API token prices do not determine how many tasks a subscription includes.

Swipe or scroll horizontally to view all columns.

Cost layerWhat it answersOpus 5.5 vs GPT-6 Astra (checked Nov 2, 2026)
API list rateWhat does token usage cost?$4/$20 vs $10/$50 per 1M input/output tokens at the stated standard rates; modifiers apply.
Measured cost per taskWhat did a published run cost?$23.05 vs $89.92 in the cited ViBench run. This does not price a maintenance task.
SubscriptionWhat access and usage does a product plan include?Check the selected plan, account limits, and additional-credit rules separately from API rates.

Trade-offs: which model for which job

  • Repository maintenance: the cited FrontierCode scores support trying Opus first. They do not establish what your task will cost or whether its change will pass your review.
  • New web applications: Astra’s ViBench result supports including it in a pilot if the reported cost trade-off is relevant to you. Include a lower-cost candidate such as Sol rather than assuming the more expensive model is necessary.
  • Budget-sensitive work: measure the total cost of reaching an accepted result, including failed attempts and follow-up corrections. Neither a token-rate comparison nor one benchmark determines that cost for you.
  • Long inputs: account for the vendors’ different long-context rules. Opus’s standard rates across its context window are a billing advantage for otherwise comparable long requests, not proof that an entire agent workflow will cost less.

Treat these results as a shortlist for your workload. A model’s output still needs the same tests, factual checks, and human review you would apply to any proposed change.

Run your own small check before you switch

Set a time and spending limit, then write down a small task and what should still work after the change.

  1. Define success first. Write one task brief and fixed acceptance criteria. Include the required behavior, tests to run, files that should stay unchanged, and a stopping rule.
  2. Give each attempt the same starting point. Use a fresh copy of the same repository revision, or the same empty starter project. Start a new conversation; do not give the second model the first model’s solution.
  3. Record the actual setup. Save the model ID, product or harness version, explicit effort setting, prompt, available tools, and relevant permissions. Keep these comparable where possible. If you use Claude Code for one run and Codex for the other, label it a product-plus-model comparison rather than a controlled model-only test.
  4. Apply the same review. Run the same acceptance checks and inspect the changes. Record failures, corrections, elapsed time, and available usage or billing records. If the product only reports credits or allowance usage, do not invent an API-dollar cost.
  5. Keep the conclusion proportional. One task is a starting observation. If it matters to a purchase decision, repeat with fresh copies and more representative tasks before generalizing.

For a first website, our four-step Basic walkthrough helps you request a page, open the result, describe a fix, and keep the files. The AI Finder’s build filter connects you to relevant products. Their interfaces and model access differ; the guide is not a claim that all product workflows were tested.

An acceptance check we ran on an event filter

For a maintenance pilot, give each agent the same small request. Add a Sunday filter that hides canceled events, keep canceled events visible in the existing All filter, and return an empty list for a day with no events.

We ran three assertions in Node.js on two example patches we wrote. Both returned the right Sunday and Friday lists. The first patch removed canceled events from every list, so it broke All. The second applied that rule only to day-specific filters and passed all three checks.

Swipe or scroll horizontally to view all columns.

Acceptance checkPatch 1
Remove canceled events everywhere
Patch 2
Apply the rule to day filters
Sunday shows the active workshopPassPass
All keeps the canceled eventFailPass
Friday returns an empty listPassPass
AI Tool Radar tested editor-written patches against the same three fictional events. The model comparisons above are published benchmark results.

Put the All filter on the checklist before comparing agents. The main change can work while a neighboring behavior breaks. Review time to find and fix that regression belongs in your comparison too.

If your API use were 50,000 uncached input tokens and 10,000 output tokens, the standard listed rates would give $0.40 for Opus 5.5 and $1.00 for GPT-6 Astra. That example assumes identical usage and excludes fees for tools. Record the billed usage for each real pilot. Opus 5.5 rates · GPT-6 Astra rates.

Frequently asked questions

Is Claude Opus 5.5 better than GPT-6 Astra for coding?

Opus scores higher in the two cited FrontierCode evaluations; Astra scores higher in the cited ViBench evaluation. They test different work. Use the matching result to choose a pilot candidate, then check it on your own tasks.

Why does GPT-6 Astra cost more if its API price is only 2.5× higher?

A token rate and a complete run’s cost are different quantities. The ViBench cost ratio is about 3.9×, but both models used medium effort. Its aggregate table does not establish why the ratio differs; token-level billing and execution records would be needed to attribute the gap. See ViBench’s recorded settings.

Can I use these models in Claude Code or Codex without paying API prices?

Subscription access may cover usage within your account’s allowance, subject to model availability and plan rules. Additional credits and API-key billing are separate. Verify the current Claude Code limits or Codex access and pricing; a subscription does not imply unlimited use of a model.

When were these numbers last verified?

We rechecked the linked benchmarks and model documentation on November 21, 2026. Cognition’s announcement is dated October 27 and the Fireworks-hosted ViBench table October 28. Our event-filter fixture ran in Node.js with editor-written patches. The model scores and per-task prices come from the named evaluators. Recheck the source pages and your account’s terms before a purchase or a large run.

← Back to Comparisons
Tech Guides
Turn a PDF Into Editable Markdown With Docling ↗