GPT-Image 2.6 Flare & Sunburst are liveImages from $0.025 each

GPT-5.6 Terra API

LLM

The GPT-5.6 Terra API is the middle-priced 5.6 route, retaining the same listed 1M context, vision, and tool use.

  • Input · USD / 1M tokens$0.3 USDOfficial price$2 USD
  • Output · USD / 1M tokens$1.8 USDOfficial price$12 USD
  • Savings85%
  • Context1M
  • ReleasedJul 9, 2026
  • View tool pricing and billing rules

What are we making today?

Bring an idea, a question, or a first draft.

Enter to send · Shift + Enter for a new line

01

What this model is for

The GPT-5.6 Terra API is the middle-priced 5.6 route, retaining the same listed 1M context, vision, and tool use.

GPT-5.6 Terra is the middle tier of OpenAI's GPT-5.6 family, listed as gpt-5.6-terra and priced between Sol and Luna in the catalog. It carries the family limits: a 1,050,000-token window, 922,000 maximum input, 128,000 maximum output and a knowledge cutoff of February 16, 2026. Text and images go in, text comes out, and reasoning effort accepts none, low, medium, high, xhigh or max, so a request can skip reasoning entirely.

Terra fits work whose pass criteria are already written down: implementing a described feature, fixing a reproducible bug, adding tests, refactoring known call sites, keeping types and documentation current. The catalog lists one rate for the whole window, and OpenAI's Codex page lists Terra for the CLI and IDE extension but not for Codex cloud. GPT-5.6 Sol keeps the harder judgment calls, GPT-5.6 Luna takes fixed-schema batches, and Claude Sonnet 5 is the comparison our coding article draws.

Choose Terra when you want a 5.6 model between Sol and Luna on listed token price.

Best-fit coding workloads

Feature work from a written spec

Implement a feature whose behaviour is already agreed. Share the spec, the files to touch and the test command, ask for a minimal patch plus new tests, then run the suite. Start at medium effort and raise it when the patch passes but contradicts a rule in the spec.

Bug reproduction into a fix

Turn a bug report into a failing test, then into a fix. Require the test first so the failure is visible, and reject any change to the test itself. Keeping the reproduction in the repository guards against the same report arriving again next month.

Types and documentation upkeep

Bring docstrings, type hints and README sections back in line with the code. Give the model the changed files and the project style rules, ask for the smallest edits, then run the type checker. A rename that spans many files is where the long window earns its place.

02

Hands-on notes

Checked on 2026-10-27 through the OmniaKey API with one standard coding prompt (median of 3 runs) and three capability probes.

Output tokens for our standard coding prompt, reasoning included
195
Cost of that output at current prices
$0.00035
JSON mode
Passed
Tool calling
Passed
Image input
Passed

03

Technical specification

Catalog facts and integration details verified for this route.

Model ID
gpt-5.6-terra
Context
1M
Inputs and tools
Vision · Tool use
API endpoint
/v1/chat/completions
Cache hit / 1M
$0.03 USD
Coding clients
Codex · Cursor · Cline · Aider

Limits to plan around

  • It can pass a narrow test while breaking a business rule. When that happens, move the task to Sol rather than repeating the same prompt with more effort.
  • OpenAI's Codex page lists Terra for the CLI and IDE extension but not for Codex cloud, so a cloud workflow has to keep a model that is listed there.
  • Knowledge stops at February 16, 2026. Anything newer has to arrive in the prompt or through retrieval, and a large window does not move the cutoff.
  • The output ceiling is 128,000 tokens, so a large refactor has to arrive as several patches rather than as one whole file.

04

Compare nearby models

Compare workload fit and current listed token rates before choosing a route.

ModelBest forContextInputOutput
GPT-5.6 TerraThis page
gpt-5.6-terra
The starting point for everyday coding and business flows once the pass criteria are written.1M
$0.3 USD
Official price $2 USD
$1.8 USD
Official price $12 USD
GPT-5.6 Sol
gpt-5.6-sol
The flagship of the same generation, for ambiguous, cross-system or expensive-to-miss work.1M
$0.45 USD
Official price $4 USD
$2.7 USD
Official price $20 USD
GPT-5.6 Luna
gpt-5.6-luna
The cost tier for fixed-schema extraction, classification and batch conversion.1M
$0.2 USD
Official price $0.2 USD
$1.2 USD
Official price $1.2 USD
Claude Sonnet 5
claude-sonnet-5
The cross-vendor middle tier that our coding comparison weighs on workflow fit.1M
$0.56 USD
Official price $2 USD
$2.8 USD
Official price $10 USD

05

SDK quickstarts

Use one base URL and model ID from cURL, Python, or TypeScript.

Streaming chat completion
curl https://api.omniakey.com/v1/chat/completions \
  -H "Authorization: Bearer $OMNIAKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.6-terra",
    "messages": [
      {"role": "user", "content": "Review this pull request"}
    ],
    "stream": true
  }'

06

Estimate token cost

Enter expected input and output tokens to compare current listed rates.

OmniaKey estimate
$0.066
Official-rate estimate
$0.44
Estimated savings
$0.374

Estimate covers input and output tokens only. Cache usage, retries, tools, and client-side token accounting can change the final charge.

08

Sources and verification

Model facts and links were checked on 2026-10-27. Provider documentation remains the authority for upstream behavior.

Common errors

The errors OmniaKey users hit most often, from our production logs. Each message appears as the API returns it.

HTTP 403

Insufficient quota
Cause
Your OmniaKey balance has run out.
Fix
Top up your balance. The same API key works again right away.

HTTP 403

insufficient quota for pre-charge
Cause
Before a request runs, OmniaKey reserves its largest possible cost, which grows with the prompt and max_tokens. Your balance is below that amount.
Fix
Top up, or lower max_tokens.

HTTP 401

Invalid token
Cause
The request carries no API key, or a key that does not exist.
Fix
Copy the key from your dashboard again and check that your client sends it.

HTTP 503

No available channel for model <model> under group <group>
Cause
The model name does not match one OmniaKey serves, often because of a dot or a capital letter, such as claude-sonnet-5.5 for claude-sonnet-5-5. It also appears when every supplier of the model is unavailable.
Fix
Use the exact model ID, gpt-5.6-terra. If it already matches, retry later or switch models.

HTTP 524

524: A timeout occurred
Cause
No data came back for about 100 seconds, so Cloudflare closed the connection. Long answers without streaming run into this.
Fix
Set stream to true, so tokens arrive while the answer is written.

Frequently asked questions

How much does GPT-5.6 Terra cost on OmniaKey?

OmniaKey charges $0.3 USD per 1M input tokens and $1.8 USD per 1M output tokens, in USD. Official prices are $2 USD and $12 USD; you save 85%.

What is the context window for GPT-5.6 Terra?

The listed context window is 1M. Actual usable limits can also depend on the client and upstream request format.

GPT-5.6 Terra or Claude Sonnet 5 for coding?

Both sit in the middle of their families and both list a 1M window with vision and tool use. Pick by the SDK your team already ships and by which model passes your own checks, then keep the loser on the list for the task classes it wins. Our comparison weighs workflow fit and long-prompt billing rather than a single score.

What is the context limit of GPT-5.6 Terra?

1,050,000 tokens, with a maximum input of 922,000 and a maximum output of 128,000. The window holds the system prompt, conversation history, tool definitions, retrieved files and images, plus reasoning and answer tokens, so the share left for your documents is smaller than the total.

Can GPT-5.6 Terra run in Codex cloud?

OpenAI's Codex page lists Terra for the CLI and IDE extension but not for Codex cloud, where Sol is the GPT-5.6 model listed. API access and client access are separate questions, so a key that reaches gpt-5.6-terra says nothing about the Codex picker. Check the Codex page before standardising a workflow on it.

Which reasoning effort should Terra use?

Start at medium for coding and at none or low for extraction and formatting, then raise the effort on the same model when the plan or the self-check looks thin. If constraints stay unresolved, change tier instead of pushing to max. Effort and tier are separate controls, and max is not a guarantee of correctness.

How is GPT-5.6 Terra billed?

Per input, output and cached-input token, with cache writes charged above the plain input rate and cache reads charged far below it. At OmniaKey the account balance is charged at the rate shown on the model page and covers every listed model. Current rates sit in the price table.