GPT-6.2 is OpenAI's November 17, 2026 model family, shipped as two API models: gpt-6.2-astra, the frontier model for the hardest coding, reasoning and computer-use work, and gpt-6.2-sol, the efficient everyday model for multistep agent and general tasks. Astra costs $8 per million input tokens and $40 per million output tokens; Sol costs $2 and $10. Both have a 1,050,000-token context window, 128,000 max output tokens, and run on the Responses API and Chat Completions, but tool calling requires the Responses API.
The models themselves are a straightforward swap. The parts that break existing integrations are around them: instructions now behaves differently, editing conversation history drops reasoning, Flex processing is gone for these models, and a few sampling parameters are rejected. This guide covers which variant to pick, exact pricing including the long-context and cache-write rules, a working Responses API loop, and a migration checklist. Prices are as of December 2026 from OpenAI's model pages.
GPT-6.2 Astra vs GPT-6.2 Sol: what each variant is for
OpenAI's launch post positions Astra as "a new frontier model for the hardest projects" (complex professional work, coding, computer use and scientific work) and Sol as an efficient, versatile model for everyday multistep agentic work. The API changelog entry for November 17 phrases it as Astra for demanding reasoning and coding, and Sol for everyday coding and agent workflows. On November 24 OpenAI updated chat-latest and recommended the GPT-6.2 family for production.
The specs are nearly identical. The Astra model page and Sol model page list:
gpt-6.2-astra |
gpt-6.2-sol |
|
|---|---|---|
| Context window | 1,050,000 tokens | 1,050,000 tokens |
| Max input | 922,000 tokens | 922,000 tokens |
| Max output | 128,000 tokens | 128,000 tokens |
| Knowledge cutoff | May 18, 2026 | June 1, 2026 |
| Input modalities | Text, image | Text, image |
| Endpoints | Responses, Chat Completions, Batch | Responses, Chat Completions, Batch |
| Not supported | Realtime, Assistants, fine-tuning, predicted outputs | Same |
Reasoning effort none |
Rejected | Rejected |
Hosted tools in the Responses API are the same for both: web search, file search, image generation, code interpreter, hosted shell, apply patch, skills, computer use, MCP and tool search.
The practical difference is cost and ceiling. OpenAI's vendor-reported numbers frame Sol as close to Astra on coding: on Cognition's FrontierCode 2.0 it says Sol lands within 0.5 points of Astra at roughly a fifth of the cost, with both at max effort. On its internal GDPval v2, OpenAI reports Astra up 6.2 points over GPT-6 Astra with 22% fewer output tokens, and Sol up 5.3 points over GPT-6.1 Sol. Those are OpenAI's claims on OpenAI's chosen evaluations; the useful takeaway is "try Sol first and escalate", which is also what the per-task prices push you toward.
GPT-6.2 pricing in detail
All figures are per million tokens on OpenAI's standard tier, from the model pages, checked December 2026:
| Rate | Astra | Sol |
|---|---|---|
| Input | $8.00 | $2.00 |
| Cached input | $0.40 | $0.10 |
| Cache write, 30-minute retention | $10.00 | $2.50 |
| Cache write, 12-hour retention | $20.00 | $5.00 |
| Output (includes reasoning tokens) | $40.00 | $10.00 |
Rules that change the bill:
- Long context. Requests over 272K input tokens pay double for input and cache rates and 1.5x for output, on the whole request. For Astra that is $16 in and $60 out. If you were planning to stuff 800K tokens into every call because the window allows it, price that first.
- Batch is 50% of standard. Fast mode is 2x. Ultrafast is 3x standard through February 28, 2027, rising to 6x from March 1, 2027 (Pacific time).
- No Flex. The changelog says new models won't support Flex processing. The replacement is two new background completion windows in the Responses API beta, two-hour and eight-hour, at token rates 30% and 40% below standard.
- Reasoning tokens bill as output. Read
usage.output_tokens_details.reasoning_tokensto see how much of your output bill is thinking.
Relative to the previous generation, OpenAI says Astra's input and output prices are 20% lower than GPT-6 Astra's, and Sol keeps GPT-6.1 Sol's prices.
Where GPT-6.2 is available
- OpenAI API: both models, with Ultrafast available at launch. Per OpenAI's latest-model guide, Standard, Fast and Batch support US and EU data residency; Ultrafast is US-only.
- ChatGPT and Codex: the ChatGPT what's-new note says both launched November 17 in ChatGPT Work and Codex for Plus, Pro, Business, Enterprise and Edu. New Work chats on consumer plans default to Sol at Light effort; Enterprise and Edu admins must enable the models first.
- Microsoft Foundry: Microsoft announced general availability on November 17 on Global Standard, Data Zone Standard and Global Provisioned Throughput, with Global Standard prices matching OpenAI's and Data Zone priced higher.
- Google Cloud: OpenAI's model pages list both IDs in private preview.
Calling GPT-6.2 with the Responses API
Here is a complete tool-calling loop against gpt-6.2-sol. It is stateless (store=False), appends every output item back in order (including reasoning items, which carry encrypted_content in stateless mode), and puts stable instructions in the first developer message rather than the top-level instructions field. I ran it against a local mock of the Responses API with openai Python SDK 3.62.2 to check the request shapes and the loop; I did not run it against OpenAI's servers.
import json
from openai import OpenAI
client = OpenAI()
tools = [{
"type": "function",
"name": "get_invoice",
"description": "Fetch an invoice by ID from the billing service.",
"strict": True,
"parameters": {
"type": "object",
"properties": {"invoice_id": {"type": "string"}},
"required": ["invoice_id"],
"additionalProperties": False,
},
}]
def get_invoice(invoice_id: str) -> dict:
return {"invoice_id": invoice_id, "status": "overdue", "amount_usd": 1840.00}
# Stable, cacheable instructions go in the FIRST developer message, not `instructions`.
items = [
{"role": "developer", "content": "You are a billing support agent. Be concise."},
{"role": "user", "content": "Why was INV-2291 flagged?"},
]
def step(items, effort="medium"):
return client.responses.create(
model="gpt-6.2-sol",
input=items,
tools=tools,
reasoning={"effort": effort},
prompt_cache_options={"ttl": "30m"},
store=False, # stateless: reasoning items come back with encrypted_content
)
resp = step(items)
while True:
items += resp.output # append everything, including reasoning items, in order
calls = [o for o in resp.output if o.type == "function_call"]
if not calls:
break
for call in calls:
result = get_invoice(**json.loads(call.arguments))
items.append({"type": "function_call_output", "call_id": call.call_id,
"output": json.dumps(result)})
resp = step(items)
print(resp.output_text)
print("reasoning tokens:", resp.usage.output_tokens_details.reasoning_tokens)
A few choices in that code are deliberate:
effort="medium"is OpenAI's recommended starting point for a new integration. The reasoning guide listsnone,minimal,low,medium,high,xhighandmaxacross models; GPT-6.2 rejectsnone, and the migration advice is to uselowwhere you previously usednoneorminimal.- The same
efforton every call. Changingreasoning.effortbetween requests counts as a prefix change (see below). The loop keeps it fixed. prompt_cache_options={"ttl": "30m"}replaces the olderprompt_cache_retentionparameter. The 12-hour TTL is available but its cache write costs twice the 30-minute write, so only use it for prefixes you genuinely reuse across hours.
If the raw JSON of a response or tool schema is hard to read while debugging, paste it into a JSON formatter. For a deeper walkthrough of the Responses API item model itself, our Assistants API to Responses API migration guide covers the basics this post assumes.
The GPT-6.2 change that breaks prompts: instructions and preserved reasoning
This is the part of the release most likely to cause a silent regression rather than an error.
Top-level instructions moved
From GPT-6.2, per OpenAI's preserved reasoning guide, top-level instructions are treated as turn-scoped developer messages: the API appends them after input and bills them at the uncached input rate. On earlier models, instructions sat at the front of the prompt and changing it counted as a prefix change.
What to do: move your long, stable system prompt into a developer message as the first item of input, where it caches. Use instructions only for guidance that applies to this one request. To update persistent instructions mid-conversation, append a new developer message instead of editing the first one.
Editing history drops reasoning
GPT-6.2 works best when its reasoning is preserved across requests and new instructions are appended. If you change the prefix (edit an earlier message, change tools, switch effort, downgrade models, change the end user or organisation), the Responses API drops the reasoning items that follow the change. You do not get an error. You get more tokens, higher latency, and possibly worse answers.
The append-only alternatives OpenAI documents:
| Instead of | Append this |
|---|---|
Changing reasoning.effort |
A configuration_update item with reasoning.effort |
Changing text.format (structured output) |
A configuration_update item with text.format |
Adding a tool to tools |
An additional_tools item (developer role) |
| Restricting tools for one turn | tool_choice with allowed_tools |
| Trimming old turns yourself | OpenAI compaction (/responses/compact or context_management) |
For example, to raise effort for a hard follow-up without invalidating the earlier reasoning:
items.append({"type": "configuration_update", "reasoning": {"effort": "high"}})
items.append({"role": "user", "content": "Now reconcile it against the ledger export."})
To audit, each response carries input_transformations listing removed reasoning items and why (prefix_mismatch means you edited something), and the Prompt Cache Diagnostics option prompt_cache_options.comparison_response_id points at the first difference against an earlier response. Logging input_transformations for a week before full rollout is cheap insurance.
Migrating to GPT-6.2 from earlier GPT models
The checklist I would follow, assembled from the latest-model guide, the reasoning guide and the November 17 changelog:
- Change
modeltogpt-6.2-sol(start here) orgpt-6.2-astra. - Remove sampling parameters. On Responses, omit
temperature,top_pandtop_logprobs, and removemessage.output_text.logprobsfrominclude. On Chat Completions, omittemperature,top_p,logprobsandtop_logprobs. - Fix effort values.
noneandminimalbecomelow. Start new integrations atmedium. - Move tool-calling routes to Responses. Chat Completions works for plain generation on these models, but tool calling requires the Responses API.
- Move stable instructions from
instructionsinto the firstdevelopermessage. - Make history append-only and switch effort/format/tool changes to the items in the table above.
- Replace
prompt_cache_retentionwithprompt_cache_options.ttl(from GPT-5.5 or earlier). - Replace Flex (
service_tier: "flex") with background mode completion windows, or accept standard pricing. - Check ZDR behaviour. Under Zero Data Retention,
storeis treated asfalse; pass prior output items back in order, including encrypted reasoning items. OpenAI's data controls page lists which endpoints are ZDR-eligible; Batches, for example, are not. - Re-baseline cost per task. Reasoning tokens are output tokens, and effort defaults may differ from what you ran before.
If your stack is on the Agents API rather than raw Responses calls, the model swap is usually a config change; our OpenAI Agents API tutorial shows where the model is set.
Structured output on GPT-6.2
Both models support structured outputs and strict function calling. If you depend on a client library to coerce outputs into types, the libraries compared in Instructor vs Outlines still work, but native text.format with a JSON schema is the more direct path now. Remember that changing the schema mid-conversation should go through a configuration_update item, not a new text.format on the request.
A worked cost example for GPT-6.2 Sol vs Astra
Take an agent turn with 80K input tokens, of which 60K hit the prompt cache, and 6K output tokens including reasoning. Standard tier, short context (under 272K), cache writes ignored:
| Model | Uncached input (20K) | Cached input (60K) | Output (6K) | Per turn |
|---|---|---|---|---|
gpt-6.2-sol |
$0.040 | $0.006 | $0.060 | $0.106 |
gpt-6.2-astra |
$0.160 | $0.024 | $0.240 | $0.424 |
Astra is exactly 4x Sol per token. Whether it is 4x per task depends on how many turns each needs and how long each thinks. Run both at the same effort on a sample of real tasks and compare total cost per completed task, not per request. If other vendors are on your shortlist, our GPT-6.2 vs Claude Fable 5.2 vs Gemini 4 comparison runs the same per-task calculation across all three. The cache column also shows why the instruction placement change matters: if your 60K stable prefix stopped caching because it moved into instructions, Sol's turn cost would rise from $0.106 to $0.220.
Caching behaviour across providers differs in TTLs and write costs; our prompt caching comparison explains the mechanics if you run more than one vendor.
Frequently Asked Questions
What are the GPT-6.2 API model names?
gpt-6.2-astra and gpt-6.2-sol. OpenAI's model pages list no dated snapshots or aliases for them. Healthcare configurations named gpt-6.2-astra-healthcare and gpt-6.2-sol-healthcare were added to the Responses API on November 24, 2026.
How much does GPT-6.2 cost?
As of December 2026, Astra is $8 input, $0.40 cached input and $40 output per million tokens; Sol is $2, $0.10 and $10. Requests over 272K input tokens pay double for input and 1.5x for output. Batch is 50% off, Fast mode 2x, Ultrafast 3x until February 28, 2027.
Should I use GPT-6.2 Sol or Astra?
Start with Sol. It is a quarter of Astra's per-token price, and OpenAI reports it within half a point of Astra on Cognition's FrontierCode 2.0 coding benchmark (vendor-reported). Escalate individual routes to Astra where your evaluations show Sol failing, typically long, open-ended reasoning or computer-use tasks.
Does GPT-6.2 work with Chat Completions?
Yes for plain generation, structured output and streaming. Tool calling requires the Responses API, so any agent or function-calling route should move to Responses.
Why did my GPT-6.2 costs go up after upgrading?
The most common causes are a long system prompt passed as instructions (now appended after input and billed uncached), mid-conversation edits that drop preserved reasoning, a higher effort level than before, and prompts crossing the 272K long-context threshold.
Is GPT-6.2 available in ChatGPT?
Yes. Since November 17, 2026 both models are in ChatGPT Work and Codex for Plus, Pro, Business, Enterprise and Edu, with Sol as the default for new Work chats on consumer plans. Enterprise and Edu admins must enable them in workspace settings.
Conclusion
GPT-6.2 is two models with one API surface: Sol for most traffic at $2 / $10, Astra for the hard tail at $8 / $40. The model swap takes a minute; the work is in the conventions around it. Move stable instructions into the first developer message, keep history append-only and use configuration_update and additional_tools items instead of editing requests, drop sampling parameters, and put every tool-calling route on the Responses API. Do that and measure cost per finished task, and the upgrade should make your agents cheaper, not just smarter.