---
title: "GPT-6.2 Astra at OpenAI Codex (ChatGPT plan) · providers.dev"
description: "GPT-6.2 Astra at OpenAI Codex (ChatGPT plan) (openai-codex/gpt-6.2-astra), subscription: context window 922,000 tokens (not all sources agree), maximum output 128,000 tokens, price $8 / $40 per 1M input / output tokens (API list price of openai/gpt-6.2-astra), with conditional rates, prompt cache lifetime 20 min (short), long lifetime unknown."
canonical: https://providers.dev/entries/openai-codex/gpt-6.2-astra
---

[Providers](https://providers.dev/providers/) / [OpenAI Codex (ChatGPT plan)](https://providers.dev/providers/openai-codex/) · [All access methods for openai/gpt-6.2-astra](https://providers.dev/models/openai/gpt-6.2-astra/)

# GPT-6.2 Astra

`openai-codex/gpt-6.2-astra` Subscription models.dev 2026-11-30 providers.dev 2026-11-30 pi.dev 2026-11-30

Type chat · Released 2026-11-17

- Context window
  922,000 tokens
  Not all sources agree Context window
  - models.dev 922,000 tokens (the value on this page) 2026-11-30
  - pi.dev 272,000 tokens 2026-11-30
  [How a value is chosen](https://providers.dev/docs/methodology/#safe-values)
  1,050,000 including the response
- Maximum output
  128,000 tokens
- Price
  $8 / $40
  Input / output, per 1M tokens
  API list price of [`openai/gpt-6.2-astra`](https://providers.dev/entries/openai/gpt-6.2-astra)
  Conditional rates below
- Cache lifetime, short
  20 min
- Cache lifetime, long
  Not supported
  The plan refused a request for the 12-hour lifetime (HTTP 400, measured 2026-11-30). OpenAI documents no cache lifetime for the plan.

## Limits

| Limit | Value |
| --- | --- |
| Context window<br>The most input one request can carry, in tokens | Not all sources agree Context window<br>• models.dev 922,000 tokens (the value on this page) 2026-11-30<br>• pi.dev 272,000 tokens 2026-11-30<br>[How a value is chosen](https://providers.dev/docs/methodology/#safe-values)<br>922,000 tokens<br>1,050,000 including the response |
| Maximum output<br>The most one response can hold. A maximum, not a default | 128,000 tokens |

### Limit evaluations tokens

| Date | Route and client | Context | Input accepted | Input refused | Output limit | Requested output accepted | Evidence |
| --- | --- | --- | --- | --- | --- | --- | --- |
| No limit evaluation on this entry. |  |  |  |  |  |  |  |

## Price

$8 input · $40 output per 1M tokens

API list prices of [`openai/gpt-6.2-astra`](https://providers.dev/entries/openai/gpt-6.2-astra), as a reference. This entry is a subscription and is not paid per token.

| Charge | Rate |
| --- | --- |
| Input | $8 / 1M tokens |
| Output | $40 / 1M tokens |
| Reasoning output | Unknown |
| Cache read | $0.40 / 1M tokens |
| Cache write | $10 / 1M tokens · 30 min lifetime<br>$20 / 1M tokens · 12 h lifetime |
| Web search | $10 / 1,000 searches |

### Conditional rates

| Condition | Rates | Applies to |
| --- | --- | --- |
| Context above 272,000 tokens | Input $16, Output $60, Cache read $0.80, Cache write (30 min) $20, Cache write (12 h) $40 / 1M tokens | Whole request |
| Service tier priority | Input $16, Output $80, Cache read $0.80 / 1M tokens · × 2 | Whole request |
| Service tier ultrafast and before 2027-03-01 | Input $24, Output $120, Cache read $1.20 / 1M tokens · × 3 | Whole request |
| Service tier ultrafast and from 2027-03-01 | Input $48, Output $240, Cache read $2.40 / 1M tokens · × 6 | Whole request |
| Any region but global | Input $8.80, Output $44, Cache read $0.44 / 1M tokens · × 1.1 | Whole request |

**Other prices in the source, not shown above (0)**

No other prices

### Request controls

| Control | Support | Request field | Accepted values | Default | Conditions |
| --- | --- | --- | --- | --- | --- |
| Service tier | Supported | Unknown | `priority`<br>`ultrafast` | Unknown | None recorded |

Source: [models.dev](https://models.dev/) 2026-11-30

## Prompt caching

| Lifetime | Value |
| --- | --- |
| Cache lifetime, short<br>Without asking for a lifetime, or with the shortest one | 20 min |
| Cache lifetime, long<br>When the request asks for a longer lifetime | Not supported<br>The plan refused a request for the 12-hour lifetime (HTTP 400, measured 2026-11-30). OpenAI documents no cache lifetime for the plan. |

### Cache evaluations

The cache evaluations of this entry, by retention

| Lifetime | Client | Time since the prompt was cached · served from the cache, in percent, with hits/checks At once | 2.5 min | 5 min | 7.5 min | 10 min | 15 min | 20 min | 25 min | 30 min | 40 min | 50 min | 1 h | 1 h 15 | 1 h 30 | 2 h | 4 h | 8 h | 12 h | 24 h |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Short retention | Every check hit up to 20 min. The first miss came at 25 min.<br>Measured · OpenAI's Codex CLI · 2026-11-23<br>3 clients and settings |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
| 20 min 2026-11-23 | **OpenAI's Codex CLI** Sets the value<br>First miss 25 min · 38 of 52 checks hit<br>1 evaluation · note and raw result | 100 1/1 | 100 3/3 | 100 3/3 | 100 3/3 | 100 3/3 | 100 3/3 | 100 3/3 | 67 2/3 | 100 3/3 | 67 2/3 | 67 2/3 | 100 3/3 | 100 3/3 | 33 1/3 | 100 3/3 | 0 0/3 | 0 0/3 | 0 0/3 | · |
| No lifetime asked for · Tested from 2.5 min |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
| `own-clients-2026-11-23/CX2` 2026-11-23<br>ChatGPT plan through the Codex login · Version 0.171.0 · `reasoning=low`<br>[Raw result](https://github.com/ngvoicu/groundtruth/blob/main/results/own-clients-2026-11-23/CX2.jsonl) |  | 100 1/1 | 100 3/3 | 100 3/3 | 100 3/3 | 100 3/3 | 100 3/3 | 100 3/3 | 67 2/3 | 100 3/3 | 67 2/3 | 67 2/3 | 100 3/3 | 100 3/3 | 33 1/3 | 100 3/3 | 0 0/3 | 0 0/3 | 0 0/3 | · |
| **Note** 37 of 51 timed checks warm: every check warm through 20 minutes, 2 of 3 at 25 minutes, 3 of 3 at 2 hours, all three cold at 4, 8 and 12 hours. The first night's harness recorded wall-clock ages only. |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
| No safe lifetime 2026-11-27 | **Pi with pi-provimux, through Provimux** For comparison<br>The value above comes from OpenAI's Codex CLI<br>First miss at once · 11 of 17 checks hit<br>1 evaluation · note and raw result | 50 1/2 | · | · | · | · | · | · | 100 3/3 | · | · | · | · | · | · | 67 2/3 | · | · | · | · |
| No lifetime asked for · Tested from 25 min · Also checked: 35 min 33% (1/3), 55 min 100% (3/3), 1 h 5 min 33% (1/3) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
| `agent-gateway-2026-11-27/A2` 2026-11-27<br>ChatGPT plan through the Codex login · Pi 1.6.0 with pi-provimux 105.0.7 over SSE, cache warming off, through Provimux 8.1.7-pmx.3 · `reasoning=low` · Also checked: 35 min 33% (1/3), 55 min 100% (3/3), 1 h 5 min 33% (1/3)<br>[Raw result](https://github.com/ngvoicu/groundtruth/blob/main/results/agent-gateway-2026-11-27/A2.jsonl) |  | 50 1/2 | · | · | · | · | · | · | 100 3/3 | · | · | · | · | · | · | 67 2/3 | · | · | · | · |
| **Note** Continues A1, whose control was cold: its control counts here, so the chain's control is 1 of 2. Ages 25, 35, 55 and 65 minutes and 2 hours, around the documented 30 minutes; not from 2.5 minutes. Warm at random from 35 minutes on. Each sample its own session and block, resumed once; a check counts only when one login of the intended kind answered its priming and itself (answered_by holds the labels of the gateway's account markers). |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
| No safe lifetime 2026-11-17 | **groundtruth's probe, through Provimux** For comparison<br>The value above comes from OpenAI's Codex CLI<br>First miss 2.5 min · 29 of 40 checks hit<br>1 evaluation · note and raw result | 100 1/1 | 67 2/3 | 100 3/3 | 100 3/3 | 100 3/3 | 100 3/3 | 100 3/3 | 100 3/3 | 100 3/3 | 67 2/3 | 67 2/3 | 33 1/3 | 0 0/3 | 0 0/3 | · | · | · | · | · |
| No lifetime asked for · Tested from 2.5 min |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
| `logins-gpt-6-2-2026-11-17/GA1` 2026-11-17<br>ChatGPT plan through the Codex login · groundtruth's probe 0.3.3<br>[Raw result](https://github.com/ngvoicu/groundtruth/blob/main/results/logins-gpt-6-2-2026-11-17/GA1-2026-11-17T21-27-51.json) |  | 100 1/1 | 67 2/3 | 100 3/3 | 100 3/3 | 100 3/3 | 100 3/3 | 100 3/3 | 100 3/3 | 100 3/3 | 67 2/3 | 67 2/3 | 33 1/3 | 0 0/3 | 0 0/3 | · | · | · | · | · |
| **Note** plain probe 0.3.3 through CLIProxyAPI (build ngvoicu-local-4c071f30, process of 18:38:51 local), made as logins-2026-11-17/LC3 (no option, 2,500-token prefix, standard schedule, 3 samples per age, 2 primes at a time), pinned to the Codex login by a temporary alias probe/gpt-6.2-astra on that login only (/v1/models?include=accounts lists only the Codex login for it; the plain id also has an OpenAI API key); every answer's X-CPA-AUTH-KIND was oauth. Unlike LC3: no large request went to the login before or during the run, and the two models were not primed at the same moment (Astra started once Sol had finished priming); the login's request counter rose by exactly the runs' own requests, so nothing else used it meanwhile, and the OpenAI API key's stayed at 0. Released by OpenAI on 2026-11-17. The published 0 means that there is no tested age through which every check hit, not that this route does not cache. GS1 and GA1 each missed 1 of 3 at 2.5 minutes (LC1, LC3 and LC4 had missed there too that afternoon): early misses also occurred without a large request before the priming and without two models priming at once. That does not rule out every kind of load, and it says nothing certain about the misses of the earlier models. Their cause is not established. |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
| Long retention | No evaluation |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |

Checks served from the cache, in percent and as hits/checks, by time since the prompt was cached 100 All 67 Half or more 33 Fewer 0 None · Not checked at that age [Methodology](https://providers.dev/docs/methodology/#evaluations)

### Cache modes

| Mode | Supported | Min. tokens | Breakpoints | Targets |
| --- | --- | --- | --- | --- |
| Automatic implicit | Supported | Unknown | Not applicable | Not applicable |
| Manual explicit | Unknown | Unknown | Unknown | Unknown |

Source: models.dev · [Cache modes](https://providers.dev/docs/methodology/#caching)

### Retention

| Control | Support | Request field | Accepted values | Default | Conditions |
| --- | --- | --- | --- | --- | --- |
| Cache retention | Unsupported | Not applicable | Not applicable | Not applicable | Measured: the plan refused prompt_cache_options (ttl "12h") with HTTP 400, "prompt_cache_options is not supported on this model" (2026-11-30). OpenAI documents no cache lifetime for the plan. |

Source: [github.com…12h-2026-11-30/ttl-probe-gpt-6.2-astra.jsonl](https://github.com/ngvoicu/groundtruth/blob/main/results/codex-12h-2026-11-30/ttl-probe-gpt-6.2-astra.jsonl) 2026-11-30 · [developers.openai.com/codex/models](https://developers.openai.com/codex/models) 2026-11-30

## How Pi calls the model

pi.dev Fetched 2026-11-30 from [pi.dev/api/models](https://pi.dev/api/models) Not verified by providers.dev Its limits, prices and cache lifetimes: the last source of each value above [Pi's list for `openai-codex`](https://pi.dev/models?provider=openai-codex)

| In Pi's catalog | As Pi states it |
| --- | --- |
| Model<br>The same provider and model id as this entry. | **GPT-6.2 Astra**<br>`openai-codex/gpt-6.2-astra` |
| Request format<br>`api`: the API Pi speaks to this model, in words and in Pi's word | OpenAI Responses, through the ChatGPT sign-in<br>`openai-codex-responses` |
| Address<br>`base_url`: where Pi sends requests, placeholders as written | `https://chatgpt.com/backend-api` |
| Input<br>What Pi sends to the model, in Pi's words | text image |
| Reasoning<br>Whether Pi treats the model as one that reasons | Yes |
| Thinking levels<br>The value Pi sends for each level it names. A level not named follows Pi's own default. Not the provider's list of effort values | off: not supported<br>minimal: `low`<br>low: `low`<br>medium: `medium`<br>high: `high`<br>xhigh: `xhigh`<br>max: `max` |
| What the provider accepts<br>`compat`: what the provider or the model accepts in this request format, as Pi states it. A flag not named follows Pi's own default: it is not false | Custom tools with a grammar<br>`supportsOpenAIGrammarTools: true`: Accepted<br>`additional_tools` input items<br>`supportsAdditionalTools: true`: Accepted<br>Tool search run by the client<br>`supportsToolSearch: true`: Accepted<br>System messages after the conversation has started<br>`supportsMidConvoSystemMessages: true`: Accepted<br>A change of thinking level after the conversation has started<br>`supportsMidConvoEffort: true`: Accepted |
| What Pi does<br>Pi's own switches, as Pi states them: how Pi builds its requests. Not a statement about the provider | None stated |
| Other flags<br>Flags this page has no words for yet, as Pi states them | None stated |
| Request limits<br>The provider's limits on one request, as Pi states them | None stated |

[How Pi's catalog is used](https://providers.dev/docs/methodology/#pi)

## Provenance

| Provenance | Value |
| --- | --- |
| Source | models.dev 2026-11-30 providers.dev 2026-11-30 pi.dev 2026-11-30 |
| Inherited from | Not inherited |
| Corrections | No corrections |
| Evidence | • measured [github.com…12h-2026-11-30/ttl-probe-gpt-6.2-astra.jsonl](https://github.com/ngvoicu/groundtruth/blob/main/results/codex-12h-2026-11-30/ttl-probe-gpt-6.2-astra.jsonl) 2026-11-30<br>One request, Pi 1.7.0 straight to the Codex backend over SSE, gpt-6.2-astra, prompt_cache_options {"ttl": "12h"}: HTTP 400, "prompt_cache_options is not supported on this model".<br>• documented [developers.openai.com/codex/models](https://developers.openai.com/codex/models) 2026-11-30<br>Codex's models page, read on this day, says nothing of prompt caching or a cache lifetime. |

## Data

[`GET /api/v1/entries/openai-codex/gpt-6.2-astra`](https://providers.dev/api/v1/entries/openai-codex/gpt-6.2-astra)

---

providers.dev

Model metadata per provider and access method. The baseline is imported from [models.dev](https://models.dev/) (MIT, © 2025 models.dev); the model catalog of [Pi](https://pi.dev/models) (MIT) is shown beside it. providers.dev is independent and is not affiliated with or endorsed by models.dev, Pi or any listed provider.

## Dataset

- models.dev imported 2026-11-30
- Pi's catalog fetched 2026-11-30
- [Version and publication](https://providers.dev/#dataset)

## Reference

- [API documentation](https://providers.dev/docs/api/)
- [OpenAPI document](https://providers.dev/api/v1/openapi.json)
- [Methodology](https://providers.dev/docs/methodology/)
- [Licensing and attribution](https://providers.dev/docs/licensing/)
- [Contributing](https://providers.dev/docs/contributing/)
- [Provimux](https://provimux.providers.dev/)
- [Provimux support](https://provimux.providers.dev/support/)
- [pi-cache-keeper](https://pi-cache-keeper.providers.dev/)
- [Gabriel Voicu](https://ngvoicu.dev/)
- [LLM cost audit](https://ngvoicu.dev/consulting/#llm-cost-audit)
- [Contact](mailto:office@providers.dev)
