# GPT-6 Astra API Pricing: $10/$50 per 1M Tokens, Caching Costs

> GPT-6 Astra costs $10 input and $50 output per 1M tokens up to 272K. Caching is on by default; writes cost $12.50 (30 min) or $25 (12 h) as of October 26, 2026.

- URL: https://blog.laozhang.ai/en/posts/gpt-6-astra-api-pricing
- Published: 2026-09-04
- Updated: 2026-11-10
- Author: LaoZhang AI Team (https://blog.laozhang.ai/en/about)
- Topic: API Pricing & Plans
- Tags: GPT-6 Astra, OpenAI API, API pricing, prompt caching, long context

---
GPT-6 Astra (`gpt-6-astra`) costs **$10 per million input tokens and $50 per million output tokens** on OpenAI's direct API under Standard processing, as long as a request has 272,000 input tokens or fewer. Cached input costs $1 per million, and cache writes now have two rates: **$12.50 per million for the default 30-minute lifetime and $25 per million for a 12-hour lifetime**. A request with more than 272,000 input tokens pays $20 input, $2 cached, $25 or $50 for writes, and $75 output on every token in it. These are the list prices on OpenAI's [API pricing page](https://developers.openai.com/api/docs/pricing) as of **October 26, 2026**.

The part that changes real bills is caching. OpenAI turns prompt caching on by default for GPT-5.6 and later models, Astra included, and bills each write at 1.25 times the input rate, so a prompt of 1,024 tokens or more that is never sent again costs 25% more on the input side than plain input would. If your long prompts are one-offs, set `prompt_cache_options.mode` to `"explicit"` and place no breakpoint, which turns caching off for that request. If the same instructions or reference text come back every hour or so, give that prefix `ttl: "12h"` in the Responses API instead, because from the third use it is the cheapest of the three options.

All figures are in USD for the direct OpenAI API and exclude taxes and negotiated terms. ChatGPT plans are a separate product with no per-token price, and the Free and Go plans get GPT-6 Luna rather than Astra; [Is GPT-6 Free in ChatGPT? Yes, as GPT-6 Luna, Not Sol or Astra](https://blog.laozhang.ai/en/posts/is-gpt-6-free) and [ChatGPT Plus vs API: Is the API Cheaper Than $20 a Month?](https://blog.laozhang.ai/en/posts/chatgpt-plus-vs-api) cover the subscription side.

## The price card has two context bands

Astra bills five token categories, and each has one rate up to 272,000 input tokens and a higher rate above it. The Standard rates per 1 million tokens, as of October 26, 2026:

| Billed token category | 272,000 input tokens or fewer | More than 272,000 input tokens |
| --- | ---: | ---: |
| Ordinary input, excluding cache reads and writes | $10.00 | $20.00 |
| Cached input (cache reads) | $1.00 | $2.00 |
| Cache writes, 30-minute lifetime (default) | $12.50 | $25.00 |
| Cache writes, 12-hour lifetime (Responses API only) | $25.00 | $50.00 |
| Output, including reasoning tokens | $50.00 | $75.00 |

The [GPT-6 Astra model page](https://developers.openai.com/api/docs/models/gpt-6-astra) states that more than 272K input tokens doubles the input and cache rates and raises the output rate by 50% **for the full request**. Cached input and cache writes still count toward the input total used to select that band. The same model page still shows a single "Cache writes $12.5" line; that is the 30-minute rate, and the pricing page and OpenAI's prompt caching guide list both lifetimes.

The threshold is a price boundary, not the model's maximum capacity. The model page lists a 1,050,000-token context window, a **922,000-token maximum input**, and up to 128,000 output tokens. A request can fit within those limits and still use the higher prices.

There is no separate price row for "Astra Pro." OpenAI's [reasoning guide](https://developers.openai.com/api/docs/guides/reasoning) says `reasoning.mode: "pro"` bills at the model's standard token rates but performs more model work, so the same request uses more tokens and costs more.

## Calculate a request from its usage fields

OpenAI's [prompt caching guide](https://developers.openai.com/api/docs/guides/prompt-caching#monitor-cache-performance) calculates ordinary input by subtracting both cache categories from total input. Cache reads and cache writes are subsets of `input_tokens`, not extra tokens to add to it. Since the 12-hour lifetime arrived on October 20, 2026, Responses API usage also splits writes by lifetime in `input_tokens_details.cache_write_tokens_details`: `ttl_30m_tokens` and `ttl_12h_tokens` never overlap and add up to `cache_write_tokens`.

```text
ordinary input = input_tokens
                 - input_tokens_details.cached_tokens
                 - input_tokens_details.cache_write_tokens

input cost, 272K or fewer, USD per 1M tokens =
    ordinary input  x $10.00
  + cached_tokens   x $1.00
  + ttl_30m_tokens  x $12.50
  + ttl_12h_tokens  x $25.00
```

Count the writes only through their two lifetime fields. Adding `cache_write_tokens` again after that charges the same tokens twice, which the guide warns against. Chat Completions responses report the same read and write counts under `usage.prompt_tokens_details` without the lifetime split; with no 12-hour option on that endpoint, its writes are 30-minute writes.

For example, suppose a response reports the following usage. This is an illustrative usage object, not a captured API response:

```json
{
  "input_tokens": 120000,
  "input_tokens_details": {
    "cached_tokens": 80000,
    "cache_write_tokens": 20000,
    "cache_write_tokens_details": {
      "ttl_30m_tokens": 20000,
      "ttl_12h_tokens": 0
    }
  },
  "output_tokens": 5000
}
```

The total input is 120,000 tokens, so Standard short-context prices apply. Ordinary input is 120,000 − 80,000 − 20,000 = 20,000 tokens, and all 20,000 writes use the default 30-minute lifetime. Assign each input token to exactly one category:

| Component | Calculation | Cost |
| --- | ---: | ---: |
| Ordinary input | 20,000 / 1,000,000 × $10 | $0.20 |
| Cached input | 80,000 / 1,000,000 × $1 | $0.08 |
| Cache writes, 30-minute | 20,000 / 1,000,000 × $12.50 | $0.25 |
| Output | 5,000 / 1,000,000 × $50 | $0.25 |
| **Token subtotal** | | **$0.78** |

Each write rate is the complete price for those tokens. It is not a surcharge to add after charging them at the $10-per-million ordinary-input rate. If the same 20,000 tokens had been 12-hour writes, that line would be 20,000 / 1,000,000 × $25 = $0.50 and the subtotal $1.03. If your logs produce a negative ordinary-input count, check the recorded fields and aggregation before estimating a cost.

![An illustrative Astra request splits 120,000 input tokens into ordinary input, cached input, and cache writes, then adds output for a $0.78 token subtotal.](https://blog.laozhang.ai/posts/en/gpt-6-astra-api-pricing/img/usage-cost-breakdown.webp)

Use the full `output_tokens` value for output billing. OpenAI's [reasoning guide](https://developers.openai.com/api/docs/guides/reasoning#controlling-costs) explains that reasoning tokens are billed as output and included in that total. Do not add `output_tokens_details.reasoning_tokens` a second time, or estimate the bill from visible answer length alone. `max_output_tokens` limits total generated tokens, including reasoning, visible output, and non-visible formatting tokens.

Calculate each request before adding up a workload. Daily input totals cannot determine whether an individual request crossed 272K. Aggregation is safe only after separating requests with the same model rates, input band, and processing tier.

## Is caching on by default? Yes, and one-off prompts pay 25% more

Yes. OpenAI's [prompt caching guide](https://developers.openai.com/api/docs/guides/prompt-caching#how-caching-works) says caching is enabled by default for supported models, and for GPT-5.6 and later a write costs 1.25 times the ordinary input rate while a later read costs 0.1 times. In implicit mode, which is what a request with no cache settings received in the test below, OpenAI places a breakpoint at the end of the latest eligible message and writes everything before it. Default caching is therefore a charge on the first request, and the saving only arrives if another request reads that prefix in time. Prefixes shorter than 1,024 tokens are not cached at all.

On October 26, 2026, one streamed Chat Completions call to `gpt-6-astra` through the laozhang.ai gateway, with no cache or reasoning settings, sent a 10,106-token prompt: a long article plus an instruction to summarize it in five bullets. The usage came back with `cache_write_tokens: 10103`, `cached_tokens: 0`, and 328 output tokens. At Standard list prices that is 3 × $10 + 10,103 × $12.50 + 328 × $50 per million, about **$0.1427**, against $0.1175 if the whole prompt had been billed as plain input. The difference is about $0.025, or 25% on the input side, paid for a cache entry that a one-off request never reads. Prompts under about 1,000 tokens in the same test showed no write. This was one call on one route on one day, and the opt-out below was not tested on that route. laozhang.ai lists Astra at OpenAI's Standard rates and does not list a 12-hour write rate.

*Disclosure: [laozhang.ai is our own service](https://blog.laozhang.ai/en/about#laozhang). Its prices are platform pricing, not an independent comparison.*

To stop paying for writes nobody reads, switch the request to explicit mode and place no breakpoints. The guide says that in explicit mode with no explicit breakpoints, the request "does not use prompt caching or create cache writes," so the whole prompt is billed as ordinary input:

```json
{
  "model": "gpt-6-astra",
  "prompt_cache_options": { "mode": "explicit" },
  "input": "Your one-off long prompt..."
}
```

Explicit mode also lets you cache only the part that repeats. Add `prompt_cache_breakpoint: { "mode": "explicit" }` to the content block that ends your stable instructions, and everything after the last breakpoint is billed at the ordinary input rate with no write charge; each request can create up to four writes. OpenAI's examples for these settings are Responses API requests, so check the returned `cache_write_tokens` after the change instead of assuming it took effect.

## When a cache write pays for itself

A write pays for itself only when the same prefix is read again before its coverage ends, so the cheapest option depends on how far apart the reuses are. If requests repeat within 30 minutes, keep the default 30-minute write. If a stable prefix is used three or more times with gaps longer than 30 minutes inside a 12-hour window, the 12-hour write is cheapest. If a prefix is used once, or twice with a long gap, no caching beats both. The figures below cover a 100,000-token prefix at Standard short-context rates, input side only:

| Reuse pattern for a 100,000-token prefix | No caching | 30-minute write (default) | 12-hour write |
| --- | ---: | ---: | ---: |
| 1 use | $1.00 | $1.25 | $2.50 |
| 2 uses, more than 30 minutes apart | $2.00 | $2.50 | $2.60 |
| 3 uses, more than 30 minutes apart | $3.00 | $3.75 | $2.70 |
| 10 uses, one hour apart | $10.00 | $12.50 | $3.40 |
| 10 uses, 5 minutes apart | $10.00 | $2.15 | $3.40 |

Every cached figure is one write, $1.25 at 30 minutes or $2.50 at 12 hours, plus $0.10 for each later read. For two uses within 30 minutes, that gives $1.25 + $0.10 = $1.35 against $2.00 uncached, the same 1.35x that OpenAI's guide quotes. When uses are more than 30 minutes apart, a 30-minute entry can expire and each use can pay a fresh $1.25 write, so the 30-minute column for spaced traffic is a worst case; OpenAI may keep entries longer than the minimum, but it does not promise to. In long context the same ratios hold at double the money: a 300,000-token prefix costs $6.00 uncached, $7.50 as a 30-minute write, $15.00 as a 12-hour write, and $0.60 per read.

The 12-hour lifetime is available only in the Responses API, through `prompt_cache_options.ttl: "12h"` for the whole request or `prompt_cache_breakpoint.ttl` on one breakpoint, so you can keep shared instructions at 12 hours and session context at 30 minutes. Unsupported values return `400 invalid_request_error`. Choose the lifetime on the first request: upgrading valid 30-minute coverage to 12 hours charges a new 12-hour write for those tokens, with no credit for the earlier write. A later read does not restart the 12-hour clock or add a write, and the lifetime only governs eligibility for the read price, not a guaranteed hit. The [cache lifetime documentation](https://developers.openai.com/api/docs/guides/prompt-caching#cache-lifetime) lists these rules.

Stable text alone does not guarantee the read price. The rendered prefix must match an available cache entry at an eligible breakpoint, which marks the end of a cacheable prefix. If the first request only caches through a changing suffix, a later request with the same introduction may still miss, while an explicit breakpoint after the reusable material makes that prefix available for reuse. See the [caching guide's shared-prefix example](https://developers.openai.com/api/docs/guides/prompt-caching#gotchas) before assuming that repeated text will receive the cached rate, and budget from recorded `cached_tokens`, `ttl_30m_tokens`, and `ttl_12h_tokens` rather than from the lifetime setting.

## Crossing 272K reprices every token in the request

Consider a Standard request with 300,000 ordinary input tokens, no cache activity, and 20,000 output tokens. The request exceeds the threshold, so every input token uses the $20 long-context rate and every output token uses the $75 rate:

```text
input:  300,000 / 1,000,000 × $20 = $6.00
output:  20,000 / 1,000,000 × $75 = $1.50
total:                                      $7.50
```

The discontinuity matters even when only one input token crosses the line. With no cache activity and the same 20,000-token output:

| Input tokens | Standard input cost | Standard output cost | Total token cost |
| ---: | ---: | ---: | ---: |
| 271,999 | $2.71999 | $1.00 | $3.71999 |
| 272,000 | $2.72 | $1.00 | $3.72 |
| 272,001 | $5.44002 | $1.50 | $6.94002 |

These are unrounded calculations from the published rates. Exactly 272,000 remains in the lower band. The next input token changes the price of the entire request; only repricing the excess token would substantially understate the cost.

![A comparison of Standard request costs at 272,000 and 272,001 input tokens, showing that crossing the threshold reprices both input and output.](https://blog.laozhang.ai/posts/en/gpt-6-astra-api-pricing/img/context-threshold-cost.webp)

This does not mean you should always trim a prompt below 272K. Retrieval, summarization, or splitting a task can remove context that the model needs and can create extra requests. Measure tasks below and above the threshold separately, then compare both quality and total cost.

## Processing mode, region, and tools change the subtotal

After selecting the correct context band, apply the processing mode. On OpenAI's [direct API price table](https://developers.openai.com/api/docs/pricing), Batch and Flex are half of Standard, Fast is twice Standard, and Ultrafast is six times Standard, and each multiplier applies to every token category, both write rates included:

| Processing mode | Relative token rate | Short-context rates per 1M: input / cached / 30m write / 12h write / output | Cost for the $0.78 example |
| --- | ---: | ---: | ---: |
| Batch | 0.5× Standard | $5 / $0.50 / $6.25 / $12.50 / $25 | $0.39 |
| Flex | 0.5× Standard | $5 / $0.50 / $6.25 / $12.50 / $25 | $0.39 |
| Standard | 1× | the price card above | $0.78 |
| Fast | 2× Standard | $20 / $2 / $25 / $50 / $100 | $1.56 |
| Ultrafast | 6× Standard | $60 / $6 / $75 / $150 / $300 | $4.68 |

Choose one mode. Batch and Flex discounts do not stack, and a price copied from a mode-specific rate table already includes that mode's adjustment. Above 272K input tokens, Ultrafast rises to $120 input, $12 cached, $150 and $300 for the two writes, and $450 output per million.

Ultrafast has limits of its own. OpenAI added it for Astra on September 29, 2026, in the Responses API only, with `service_tier: "ultrafast"`. The [Ultrafast mode guide](https://developers.openai.com/api/docs/guides/ultrafast-mode) says it is available to all API users under separate rate limits, with Astra defaults of 500,000 tokens per minute on the Build tier, 1,000,000 on Launch, and 5,000,000 on Grow. It runs with global processing or US data residency only. OpenAI publishes no speed-up figure for Astra on Ultrafast, so measure latency on your own traffic before paying six times Standard. Since October 21, 2026, organization and project settings can also restrict which service tiers a project may use, and a request for a disallowed tier returns a service-tier error.

The table compares token prices, not delivery guarantees. For Fast, the request accepts `service_tier: "fast"` or `service_tier: "priority"`. Record the **returned** `service_tier` when reconciling usage: some traffic can fall back to `default` and receive Standard pricing. Astra Fast has no latency SLA and is unavailable with EU data residency. These conditions are documented in the [Fast mode guide](https://developers.openai.com/api/docs/guides/fast-mode).

The [pricing terms](https://developers.openai.com/api/docs/pricing) apply a 10% uplift to eligible regional-processing endpoints for qualifying models released on or after March 5, 2026, which includes Astra. Confirm that it applies to your configuration before multiplying the applicable token subtotal by 1.10. The $0.78 Standard example would become $0.858 before tools and tax.

Tools are additional. The [API pricing page](https://developers.openai.com/api/docs/pricing#built-in-tools) lists web search at $10 per 1,000 calls, or $0.01 per call, plus search-content tokens billed at model rates. Three search calls add $0.03 in call fees. Include the search-content tokens once in the token calculation; do not add them again if your recorded input usage already includes them. File-search calls and storage, and hosted containers, have their own charges. The Responses and Chat Completions endpoints do not carry a separate access fee.

A practical estimate is:

```text
API cost = sum of each request's token cost
           at its context band and processing tier,
           with writes priced by their lifetime,
           including any applicable regional uplift
           + separately billed tool calls, storage, and container usage
```

Do not apply token-price multipliers to flat tool-call fees. Keep taxes, contractual discounts, and provider-specific billing separate until you have the applicable terms. If you use Astra through Amazon Bedrock, AWS owns the bill; OpenAI's direct-API rates do not establish the AWS price.

## Decide with cost per accepted task, not cost per attempt

Astra's list rates are five times GPT-6.1 Sol's for input, writes, and output, and ten times for cached input, so the $0.78 token mix above would cost about $0.148 on `gpt-6.1-sol` ($0.04 + $0.008 + $0.05 + $0.05). Against GPT-5.6 Sol, whose promotional pricing runs at least through November 21, 2026, Astra is 2.5 times the price and the same mix costs $0.312. The same eight tasks, run on both models on October 25 and 26, 2026, cost about one-fifth to one-sixth as much on GPT-6.1 Sol as on Astra, with every answer passing on both; that test, with Claude Fable 5.1 on the same prompts, is in [GPT-6 Astra vs Claude Fable 5.1: Same Price, 1.5x the Tokens](https://blog.laozhang.ai/en/posts/gpt-5-6-sol-vs-fable-5-vs-opus-4-8). For the current Fable, Fable 5.2, released on November 9, 2026, [Claude Fable 5.2 vs GPT-6 Astra: When Each Costs Less per Task](https://blog.laozhang.ai/en/posts/claude-fable-5-2-vs-gpt-6-astra) compares it with Astra. When Astra is worth paying for over Sol is covered in [GPT-6.1 Sol vs GPT-6 Astra vs GPT-6 Sol: When Astra Is Worth It](https://blog.laozhang.ai/en/posts/gpt-6-1-sol-vs-gpt-6-astra-vs-gpt-6-sol).

A rate comparison says nothing by itself about which model completes your work more reliably. Compare the cost of tasks that meet your requirements:

```text
cost per accepted task =
  (API spend for successful and failed attempts
   + human review and repair cost
   + other workflow cost)
  / accepted tasks
```

If both models use the same number and mix of tokens per attempt, Astra must complete the same amount of accepted work with about 19% as many billable attempts as GPT-6.1 Sol ($0.148 / $0.78) to reach token-cost parity. Alternatively, it must save enough review, repair, or other workflow cost to recover its higher API spend. Actual token use may also differ, especially when reasoning and tool calls are involved.

Run a bounded pilot on representative tasks:

1. Define acceptance before running either model, using a test, rubric, or human decision that matches production.
2. Record the model ID, returned processing tier, input band, reasoning effort, tool use, and every billed token category for each attempt, including `ttl_30m_tokens` and `ttl_12h_tokens`, so you can see whether default caching is writing prefixes that are never read.
3. Track rejected outputs, retries, review time, repair time, and manual steps eliminated.
4. Compare total cost per accepted task, separating requests above 272K from shorter requests.

Pilot Astra where rejects or manual repair are expensive and you can score the result. Keep a cheaper model for work it already completes reliably. Use Batch or Flex when their operating behavior fits the job; pay for Fast or Ultrafast when lower delay justifies the premium without assuming an SLA.

Before running the pilot, confirm access in the project that will pay for it. The [GPT-6 Astra API access guide](https://blog.laozhang.ai/en/posts/gpt-6-astra-api-access) covers that check and the first request. Once access works, use recorded usage and accepted results to decide whether Astra's results justify its higher price.

## Sources

External pages this guide links to, in the order they appear. Last updated 2026-11-10.

- [API pricing page](https://developers.openai.com/api/docs/pricing) (developers.openai.com)
- [GPT-6 Astra model page](https://developers.openai.com/api/docs/models/gpt-6-astra) (developers.openai.com)
- [reasoning guide](https://developers.openai.com/api/docs/guides/reasoning) (developers.openai.com)
- [prompt caching guide](https://developers.openai.com/api/docs/guides/prompt-caching) (developers.openai.com)
- [Ultrafast mode guide](https://developers.openai.com/api/docs/guides/ultrafast-mode) (developers.openai.com)
- [Fast mode guide](https://developers.openai.com/api/docs/guides/fast-mode) (developers.openai.com)
