---
title: "GPT-6 Sol"
description: "A closed-weights model from OpenAI, released September 2026, with a large context window and top-tier math and reasoning scores. It is priced well above the registry median."
canonical: https://pydantic.dev/models/list/gpt-6-sol/
---

# GPT-6 Sol

> A closed-weights model from OpenAI, released September 2026, with a large context window and top-tier math and reasoning scores. It is priced well above the registry median.
>
> Markdown copy of https://pydantic.dev/models/list/gpt-6-sol/. 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-sol`.

## Spec sheet

- **Family:** OpenAI
- **Released:** 22 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:** 64.9 (rank 30)
- **Scores updated:** 2026-11-30
- **Price:** $2 input, $10 output, $4 blended per 1M tokens
- **Index points per $:** 16.2 (rank 74)
- **Speed:** 80 tokens/sec (rank 66)
- **Popularity:** rank 49 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)                  | 66.7%        | 68.2%     | +5.7   | $0.11         | $0.12                    | 26 of 44 | https://pydantic.dev/models/list/gpt-6-sol/pydantic_ai.md       |
| [Pydantic AI - Billing ops](https://pydantic.dev/models/benchmarks/billing_ops.md)             | 60%          | 80%       | +20    | $0.13         | $0.037                   | 31 of 44 | https://pydantic.dev/models/list/gpt-6-sol/billing_ops.md       |
| [Pydantic AI - Customer support](https://pydantic.dev/models/benchmarks/customer_support.md)   | 40%          | 40%       | ±0     | $0.041        | $0.043                   | 22 of 44 | https://pydantic.dev/models/list/gpt-6-sol/customer_support.md  |
| [Pydantic AI - SQL data analysis](https://pydantic.dev/models/benchmarks/sql_data_analysis.md) | 90%          | 90%       | ±0     | $0.15         | $0.16                    | 11 of 44 | https://pydantic.dev/models/list/gpt-6-sol/sql_data_analysis.md |
| [Pydantic AI - Research & deck](https://pydantic.dev/models/benchmarks/research_deck.md)       | 60%          | 63%       | +3     | $0.30         | $0.25                    | 37 of 44 | https://pydantic.dev/models/list/gpt-6-sol/research_deck.md     |
| [Pydantic AI - Structured output](https://pydantic.dev/models/benchmarks/structured_output.md) | 100%         | –         | –      | $0.052        | –                        | 1 of 44  | https://pydantic.dev/models/list/gpt-6-sol/structured_output.md |
| [Pydantic AI - LLM Judge](https://pydantic.dev/models/benchmarks/llm_judge.md)                 | 50%          | –         | –      | $0.0097       | –                        | 32 of 44 | https://pydantic.dev/models/list/gpt-6-sol/llm_judge.md         |
| [Pydantic AI - Cyber Willing](https://pydantic.dev/models/benchmarks/cyber_willing.md)         | 100%         | –         | –      | $0.017        | –                        | 1 of 32  | https://pydantic.dev/models/list/gpt-6-sol/cyber_willing.md     |

### Other benchmarks


| Benchmark                | Score  | Rank among models tested | What it measures                                                                                 | Source                                    |
| ------------------------ | ------ | ------------------------ | ------------------------------------------------------------------------------------------------ | ----------------------------------------- |
| Intelligence index       | 64.9   | 30                       | Our composite of the benchmarks below, 0-100                                                     | Pydantic, from the sources credited below |
| GPQA Diamond             | 94.3%  | 13                       | 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             | 89.8%  | 10                       | Original research-level mathematics problems, tiers 1 to 3                                       | Epoch AI (CC BY 4.0)                      |
| ARC-AGI-2                | 89.6%  | 13                       | Abstract visual puzzles that test learning a new rule from a few examples                        | ARC Prize, via Epoch AI (CC BY 4.0)       |
| SimpleQA Verified        | 60.7%  | 21                       | Short factual questions answered from memory, without search                                     | Epoch AI (CC BY 4.0)                      |
| SciCode                  | 57.6%  | 19                       | Scientific programming problems written by researchers                                           | SciCode, via Epoch AI (CC BY 4.0)         |
| APEX-Agents              | 54.3%  | 30                       | Long professional tasks (banking, consulting, law) passed on the first attempt                   | Mercor, via Epoch AI (CC BY 4.0)          |
| LMArena text             | 1397.9 | 93                       | Rating from blind human votes between pairs of chat responses                                    | LMArena (CC BY 4.0)                       |
| FrontierMath Tier 4      | 90%    | 10                       | Research-level mathematics problems, the hardest tier, with checkable answers                    | Epoch AI (CC BY 4.0)                      |
| Chess Puzzles            | 56%    | 19                       | Find the single best move in a chess position                                                    | Epoch AI (CC BY 4.0)                      |
| Mystery Game Puzzles     | 56%    | 15                       | Best-move puzzles in an undisclosed well-known game                                              | Epoch AI (CC BY 4.0)                      |
| Furniture Assembly       | 58.3%  | 13                       | Spot assembly mistakes in photos of flat-pack furniture builds                                   | Epoch AI (CC BY 4.0)                      |
| SimpleBench              | 73.1%  | 22                       | Six-option trick questions that test common sense                                                | SimpleBench, via Epoch AI (CC BY 4.0)     |
| ALE-Bench                | 2462   | 8                        | Hard optimisation contest problems, as a rating against human contestants                        | Sakana AI, via Epoch AI (CC BY 4.0)       |
| Browser Use Bench        | 79.4   | 2                        | Tasks on live websites, scored 0-100 against a weighted rubric by an LLM judge                   | Browser Use, with permission              |
| Epoch Capabilities Index | 163.7  | 15                       | 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-sol`                | $2    | $0.2         | $10    |
| AWS Bedrock | built in | `gateway/bedrock:global.openai.gpt-6-sol` | $2    | $0.2         | $10    |
| OpenRouter  | BYOK     | `openrouter:openai/gpt-6-sol`             | $2    | $0.2         | $10    |

## Use GPT-6 Sol with Pydantic AI

### hello.py

Ask GPT-6 Sol 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-sol', 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 Sol 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-sol', 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 Sol 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-sol',
    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 Sol'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-sol')


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 Sol 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-sol'
```

### codex.sh

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

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

codex --model 'gpt-6-sol' \
  -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 Sol 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-sol'),
  system: 'Be concise, reply with one sentence.',
  prompt: 'Where does "hello world" come from?',
})
console.log(text)
```

## About GPT-6 Sol

GPT-6 Sol costs $2 per million input tokens and $10 per million output tokens, has a 1.1M token context window and scores 64.9 on our intelligence index, #30 of 101.

GPT-6 Sol is a closed-weights model from OpenAI, released September 2026. It has a 1M-token context window and up to 128k tokens of output. It accepts text, image and file input and supports tool calling, reasoning mode and structured output. It is available through OpenAI, AWS Bedrock and OpenRouter, and its knowledge cutoff is April 2026.

Its strongest results are in mathematics and reasoning. It ranks first of 95 on OTIS Mock AIME at 100%, and sits in the top 11 on FrontierMath and ARC-AGI-2. Its overall intelligence index of 68.1 ranks 29th of 114, above the registry median of 59.5.

The main drawback is cost. At $4 per million tokens blended, it is far above the registry median of about $1, and its intelligence per dollar ranks 83rd of 194. Its LMArena rating sits below the median, so it is not a standout in blind human chat preference.

**Strengths**

- 100% on OTIS Mock AIME, 1st of 95
- 89.8% on FrontierMath, 10th of 80
- 89.6% on ARC-AGI-2, 11th of 68
- 1689.3 on WebDev Arena, 6th of 85

**Weaknesses**

- Blended price of $4 per million tokens, far above the median
- LMArena text rating 1397.9, 93rd of 114, below median
- Intelligence per dollar ranks 83rd of 194

**Best for:** Hard math, science and coding tasks where accuracy matters more than cost, and long-context reasoning agents.

## How it did on the Pydantic AI benchmarks

Written by an LLM from reviews of every run.

#### Overall
Across five Pydantic benchmarks the model retrieved and extracted data reliably but was inconsistent at applying every rule a task required. It passed all 10 Structured output cases and 18/20 SQL data analysis runs, scored 60–80% on Billing ops, passed 0 of 2 Research & deck runs, and passed 5/10 LLM Judge cases. Code mode matched or beat tool calling on accuracy in every benchmark that ran both modes, and it cut cost sharply on Billing ops.

#### Strengths
- On Structured output it passed all 10 cases with one submission each, handling £000 conversion, sign conventions, and the split between group and parent figures at an average cost of $0.0522 per case.
- On Billing ops both modes allocated payments oldest-first correctly and kept the invoice-correction sequence, and code mode checked 384 invoices against 2655 lessons to find all three missed-billing violations.
- On SQL data analysis it handled the midnight rollover, departure-profile frontiers, and window-constrained tours, passing every task type except `tour` in both modes.
- On LLM Judge it separated concrete evidence such as a 28.3% purchase-decision rate from actual sales and correctly rejected the requested slide sequence in all three decks.
- On Research & deck it combined database, PDF, interview and image sources into corrected revenue and fleet figures, switching from `pdf_text` to `view_pdf` to recover contract evidence.

#### Weaknesses
- On Billing ops neither mode passed either general wrong-invoice audit, because the model left out duplicate-pair and eligibility checks even when it had retrieved all the data.
- On SQL data analysis every run hit at least one SQL or Python error (27 in tool calling, 28 in code mode), and the tool-calling tour broke the single-walk rule at visit transitions.
- On Research & deck both runs showed two trials as future goals despite dated evidence placing them at the trial stage, and code mode turned "decided to buy" into "bought".
- On Structured output five passing conversations dropped disclosed zero values, so the pass flags overstate how complete the output was.
- On LLM Judge it failed 5/7 support-reply cases by applying stricter readings of `no_contradiction` and `no_false_promise` than the benchmark accepts.

#### Tool calling compared with code mode
- On Billing ops code mode raised the pass rate from 6/10 to 8/10 and cut cost from $1.3147 to $0.3692, even though it used 80 requests against 58.
- On Billing ops code mode fixed the large missed-billing and margin failures through exhaustive retrieval, but it found fewer violations than tool calling on the small overcharge audit.
- On SQL data analysis accuracy was the same at 9/10 per mode, and code mode used 12.1% fewer requests but cost slightly more ($1.5528 against $1.5135) and added import errors.
- On Research & deck code mode used 20 requests against 9 at about 15% lower cost and gave a fuller recall disclosure, but it hardcoded inconsistent chart scales and neither mode passed.

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-sol`. Compare it with others: `https://pydantic.dev/models/api/models?slug=gpt-6-sol,<other slug>`
