OpenAI · Checked October 13, 2026

How do I use GPT-5.6 Terra in Codex?

Run Codex through Standard Compute with the model ID openai/gpt-5.6-terra: GPT-5.6 Terra is on every monthly plan from $19, each plan is a fixed compute budget, and at 100% new requests get HTTP 402. The same key works in OpenCode, Cline and Kilo Code, and no OpenAI usage tier is involved.

GitHub Copilot retires GPT-5.6 Terra on November 16, 2026. OpenAI's API and Standard Compute keep serving it, and in Copilot it can come back as a Custom Endpoint model. What changes and how to keep it →

ModelThe middle tier of OpenAI's GPT-5.6 family, released July 9, 2026 for work that balances intelligence and cost. It has a 1.05M-token context window and 128K max output.
Model IDopenai/gpt-5.6-terraShort form gpt-5.6-terra also works
Model ID, EU pinopenai/gpt-5.6-terra:euUS pin: openai/gpt-5.6-terra:us, text only; the base ID and EU pin also take images and files
Base URLhttps://api.stdcmpt.com/v1
PlansEvery plan, Starter includedStarter carries a $19 compute budget
Reasoningminimal, low, medium or high, per request or as a Models page default

Copy a working config

Codex is OpenAI's own agent and speaks the Responses API natively; the launcher passes the model straight through. To keep Terra for the harder steps only, select it with GPT-6 Luna on the Models page and set the model to standardcompute.

terminal/v1/responses
# Install Codex and the Standard Compute launcher once
npm install -g @openai/codex
curl -fsSL https://standardcompute.com/cli/install.sh | sh

# Start Codex on your plan with openai/gpt-5.6-terra
standardcompute launch codex -- --model openai/gpt-5.6-terra

Replace YOUR_API_KEY with a key from the dashboard. This config reads your key from STANDARDCOMPUTE_API_KEY; export it with a key from the dashboard. Full setup: Codex CLI, OpenCode, Kilo Code, Cline, Aider and other tools.

What it costs

Per 1M tokensPrompt up to 272KPrompt over 272K
Input$2.00$4.00
Cached input$0.20$0.40
Cache write$2.50$5.00
Output$12.00$18.00

OpenAI standard API rates. The higher column applies to the whole request once the prompt passes 272K tokens, and regional processing adds 10%. Source: OpenAI API pricing, checked October 13, 2026.

A 90K-token Codex turn on GPT-5.6 Terra
11,700 fresh input × $2.00/M$0.0234
78,300 cache hits × $0.20/M$0.0157
700 output × $12.00/M$0.0084
One turn$0.0475

Average coding-agent turn on our gateway, Sep 13 to Oct 12, 2026. OpenAI list prices.

On this gateway Terra is the mid-priced OpenAI model, between GPT-6 Luna and GPT-5.6 Sol. On OpenAI's own API, GPT-6.1 Sol now lists at $2 / $10 per million tokens with cached input at $0.10, below Terra on output and cache hits; it is not on Standard Compute yet.

What works differently here

  • Terra's 42 on the Artificial Analysis Intelligence Index was measured at OpenAI's max reasoning setting. Here Terra runs at minimal to high; xhigh and max are not offered.
  • In Codex, built-in web search is off on this connection and previous_response_id returns 400. Codex sends the full conversation each turn, so it works as shipped.

Other ways to run GPT-5.6 Terra

OpenAI APIPay per tokenFirst-party, metered per token, with rate limits tied to your organization's usage tier.
ChatGPT plans with CodexSubscriptionCodex inside each plan's usage limits, without a general API key for other agents.
Azure / OpenRouterPay per tokenThe same model under Azure billing or one OpenRouter account.
Standard ComputeMonthly planTerra with EU and US pins; Sol and both Lunas share the same key.

FAQ

GPT-5.6 Terra or GPT-5.4 for Codex?

GPT-5.4 is not served on Standard Compute. On OpenAI's list, Terra is also the lower price; GPT-5.4 lists at $2.50 / $15 per million tokens.

GPT-5.6 Terra or GPT-6 Luna?

Luna lists at a twentieth of Terra's input price and Artificial Analysis scores it four points lower. Pin Luna for routine edits and tool calls; with both selected, routing sends the hard requests to Terra.

Can I keep GPT-5.6 Terra requests in the EU?

Yes. Use openai/gpt-5.6-terra:eu, which runs on OpenAI's EU regional processing at the regional rate noted under the price table.

When should I pick GPT-5.6 Terra over Sol, and can an API choose per request?

Terra for most coding-agent steps: OpenAI lists it at $2 / $12 per million tokens against Sol's $4 / $20 (a promotional price through at least November 21, 2026), and Sol is the one to pay for on long multi-file fixes where Terra stalls. To have the choice made per request, select both on the Standard Compute Models page and send the model standardcompute: routing sends hard requests to Sol and the rest to Terra, from $19 a month.

Do I need a higher OpenAI usage tier to run Terra in OpenCode?

Not on Standard Compute. A new account calls openai/gpt-5.6-terra on the same terms as an old one: there is no usage-tier ladder, only a high per-key anti-abuse ceiling and the plan's monthly compute budget. In OpenCode, run /connect, choose Standard Compute and pick Terra; plans start at $19 a month.

Sources: OpenAI API pricing; OpenAI: GPT-5.6 Terra model page; Artificial Analysis: GPT-5.6 Terra

Create your key

Sign in, create a key in the dashboard and paste it into the config above.

Get your API key