---
title: "GPT-6 Astra"
description: "A closed OpenAI model released in September 2026, with top-tier scores on math and reasoning benchmarks and a price far above most of the registry."
canonical: https://pydantic.dev/models/list/gpt-6-astra/
---

# GPT-6 Astra

> A closed OpenAI model released in September 2026, with top-tier scores on math and reasoning benchmarks and a price far above most of the registry.
>
> Markdown copy of https://pydantic.dev/models/list/gpt-6-astra/. Index for agents: https://pydantic.dev/models/llms.txt

**Agents: use the API for model information.** It answers a question in one request, where the pages need several.

- Choose a model for an agent: `POST https://pydantic.dev/models/api/select` with a JSON body such as `{"description": "what the agent does"}`. It returns up to five ranked models with reasons. Format: https://pydantic.dev/models/select.md
- Search models by name: `GET https://pydantic.dev/models/api/search?query=<text>`
- List, filter and sort models: `GET https://pydantic.dev/models/api/models`, for example `?weights=open&max_price=2&sort=efficiency`
- One model in full: `GET https://pydantic.dev/models/api/models/<slug>`
- Any other question about the models: `GET https://pydantic.dev/models/api/ask?query=<question>`

Add `intent=<intent>&stack=<stack>&harness=<harness>` to the query string of all but the single model. An `OPTIONS` request to any endpoint returns its schema. The same five are tools of the MCP server at `https://pydantic.dev/models/mcp`. More: https://pydantic.dev/models/usage.md

Use it with Pydantic AI as `gateway/openai:gpt-6-astra`.

## Spec sheet

- **Family:** OpenAI
- **Released:** 4 Sept 2026
- **Weights:** closed
- **Context window:** 1,050,000 tokens
- **Largest response:** 128,000 tokens
- **Accepts:** text, image, file
- **Tool calling:** yes
- **Knowledge cutoff:** 2026-04
- **Intelligence index:** 70.7 (rank 15)
- **Scores updated:** 2026-11-30
- **Price:** $10 input, $50 output, $20 blended per 1M tokens
- **Index points per $:** 3.5 (rank 99)
- **Speed:** 42 tokens/sec (rank 142)
- **Popularity:** rank 53 of 194 by usage
- **Pydantic AI Gateway:** built in

## Benchmarks

### Pydantic AI benchmarks

Our own benchmarks, each about 10 tasks run once with tool calling and once in code mode (https://pydantic.dev/models/codemode.md). Not part of the intelligence index. Cost is the mean cost of one task. For the combined score, code mode is compared over the four benchmarks run in both modes.

| Benchmark                                                                                      | Tool calling | Code mode | Change | Cost per task | Cost per task, code mode | Rank     | Runs                                                              |
| ---------------------------------------------------------------------------------------------- | ------------ | --------- | ------ | ------------- | ------------------------ | -------- | ----------------------------------------------------------------- |
| [Pydantic AI Combined](https://pydantic.dev/models/benchmarks/pydantic_ai.md)                  | 75.2%        | 80.8%     | +3     | $0.69         | $0.49                    | 13 of 44 | https://pydantic.dev/models/list/gpt-6-astra/pydantic_ai.md       |
| [Pydantic AI - Billing ops](https://pydantic.dev/models/benchmarks/billing_ops.md)             | 90%          | 80%       | −10    | $1.82         | $0.15                    | 4 of 44  | https://pydantic.dev/models/list/gpt-6-astra/billing_ops.md       |
| [Pydantic AI - Customer support](https://pydantic.dev/models/benchmarks/customer_support.md)   | 40%          | 50%       | +10    | $0.13         | $0.12                    | 22 of 44 | https://pydantic.dev/models/list/gpt-6-astra/customer_support.md  |
| [Pydantic AI - SQL data analysis](https://pydantic.dev/models/benchmarks/sql_data_analysis.md) | 100%         | 100%      | ±0     | $0.50         | $0.40                    | 1 of 44  | https://pydantic.dev/models/list/gpt-6-astra/sql_data_analysis.md |
| [Pydantic AI - Research & deck](https://pydantic.dev/models/benchmarks/research_deck.md)       | 81.5%        | 93.3%     | +11.8  | $1.38         | $1.30                    | 19 of 44 | https://pydantic.dev/models/list/gpt-6-astra/research_deck.md     |
| [Pydantic AI - Structured output](https://pydantic.dev/models/benchmarks/structured_output.md) | 90%          | –         | –      | $0.26         | –                        | 15 of 44 | https://pydantic.dev/models/list/gpt-6-astra/structured_output.md |
| [Pydantic AI - LLM Judge](https://pydantic.dev/models/benchmarks/llm_judge.md)                 | 50%          | –         | –      | $0.044        | –                        | 32 of 44 | https://pydantic.dev/models/list/gpt-6-astra/llm_judge.md         |
| [Pydantic AI - Cyber Willing](https://pydantic.dev/models/benchmarks/cyber_willing.md)         | 100%         | –         | –      | $0.077        | –                        | 1 of 32  | https://pydantic.dev/models/list/gpt-6-astra/cyber_willing.md     |

### Other benchmarks


| Benchmark                | Score  | Rank among models tested | What it measures                                                                                 | Source                                    |
| ------------------------ | ------ | ------------------------ | ------------------------------------------------------------------------------------------------ | ----------------------------------------- |
| Intelligence index       | 70.7   | 15                       | Our composite of the benchmarks below, 0-100                                                     | Pydantic, from the sources credited below |
| GPQA Diamond             | 95.8%  | 6                        | Graduate-level science questions, multiple choice                                                | Epoch AI (CC BY 4.0)                      |
| OTIS Mock AIME           | 100%   | 1                        | Competition mathematics problems with exact answers                                              | Epoch AI (CC BY 4.0)                      |
| FrontierMath             | 93.7%  | 2                        | Original research-level mathematics problems, tiers 1 to 3                                       | Epoch AI (CC BY 4.0)                      |
| ARC-AGI-2                | 95%    | 2                        | Abstract visual puzzles that test learning a new rule from a few examples                        | ARC Prize, via Epoch AI (CC BY 4.0)       |
| SimpleQA Verified        | 75.6%  | 5                        | Short factual questions answered from memory, without search                                     | Epoch AI (CC BY 4.0)                      |
| SciCode                  | 56.5%  | 23                       | Scientific programming problems written by researchers                                           | SciCode, via Epoch AI (CC BY 4.0)         |
| APEX-Agents              | 64.7%  | 17                       | Long professional tasks (banking, consulting, law) passed on the first attempt                   | Mercor, via Epoch AI (CC BY 4.0)          |
| LMArena text             | 1441.1 | 53                       | Rating from blind human votes between pairs of chat responses                                    | LMArena (CC BY 4.0)                       |
| FrontierMath Tier 4      | 97.6%  | 4                        | Research-level mathematics problems, the hardest tier, with checkable answers                    | Epoch AI (CC BY 4.0)                      |
| Chess Puzzles            | 74%    | 5                        | Find the single best move in a chess position                                                    | Epoch AI (CC BY 4.0)                      |
| Mystery Game Puzzles     | 84%    | 4                        | Best-move puzzles in an undisclosed well-known game                                              | Epoch AI (CC BY 4.0)                      |
| Furniture Assembly       | 80%    | 5                        | Spot assembly mistakes in photos of flat-pack furniture builds                                   | Epoch AI (CC BY 4.0)                      |
| SimpleBench              | 83.6%  | 8                        | Six-option trick questions that test common sense                                                | SimpleBench, via Epoch AI (CC BY 4.0)     |
| ALE-Bench                | 2951.3 | 3                        | Hard optimisation contest problems, as a rating against human contestants                        | Sakana AI, via Epoch AI (CC BY 4.0)       |
| Browser Use Bench        | 77.9   | 4                        | Tasks on live websites, scored 0-100 against a weighted rubric by an LLM judge                   | Browser Use, with permission              |
| Epoch Capabilities Index | 169.1  | 4                        | Epoch AI's own composite across about 40 benchmarks; shown for comparison, not part of our index | Epoch AI (CC BY 4.0)                      |

## Providers and prices

US dollars per million tokens.

| Provider    | Gateway  | Pydantic AI string                          | Input | Cached input | Output |
| ----------- | -------- | ------------------------------------------- | ----- | ------------ | ------ |
| OpenAI      | built in | `gateway/openai:gpt-6-astra`                | $10   | $1           | $50    |
| AWS Bedrock | built in | `gateway/bedrock:global.openai.gpt-6-astra` | $10   | $1           | $50    |
| OpenRouter  | BYOK     | `openrouter:openai/gpt-6-astra`             | $10   | $1           | $50    |

## Use GPT-6 Astra with Pydantic AI

### hello.py

Ask GPT-6 Astra a question with a Pydantic AI agent and print the answer. Run it with uv run hello.py.

```python
# /// script
# dependencies = ["pydantic-ai"]
# ///
import os

from pydantic_ai import Agent

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'

agent = Agent('gateway/openai:gpt-6-astra', instructions='Be concise, reply with one sentence.')

result = agent.run_sync('Where does "hello world" come from?')
print(result.output)
```

### structured_output.py

Get validated, typed output from GPT-6 Astra by giving the agent a Pydantic model. Run it with uv run structured_output.py.

```python
# /// script
# dependencies = ["pydantic-ai"]
# ///
import os

from pydantic import BaseModel
from pydantic_ai import Agent

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'


class CityLocation(BaseModel):
    city: str
    country: str


agent = Agent('gateway/openai:gpt-6-astra', output_type=CityLocation)

result = agent.run_sync('Where were the olympics held in 2012?')
print(result.output)
#> city='London' country='United Kingdom'
```

### tools.py

Give GPT-6 Astra two tools to call, one of which reads the agent's dependencies. Run it with uv run tools.py.

```python
# /// script
# dependencies = ["pydantic-ai"]
# ///
import os
import random

from pydantic_ai import Agent, RunContext

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'

agent = Agent(
    'gateway/openai:gpt-6-astra',
    deps_type=str,
    instructions="You're a dice game, roll the die and see if it matches the user's guess.",
)


@agent.tool_plain
def roll_dice() -> str:
    """Roll a six-sided die and return the result."""
    return str(random.randint(1, 6))


@agent.tool
def get_player_name(ctx: RunContext[str]) -> str:
    """Get the player's name."""
    return ctx.deps


result = agent.run_sync('My guess is 4', deps='Anne')
print(result.output)
```

### streaming.py

Stream GPT-6 Astra's reply to the terminal as it is generated. Run it with uv run streaming.py.

```python
# /// script
# dependencies = ["pydantic-ai"]
# ///
import asyncio
import os

from pydantic_ai import Agent

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'

agent = Agent('gateway/openai:gpt-6-astra')


async def main():
    async with agent.run_stream('Explain prompt caching in three bullet points.') as response:
        async for text in response.stream_text(delta=True):
            print(text, end='', flush=True)


asyncio.run(main())
```

### pax.sh

Code with GPT-6 Astra in your terminal using Pax, the Pydantic AI coding agent. On macOS, open a new terminal after installing, so pax isn't the system's archiver.

```sh
# uv tool install pydantic-ai-pax
export PYDANTIC_AI_GATEWAY_API_KEY='...'

pax -m 'gateway/openai:gpt-6-astra'
```

### codex.sh

Run OpenAI's Codex CLI on GPT-6 Astra through Pydantic AI Gateway.

```sh
# npm install -g @openai/codex
export PYDANTIC_AI_GATEWAY_API_KEY='...'

codex --model 'gpt-6-astra' \
  -c model_provider='gateway' \
  -c model_providers.gateway.name='Pydantic AI Gateway' \
  -c model_providers.gateway.base_url='https://gateway.pydantic.dev/proxy/openai/v1' \
  -c model_providers.gateway.env_key='PYDANTIC_AI_GATEWAY_API_KEY'
```

### ai_sdk.ts

Call GPT-6 Astra from TypeScript with the Vercel AI SDK, through Pydantic AI Gateway.

```ts
// npm install ai @ai-sdk/openai
import { createOpenAI } from '@ai-sdk/openai'
import { generateText } from 'ai'

process.env.PYDANTIC_AI_GATEWAY_API_KEY = '...'

const openai = createOpenAI({
  baseURL: 'https://gateway.pydantic.dev/proxy/openai',
  apiKey: process.env.PYDANTIC_AI_GATEWAY_API_KEY,
})

const { text } = await generateText({
  model: openai('gpt-6-astra'),
  system: 'Be concise, reply with one sentence.',
  prompt: 'Where does "hello world" come from?',
})
console.log(text)
```

## About GPT-6 Astra

GPT-6 Astra costs $10 per million input tokens and $50 per million output tokens, has a 1.1M token context window and scores 70.7 on our intelligence index, #15 of 101.

GPT-6 Astra is a closed OpenAI model released in September 2026. Its strongest results are on hard reasoning and math: first on OTIS Mock AIME at 100%, second on FrontierMath and ARC-AGI-2, and sixth on GPQA Diamond. Its intelligence index of 75.9 places 13th of 114. Its professional-task and chat-vote results are less distinctive.

Cost is its main drawback. At $10 per million input tokens and $50 per million output tokens, the $20 blended price is about twenty times the registry median. It supports a 1.05M token context window, tool calling, reasoning mode and structured output, and is offered by three providers.

**Strengths**

- Intelligence index 75.9, 13th of 114, well above the 59.5 median
- ARC-AGI-2 score of 95%, 2nd of 68
- 93.7% on FrontierMath, 2nd of 80
- 1800 WebDev Arena rating, 2nd of 85

**Weaknesses**

- Blended price of $20 per million tokens, 182nd of 194 on price
- Intelligence per dollar of 3.8 ranks 108th of 194
- Closed weights, so it cannot be self-hosted

**Best for:** Hard math, science and reasoning work where accuracy matters more than cost, plus web app generation.

## How it did on the Pydantic AI benchmarks

Written by an LLM from reviews of every run.

#### Overall
Across five benchmarks the model scored strongly on rule-heavy computation and extraction (SQL data analysis 100% in both modes, Structured output 90%, Billing ops 90% tools / 80% code mode, Research & deck 81% tools / 93% code mode) and weakly on calibrated judgment (LLM Judge 50%). Runs had no provider failures, and most failures came from incomplete audit logic or borderline interpretation, not execution errors. Code mode cut cost substantially on bulk-data tasks but did not raise pass rates.

#### Strengths
- In Billing ops, both modes passed all payment, debt, correction and margin cases, including oldest-due-first allocation, integer-pence conversion and explicit `ROUND_HALF_UP` handling.
- In SQL data analysis, all 20 runs reached optimal answers on complex objectives such as backward latest-departure routing, two-person meetings and tours with opening windows.
- In Structured output, it kept group and parent figures and comparative periods separate, converted `£000` amounts correctly, and chose the lease liability over a nearby future-payment figure.
- In Research & deck, both runs reconciled conflicting revenue evidence, fell back to `view_pdf` when text extraction failed, and passed `check_deck` on the first call.
- In LLM Judge, it extracted concrete evidence accurately and caught location mismatches, such as milestones on slide 7 not meeting a last-slide requirement.

#### Weaknesses
- In Billing ops, only one of four general overcharge audits passed, because runs checked attendance selectively or did not enforce one charge per student per lesson.
- In LLM Judge, it agreed with the references on only 3 of 7 support reviews, and its misses came from literal readings of semantic coverage and assurances.
- In SQL data analysis, all 20 runs first used unquoted `at` in SQL and needed to recover from parser errors, and four more syntax errors followed.
- In Structured output, a passing run left group `investment_property` as `null` even though a note disclosed the value, so unchecked fields can still be wrong.
- In Research & deck, both modes gathered evidence they never used, such as unused market pages and extra calculated metrics.

#### Tool calling compared with code mode
- In Billing ops, code mode cost $1.4627 against $18.1597 for tools (about 92% less) with half the model requests, but passed one fewer case.
- In Billing ops, the largest savings came on bulk scans, with duplicate detection falling from $4.4135 to $0.1701, while small lookups sometimes cost more in code mode.
- In SQL data analysis, code mode used 22.9% fewer requests and cost 20.2% less, yet one tour run still made 325 paginated SQL reads.
- In Research & deck, code mode used 60% more requests than tools but cost about 5.9% less, and neither mode needed validation fixes.
- In SQL data analysis, tools mode bundled several `SELECT`s of which only the last returned, while code mode sometimes ran fixed iteration counts past convergence.

Prices come from [genai-prices](https://github.com/pydantic/genai-prices), in US dollars per million tokens. Benchmark scores come from Epoch AI and LMArena (CC BY 4.0), Browser Use, and our own Pydantic AI benchmarks (CC BY 4.0); the index and its sources are described at https://pydantic.dev/models/methodology.md. Data built 2026-11-30. This model from the API: `https://pydantic.dev/models/api/models/gpt-6-astra`. Compare it with others: `https://pydantic.dev/models/api/models?slug=gpt-6-astra,<other slug>`
