{"slug":"gpt-6.2-sol","name":"GPT-6.2 Sol","family":"openai","family_name":"OpenAI","developer":"OpenAI","color":"#10a37f","status":"active","released":"2026-11-17","snapshot_of":null,"open":false,"context":1050000,"max_output":128000,"knowledge_cutoff":"2026-06","modalities":["text","image","file"],"output_modalities":["text"],"reasoning":true,"tools":true,"structured_output":true,"huggingface":null,"speed":72,"latency":2.74,"short":"A closed-weights model from OpenAI, released November 2026, with a 1M context window. Its standout results are abstract reasoning and professional agent tasks, offset by a high price.","strengths":["85.8% on ARC-AGI-2, 14th of 68","66.6% on APEX-Agents, 14th of 60","Intelligence index 68.8, 27th of 114, above the 59.5 median","Supports tool calling, structured output and reasoning mode, and is built into the Pydantic AI Gateway"],"weaknesses":["Blended price $4 per million tokens, 147th of 194 on price","LMArena text rating 1413.7, 85th of 114, below the median","Served only by OpenAI, with closed weights"],"best_for":"Agents doing hard reasoning or long professional tasks with large documents, where cost per token matters less than accuracy.","long":"GPT-6.2 Sol is a closed-weights OpenAI model released in November 2026. It has a 1M-token context window, up to 128k tokens of output, and accepts text, images and files. It supports tool calling, reasoning mode and structured output.\n\nIts strongest results are on agent-style work: 85.8% on ARC-AGI-2 and 66.6% on APEX-Agents, both 14th on their lists. Its intelligence index of 68.8 ranks 27th of 114, but its LMArena text rating sits below the median, at 85th of 114.\n\nThe main trade-off is cost. At $2 per million input tokens and $10 per million output, its blended price of $4 is far above the median and ranks 147th of 194.","described":true,"gateway":true,"byok":true,"string":"gateway/openai:gpt-6.2-sol","input":2,"output":10,"cache_read":0.1,"blended":4,"efficiency":17.2,"bench":{"index":68.8,"arc_agi_2":85.8,"apex":66.6,"lmarena":1413.7},"offers":[{"provider":"openai","name":"OpenAI","model_id":"gpt-6.2-sol","api":["openai"],"input":2,"output":10,"cache_read":0.1,"cache_write":2.5,"input_tiers":[{"start":272000,"price":4}],"output_tiers":[{"start":272000,"price":15}],"context":1050000,"deprecated":false,"gateway":true,"gateway_route":"openai","byok":true,"string":"openai:gpt-6.2-sol","gateway_string":"gateway/openai:gpt-6.2-sol"}],"ranks":{"intelligence":26,"popularity":26,"efficiency":82,"speed":82,"price":147},"top_score":0.8085,"about":["A closed-weights model from OpenAI, released November 2026, with a 1M context window. Its standout results are abstract reasoning and professional agent tasks, offset by a high price.","GPT-6.2 Sol is a closed-weights OpenAI model released in November 2026. It has a 1M-token context window, up to 128k tokens of output, and accepts text, images and files. It supports tool calling, reasoning mode and structured output.","Its strongest results are on agent-style work: 85.8% on ARC-AGI-2 and 66.6% on APEX-Agents, both 14th on their lists. Its intelligence index of 68.8 ranks 27th of 114, but its LMArena text rating sits below the median, at 85th of 114.","The main trade-off is cost. At $2 per million input tokens and $10 per million output, its blended price of $4 is far above the median and ranks 147th of 194."],"examples":[{"file":"hello.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport os\n\nfrom pydantic_ai import Agent\n\nos.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'\n\nagent = Agent('gateway/openai:gpt-6.2-sol', instructions='Be concise, reply with one sentence.')\n\nresult = agent.run_sync('Where does \"hello world\" come from?')\nprint(result.output)","soon":false},{"file":"structured_output.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport os\n\nfrom pydantic import BaseModel\nfrom pydantic_ai import Agent\n\nos.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'\n\n\nclass CityLocation(BaseModel):\n    city: str\n    country: str\n\n\nagent = Agent('gateway/openai:gpt-6.2-sol', output_type=CityLocation)\n\nresult = agent.run_sync('Where were the olympics held in 2012?')\nprint(result.output)\n#> city='London' country='United Kingdom'","soon":false},{"file":"tools.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport os\nimport random\n\nfrom pydantic_ai import Agent, RunContext\n\nos.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'\n\nagent = Agent(\n    'gateway/openai:gpt-6.2-sol',\n    deps_type=str,\n    instructions=\"You're a dice game, roll the die and see if it matches the user's guess.\",\n)\n\n\n@agent.tool_plain\ndef roll_dice() -> str:\n    \"\"\"Roll a six-sided die and return the result.\"\"\"\n    return str(random.randint(1, 6))\n\n\n@agent.tool\ndef get_player_name(ctx: RunContext[str]) -> str:\n    \"\"\"Get the player's name.\"\"\"\n    return ctx.deps\n\n\nresult = agent.run_sync('My guess is 4', deps='Anne')\nprint(result.output)","soon":false},{"file":"streaming.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport asyncio\nimport os\n\nfrom pydantic_ai import Agent\n\nos.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'\n\nagent = Agent('gateway/openai:gpt-6.2-sol')\n\n\nasync def main():\n    async with agent.run_stream('Explain prompt caching in three bullet points.') as response:\n        async for text in response.stream_text(delta=True):\n            print(text, end='', flush=True)\n\n\nasyncio.run(main())","soon":false},{"file":"pax.sh","lang":"sh","code":"export PYDANTIC_AI_GATEWAY_API_KEY='...'\n\nuvx pax --model 'gateway/openai:gpt-6.2-sol'","soon":true},{"file":"pi.sh","lang":"sh","code":"# npm install -g @earendil-works/pi-coding-agent\nexport PYDANTIC_AI_GATEWAY_API_KEY='...'\n\n# pi has no built-in Gateway provider, so register one.\n# Merge this by hand if you already have a models.json.\nmkdir -p ~/.pi/agent\ncat > ~/.pi/agent/models.json <<'EOF'\n{\n  \"providers\": {\n    \"pydantic-ai-gateway\": {\n      \"baseUrl\": \"https://gateway.pydantic.dev/proxy/openai/v1\",\n      \"api\": \"openai-responses\",\n      \"apiKey\": \"$PYDANTIC_AI_GATEWAY_API_KEY\",\n      \"models\": [\n        {\n          \"id\": \"gpt-6.2-sol\"\n        }\n      ]\n    }\n  }\n}\nEOF\n\npi --provider pydantic-ai-gateway --model 'gpt-6.2-sol'","soon":false},{"file":"codex.sh","lang":"sh","code":"# npm install -g @openai/codex\nexport PYDANTIC_AI_GATEWAY_API_KEY='...'\n\ncodex --model 'gpt-6.2-sol' \\\n  -c model_provider='gateway' \\\n  -c model_providers.gateway.name='Pydantic AI Gateway' \\\n  -c model_providers.gateway.base_url='https://gateway.pydantic.dev/proxy/openai/v1' \\\n  -c model_providers.gateway.env_key='PYDANTIC_AI_GATEWAY_API_KEY'","soon":false},{"file":"ai_sdk.ts","lang":"ts","code":"// npm install ai @ai-sdk/openai\nimport { createOpenAI } from '@ai-sdk/openai'\nimport { generateText } from 'ai'\n\nprocess.env.PYDANTIC_AI_GATEWAY_API_KEY = '...'\n\nconst openai = createOpenAI({\n  baseURL: 'https://gateway.pydantic.dev/proxy/openai',\n  apiKey: process.env.PYDANTIC_AI_GATEWAY_API_KEY,\n})\n\nconst { text } = await generateText({\n  model: openai('gpt-6.2-sol'),\n  system: 'Be concise, reply with one sentence.',\n  prompt: 'Where does \"hello world\" come from?',\n})\nconsole.log(text)","soon":false}],"benchmarks":[{"id":"index","name":"Intelligence index","unit":"","desc":"Our composite of the benchmarks below, 0-100","category":"reference","floor":0,"ceiling":100,"url":"/methodology/","credit":"Pydantic, from the sources credited below"},{"id":"arc_agi_2","name":"ARC-AGI-2","unit":"%","desc":"Abstract visual puzzles that test learning a new rule from a few examples","category":"reasoning","floor":0,"ceiling":100,"url":"https://arcprize.org/leaderboard","credit":"ARC Prize, via Epoch AI (CC BY 4.0)"},{"id":"apex","name":"APEX-Agents","unit":"%","desc":"Long professional tasks (banking, consulting, law) passed on the first attempt","category":"agents","floor":0,"ceiling":100,"url":"https://epoch.ai/benchmarks","credit":"Mercor, via Epoch AI (CC BY 4.0)"},{"id":"lmarena","name":"LMArena text","unit":"","desc":"Rating from blind human votes between pairs of chat responses","category":"preference","floor":1100,"ceiling":1600,"url":"https://lmarena.ai/leaderboard/text","credit":"LMArena (CC BY 4.0)"}],"generated":"2026-11-25","gaps":{"speed":3,"index":80,"description":0}}