LLM API Guide

GPT-6 Astra reasoning_effort API Cost per Task: Low to Max Benchmarked

Compare GPT-6 Astra API cost per task and BenchCAD accuracy across all five reasoning_effort tiers (low, medium, high, xhigh, max), with routing and token cap strategies.

Summary

  1. GPT-6 Astra BenchCAD cost and score per task as of 2026-11-05: low ($0.44, 14%), medium ($2.73, 31%), high ($5.11, 41%), xhigh ($6.67, 45%), max ($11.05).
  2. Moving from low to max multiplies per-task API bills by 25.1x as of 2026-11-05 as internal chain-of-thought output tokens expand beyond 14K–28K tokens.
  3. Medium ($0.13 per +1% gain) and high ($0.24 per +1% gain) are the production sweet spots for daily engineering tasks as of 2026-11-05.
  4. Control runaway multi-turn bills by stripping unsupported sampling parameters, routing reasoning.effort by task role, and preserving prefix caches.

When you call gpt-6-astra through the OpenAI API, the per-million token list price never changes, yet changing the reasoning.effort parameter from low to max multiplies your real per-task bill by 25.1x. On identical prompts, the difference between a $0.44 request and an $11.05 request as of 2026-11-05 comes down to how many hidden chain-of-thought tokens the model generates before emitting a single visible character.

To measure what each tier actually buys you on hard engineering workloads, here is the per-task API cost and pass-rate breakdown for gpt-6-astra across all five reasoning_effort levels on BenchCAD, a multi-step 3D CAD and algorithmic synthesis benchmark.

On this page

GPT-6 Astra reasoning_effort Cost and Score Comparison

Every run in this comparison uses the same task prompts and evaluation harness. The only variable changed between runs is reasoning={"effort": "<tier>"} in the OpenAI Responses API.

reasoning.effort Tier Average API Cost per Task (as of 2026-11-05) BenchCAD Pass Rate Cost Multiplier vs. low Incremental Cost over Previous Tier Marginal Cost per +1% Accuracy Gain Effective Cost per Solved Task (Cost / Pass Rate)
low $0.44 14% 1.0x Baseline Baseline $3.14
medium $2.73 31% 6.2x +$2.29 $0.13 $8.81
high $5.11 41% 11.6x +$2.38 $0.24 $12.46
xhigh $6.67 45% 15.2x +$1.56 $0.39 $14.82
max $11.05 59% 25.1x +$4.38 $0.31 $18.73

Looking strictly at the per-task bill (as of 2026-11-05) and the pass rate side by side exposes two immediate inflection points. First, stepping up from low ($0.44) to medium ($2.73) and high ($5.11) nearly triples the task completion rate from 14% to 41%, costing $0.13 and $0.24 for each additional percentage point of accuracy. Second, stepping from high to xhigh increases your bill by $1.56 per task (+30.5%) while lifting the score by only 4 percentage points (41% to 45%), making xhigh the most expensive tier on a marginal cost-per-point basis at $0.39 per +1% gain. Pushing all the way to max ($11.05) unlocks a 59% score, adding 14 percentage points over xhigh at $0.31 per point, or 18 percentage points over high for an extra $5.94 per task.

Why the Per-Task Bill Jumps 25x from low to max

If your input prompt is 4,000 tokens and the final CAD script or code patch returned to the client is 1,200 tokens, a 25.1x jump in cost per task can look like a billing error at first glance. It is not. In the Responses API, OpenAI bills every internal chain-of-thought token—reported under usage.output_tokens_details.reasoning_tokens—at the full gpt-6-astra output token rate. You can check the exact base input, cached input, and output token rates alongside the 272K context surcharge rules in our OpenAI API Pricing (2026): GPT-6 Astra, Sol, Luna guide.

Because the input prompt and visible completion stay roughly constant across tiers, the jump from $0.44 to $11.05 is driven almost entirely by reasoning token expansion. At standard flagship output rates ($15 to $30 per 1M output tokens as of 2026-11-05), a $0.44 low run consumes roughly 14K to 28K output tokens, whereas an $11.05 max run burns roughly 360K to 730K reasoning tokens across its internal search and verification passes.

Three structural mechanics in gpt-6-astra compound that token expansion in production:

1. low Is the Hard Floor (none and minimal Are Rejected)

If you are migrating from gpt-6-sol or gpt-6-luna, you may be used to passing reasoning={"effort": "none"} on lightweight routing or classification requests to bypass chain-of-thought billing altogether. Both gpt-6-astra and gpt-6.1-sol reject none and minimal. On Astra, low is the lowest valid setting, and low still generates a substantial block of reasoning tokens ($0.44 per BenchCAD task as of 2026-11-05). If you point high-volume autocomplete, tagging, or intent-classification traffic at gpt-6-astra on low, you are paying for thousands of reasoning tokens on every call while only getting a 14% pass rate on complex synthesis.

2. Premature 516-Token (518k - 2) Reasoning Truncation and Rework Loops

When you run gpt-6-astra at higher reasoning.effort levels, you also run into dynamic reasoning budget cutoffs that inflate multi-turn agent bills through rework. Across request logs where reasoning_tokens >= 516, roughly 40% to over 50% of gpt-6-astra calls have their chain-of-thought truncated along the 518k - 2 step boundary—landing primarily at 516 reasoning tokens (k = 1)—compared to under 10% on gpt-5.6-sol. Paradoxically, the higher you set reasoning.effort, the more frequently this 516-token cutoff appears, consistent with certainty-guided dynamic reasoning budgets halting generation early.

When Astra's reasoning chain is cut short at 516 tokens on a problem that actually required deep synthesis, performance on critical implementation steps degrades sharply and derails downstream execution. In an automated coding harness, that degraded patch fails your test suite and forces the agent to run additional multi-dollar retry turns—compounding your total task bill across the session.

3. Prompt Cache Drops When Switching reasoning.effort Mid-Thread

Many developers try to save money inside interactive coding sessions by starting a conversation on low or medium, then switching the request parameter to xhigh or max mid-thread when the model gets stuck. If your client simply mutates the top-level reasoning.effort field on the next POST /v1/responses call, OpenAI's prefix matcher treats the changed configuration as a cache break.

In our multi-turn traces, changing top-level reasoning.effort three times during a session dropped the prompt cache hit rate from 99% straight down to 12.05%, 0%, and 12.06% on the transition turns before recovering on subsequent requests. On a 150K-token repository context—or worse, past the 272K context surcharge cliff we analyzed in Claude vs GPT for Coding: Same List Price, Different Bill—paying full uncached input price on every tier switch adds several dollars of avoidable input overhead to your session bill.

Which reasoning_effort Tier Should You Run in Production?

Choosing the right tier depends on whether you are running single-shot synthesis or multi-turn agent loops, with medium ($2.73) and high ($5.11) as of 2026-11-05.

medium and high: The Daily Engineering Sweet Spot

For routine backend engineering, schema refactoring, and multi-file bug fixes, medium and high offer the strongest balance of reliability and cost control. Moving from low to medium more than doubles task accuracy (14% to 31%) for $0.13 per percentage point. Stepping up to high reaches 41% accuracy at $5.11 per task as of 2026-11-05. If you are running an automated coding pipeline, defaulting your implementation worker to gpt-6.1-sol on high and escalating only cross-layer architectural changes to gpt-6-astra on medium or high keeps single-feature bills predictable.

xhigh ($6.67 as of 2026-11-05): Skip for General Coding, Use for Specs and Read-Only Root-Cause Analysis

On single-shot benchmarks, xhigh sits in an awkward spot: at $6.67 per task (as of 2026-11-05) and a 45% score, you pay $0.39 for each percentage point gained over high. Letting an agent loop run continuously on gpt-6-astra at xhigh during backend implementation is one of the fastest ways to burn $400 on a stalled feature, because the model will repeatedly apologize, rewrite sub-tasks, and consume 200M+ tokens in a single day of heavy iteration.

Where xhigh actually earns its keep is in two strictly bounded roles: writing the initial technical specification before any code is touched, and acting as an independent, read-only debugger when your primary coding agent stalls for 60 minutes or fails twice on the same root cause.

One trap to avoid with xhigh is cross-provider subagent delegation. We tested building a full DAG task system with a UI under three setups:

  1. Running gpt-6-astra at xhigh with native Codex subagents cost $40 and produced a stable build on the first pass.
  2. Using gpt-6-astra at xhigh strictly as the decision orchestrator while delegating code generation to a cheap external model (DeepSeek via an OpenCode subagent bridge) doubled the total bill to $80—even though the DeepSeek tokens cost less than $1. Astra spent the extra $40 in xhigh reasoning tokens reviewing, rejecting, and fixing the subagent's subtle integration bugs.
  3. Swapping the top-level orchestrator down to gpt-6-luna at xhigh brought the bill back to $40, but the architectural planning degraded and required constant manual rework.

If a task genuinely requires Astra xhigh, let Astra finish the critical path or write a self-contained spec for gpt-6.1-sol rather than micromanaging a weak coder turn by turn.

max: Reserve for Hard Single-Turn Synthesis

($11.05 as of 2026-11-05)

At $11.05 per task (as of 2026-11-05), max delivers a 14-point leap over xhigh (reaching 59% on BenchCAD). For computational geometry, CAD solid modeling, formal verification, and hard algorithmic proofs where a wrong answer is worthless, paying $18.73 per solved task ($11.05 / 0.59) is cheaper than running four failed attempts on a lower tier. However, on standard CRUD or UI tickets, max tends to over-engineer abstractions and regress working code by fixating on hypothetical edge cases. Never wire max into an unattended retry loop.

How to Control GPT-6 Astra Costs in the Responses API

To put these numbers into practice without getting hit by a surprise invoice, combine dynamic reasoning.effort routing with hard max_output_tokens caps and clean parameter hygiene.

1. Strip Sampling Parameters on All GPT-6 Astra Calls

In the OpenAI Reasoning Guide, sampling parameters (temperature, top_p, top_logprobs, and logprobs) are only permitted when reasoning.effort is set to "none". Because gpt-6-astra does not support "none", leaving temperature=0.2 in your payload will trigger an immediate HTTP 400 error. Strip those keys before sending any Astra request.

2. Route reasoning.effort Dynamically and Cap max_output_tokens

In the Responses API, max_output_tokens caps the combined total of internal reasoning_tokens plus visible output tokens. Setting a per-tier ceiling prevents a stuck high, xhigh, or max call from burning hundreds of thousands of reasoning tokens on a single unresolvable turn. If the model hits your cap before finishing its visible answer, the API returns response.status == "incomplete" with incomplete_details.reason == "max_output_tokens", allowing your code to abort cleanly or downgrade the sub-task.

python
from openai import OpenAI

client = OpenAI()

# Per-tier output ceilings (reasoning_tokens + visible output tokens)
TIER_POLICY = {
    "low":    {"max_output_tokens": 16_000},   # ~$0.44 avg task as of 2026-11-05
    "medium": {"max_output_tokens": 64_000},   # ~$2.73 avg task as of 2026-11-05
    "high":   {"max_output_tokens": 120_000},  # ~$5.11 avg task as of 2026-11-05
    "xhigh":  {"max_output_tokens": 180_000},  # ~$6.67 avg task as of 2026-11-05 (specs / root-cause)
    "max":    {"max_output_tokens": 320_000},  # ~$11.05 avg task as of 2026-11-05 (hard CAD / math only)
}

def call_astra_with_budget(
    prompt: str,
    effort: str = "medium",
    previous_response_id: str | None = None,
):
    if effort not in TIER_POLICY:
        raise ValueError(f"Unsupported GPT-6 Astra effort tier: {effort}")

    # Do NOT pass temperature, top_p, or logprobs; Astra does not support effort="none"
    response = client.responses.create(
        model="gpt-6-astra",
        reasoning={"effort": effort},
        max_output_tokens=TIER_POLICY[effort]["max_output_tokens"],
        previous_response_id=previous_response_id,
        input=[{"role": "user", "content": prompt}],
    )

    usage = response.usage
    reasoning_tokens = (
        usage.output_tokens_details.reasoning_tokens
        if usage and usage.output_tokens_details
        else 0
    )

    if response.status == "incomplete" and response.incomplete_details:
        if response.incomplete_details.reason == "max_output_tokens":
            raise RuntimeError(
                f"Aborted runaway turn at {reasoning_tokens} reasoning tokens "
                f"(tier={effort}). Split the task before retrying."
            )

    return {
        "text": response.output_text,
        "response_id": response.id,
        "reasoning_tokens": reasoning_tokens,
        "cached_input_tokens": (
            usage.input_tokens_details.cached_tokens
            if usage and usage.input_tokens_details
            else 0
        ),
    }

3. Preserve Prompt Caching When Changing Effort Mid-Session

If you need to escalate from medium to xhigh mid-conversation without invalidating your prompt cache prefix, avoid mutating top-level parameters inside a shared Codex or agent thread unless your client emits a positional configuration_update item in the input stream (supported in Codex CLI rust-v0.161.0+ via codex features enable reasoning_effort_override). In direct traces where a positional configuration_update is appended instead of rewriting the top-level request header, switching from low to high preserved 11,520 cached tokens out of 13,324 input tokens, and switching back from high to low preserved 21,376 cached tokens out of 22,297.

Be aware of two gateway caveats when testing this: if you route through a subscription-sharing proxy or custom model_providers relay against POST /v1/responses, sending a configuration_update item can fail with HTTP 400 (subscription_sharing_unsupported_capability), and some third-party relays also reject max_output_tokens or cache retention fields. If your gateway throws 400 errors on those parameters, see our guide on fixing prompt_cache_retention is not supported on this model and gateway 400 errors to strip unsupported fields at the adapter layer. When calling the standard API directly without positional overrides, the cleanest way to preserve your cache is to keep your implementation thread locked to medium or high, and spawn a separate, compact single-turn call at xhigh or max containing only the relevant file diff when you hit a blocker.

Sources and checks

  1. OpenAI Responses API
  2. OpenAI Reasoning Guide