OpenAI API Pricing (Oct 2026): Every GPT Model per 1M Tokens
OpenAI API pricing per 1M tokens (Oct 2026): GPT-6 Astra $10/$50, GPT-6.1 Sol $2/$10, GPT-5.4 $2.50/$15, GPT-4o $2.50/$10. Compare UniRoute & estimate.
UniRoute ·
1. Official OpenAI API Pricing Table (Verified 2026-10-27)
All OpenAI API token rates below are quoted in USD per 1,000,000 tokens (1M tokens) and verified against OpenAI's official API pricing documentation on 2026-10-27 (asynchronous Batch API jobs are billed under a separate 50%-off schedule). In the official Standard tier, prompts up to 272,000 input tokens use the short-context rates below; once input exceeds 272,000 tokens, the entire request (or session on gpt-5.5) is billed at the > 272K long-context tier (2× input, 2× cached input, and 1.5× output).
Flagship & Latest Models (GPT-6.1, GPT-6, GPT-5.6, GPT-5.5 & GPT-5.4 — Standard Short Context ≤ 272K)
| Model ID | Standard Input / 1M | Cached Input (Read) / 1M | Standard Output / 1M | Long Context (> 272K) Input / Cached / Output | Official Cache Write Notes (Short Context) |
|---|---|---|---|---|---|
gpt-6-astra | $10.00 | $1.00 | $50.00 | $20.00 / $2.00 / $75.00 | $12.50 (30m) / $25.00 (12h) |
gpt-6.1-sol | $2.00 | $0.10 | $10.00 | $4.00 / $0.20 / $15.00 | $2.50 (30m) / $5.00 (12h) |
gpt-6.1-terra | $1.00 | $0.05 | $5.00 | $2.00 / $0.10 / $7.50 | $1.25 (30m) / $2.50 (12h) |
gpt-6-luna | $0.10 | $0.01 | $0.50 | $0.20 / $0.02 / $0.75 | $0.125 (30m) / $0.25 (12h) |
gpt-6-sol | $2.00 | $0.20 | $10.00 | $4.00 / $0.40 / $15.00 | $2.50 (30m) / $5.00 (12h) |
gpt-5.6-sol | $4.00 | $0.40 | $20.00 | $8.00 / $0.80 / $30.00 | $5.00 (30m) / $10.00 (12h); promotional pricing through at least Nov 21, 2026 |
gpt-5.6-terra | $2.00 | $0.20 | $12.00 | $4.00 / $0.40 / $18.00 | $2.50 (30m) / $5.00 (12h) |
gpt-5.6-luna | $0.20 | $0.02 | $1.20 | $0.40 / $0.04 / $1.80 | $0.25 (30m) / $0.50 (12h) |
gpt-5.5 (<272K) | $5.00 | $0.50 | $30.00 | $10.00 / $1.00 / $45.00 | Implicit caching only; no separate cache-write fee |
gpt-5.5-pro (<272K) | $30.00 | - | $180.00 | $60.00 / - / $270.00 | Cached input not listed |
gpt-5.4 (<272K) | $2.50 | $0.25 | $15.00 | $5.00 / $0.50 / $22.50 | Implicit caching; no separate cache-write fee |
gpt-5.4-pro (<272K) | $30.00 | - | $180.00 | $60.00 / - / $270.00 | Cached input not listed |
Other GPT, Codex & o-Series Reasoning Models (Standard Tier per 1M Tokens)
| Model ID | Standard Input / 1M | Cached Input (Read) / 1M | Standard Output / 1M | Batch API Input / Cached / Output (50% Off) |
|---|---|---|---|---|
gpt-5.4-mini | $0.75 | $0.075 | $4.50 | $0.375 / $0.0375 / $2.25 |
gpt-5.4-nano | $0.20 | $0.02 | $1.25 | $0.10 / $0.01 / $0.625 |
gpt-5.3-codex | $1.75 | $0.175 | $14.00 | Specialized Codex model |
gpt-5.2 | $1.75 | $0.175 | $14.00 | $0.875 / $0.0875 / $7.00 |
gpt-5.2-pro | $21.00 | - | $168.00 | $10.50 / - / $84.00 |
gpt-5.1 | $1.25 | $0.125 | $10.00 | $0.625 / $0.0625 / $5.00 |
gpt-5 | $1.25 | $0.125 | $10.00 | $0.625 / $0.0625 / $5.00 |
gpt-5-mini | $0.25 | $0.025 | $2.00 | $0.125 / $0.0125 / $1.00 |
gpt-5-nano | $0.05 | $0.005 | $0.40 | $0.025 / $0.0025 / $0.20 |
gpt-5-pro | $15.00 | - | $120.00 | $7.50 / - / $60.00 |
gpt-4.1 | $2.00 | $0.50 | $8.00 | $1.00 / - / $4.00 |
gpt-4.1-mini | $0.40 | $0.10 | $1.60 | $0.20 / - / $0.80 |
gpt-4.1-nano | $0.10 | $0.025 | $0.40 | $0.05 / - / $0.20 |
gpt-4o | $2.50 | $1.25 | $10.00 | $1.25 / - / $5.00 |
gpt-4o-mini | $0.15 | $0.075 | $0.60 | $0.075 / - / $0.30 |
o3 | $2.00 | $0.50 | $8.00 | $1.00 / - / $4.00 |
o3-pro | $20.00 | - | $80.00 | $10.00 / - / $40.00 |
o4-mini | $1.10 | $0.275 | $4.40 | $0.55 / - / $2.20 |
o3-mini | $1.10 | $0.55 | $4.40 | $0.55 / - / $2.20 |
o1 | $15.00 | $7.50 | $60.00 | $7.50 / - / $30.00 |
o1-pro | $150.00 | - | $600.00 | $75.00 / - / $300.00 |
2. UniRoute vs. Official OpenAI Price Comparison
| Model | Official input | Official output | UniRoute input | UniRoute output | You save (input / output) |
|---|---|---|---|---|---|
| gpt-5.5 · Discounted price band · Standard (≤ 272,000 input tokens) | $5.00 | $30.00 | $1.40 | $8.40 | 72% / 72% |
| gpt-5.5 · Standard price band · Standard (≤ 272,000 input tokens) | $5.00 | $30.00 | $5.00 | $30.00 | 0% / 0% |
| gpt-5.6-terra · Discounted price band · Standard (≤ 272,000 input tokens) | $2.00 | $12.00 | $0.56 | $3.36 | 72% / 72% |
| gpt-5.6-terra · Standard price band · Standard (≤ 272,000 input tokens) | $2.00 | $12.00 | $2.00 | $12.00 | 0% / 0% |
| gpt-6-astra · Discounted price band · Standard (≤ 272,000 input tokens) | $10.00 | $50.00 | $2.80 | $14.00 | 72% / 72% |
| gpt-6-astra · Standard price band · Standard (≤ 272,000 input tokens) | $10.00 | $50.00 | $10.00 | $50.00 | 0% / 0% |
| gpt-6-sol · Discounted price band · Standard (≤ 272,000 input tokens) | $2.00 | $10.00 | $0.56 | $2.80 | 72% / 72% |
| gpt-6-sol · Standard price band · Standard (≤ 272,000 input tokens) | $2.00 | $10.00 | $2.00 | $10.00 | 0% / 0% |
When you route OpenAI requests through UniRoute (https://api.uniroute.app/v1), you can select between two public channel tiers per API key (see Channel Management for routing and automatic failover configuration):
- Discounted Tier (
Discounted): Multi-provider aggregated channel where OpenAI models are available as low as 28% of the official list price (as of 2026-10-27; always refer to the live comparison table above for current real-time rates). Ideal for daily coding agents, CI/CD testing, and cost-sensitive workloads. - Standard Tier (
Standard): Priced at the official baseline rate; choose it if you would rather not be exposed to discounted-channel fluctuations (see Channel Management). - Per-key switching & automatic failover: You can bind an API key to a specific tier or allow automatic failover so pre-stream errors transparently retry across healthy upstream channels.
3. Interactive OpenAI API Cost Calculator
Estimate your daily or monthly spend across official OpenAI rates and UniRoute channels by selecting a model and entering input tokens per request, output tokens per request, and requests per day:
Token cost calculator
Official
Per request: $0.025
Per 30 days: $750.00
UniRoute
Per request: $0.007
Per 30 days: $210.00
Saving per 30 days (official − UniRoute): $540.00 (72% saving)
The discounted channel can be unavailable; requests then fall back automatically to the standard band at official-level prices. Channel management
USD estimates, not a bill. Excludes cache discounts, long-context surcharges, reasoning-token variance and taxes. A negative saving means UniRoute costs more.
Standard and Discounted describe price bands, not upstream providers. Where routes share a band, one complete lowest default public rate set is shown; your key may use another route or account rate. A snapshot is not a frozen billing contract. Comparison covers ordinary standard context, excluding long-context surcharges and priority processing.
4. Detailed Public Route Snapshot (OpenAIRuntimePrices)
The detailed snapshot below displays UniRoute's complete lowest-price rate vector (input, output, cache read, and cache write from the same route) alongside OpenAI's official Standard short-context reference rates:
Default public-route rates · USD per 1,000,000 tokens. “Standard” and “Discounted” describe price bands, not the upstream provider. Where several routes share a band, this table shows one complete lowest-price rate set; your key may use another route or account rate. Rates cover ordinary processing in the standard context tier, excluding long-context surcharges and priority processing.
| Model ID | Price band | Input | Output | Cache read | Cache write | Published route max context |
|---|---|---|---|---|---|---|
| gpt-5.5 | Discounted | $1.4 | $8.4 | $0.14 | Not published | 272,000 tokens |
| gpt-5.5 | Standard | $5 | $30 | $0.5 | Not published | 272,000 tokens |
| gpt-5.6-terra | Discounted | $0.56 | $3.36 | $0.056 | $0.7 | 272,000 tokens |
| gpt-5.6-terra | Standard | $2 | $12 | $0.2 | $2.5 | 272,000 tokens |
| gpt-6-astra | Discounted | $2.8 | $14 | $0.28 | $3.5 | 922,000 tokens |
| gpt-6-astra | Standard | $10 | $50 | $1 | $12.5 | 922,000 tokens |
| gpt-6-sol | Discounted | $0.56 | $2.8 | $0.056 | $0.7 | 922,000 tokens |
| gpt-6-sol | Standard | $2 | $10 | $0.2 | $2.5 | 922,000 tokens |
Retrieved at . Rate snapshot: sha256:df6d1d950e90466610e8049d6cd5947d2cc7f57fbfc52beee1b177b6b180a12d. A snapshot identifies the displayed rate set; it is not a frozen billing contract for a future request. Missing (“Not published”) cache rates mean the public feed omits that retail rate—never treat a missing rate as $0 or uncharged. Published route max context (such as 272,000 tokens on current gpt-5.5 and gpt-5.6-terra routes, or 922,000 tokens on gpt-6-sol and gpt-6-astra routes) reflects the current UniRoute public route limit—not OpenAI’s overall model context window (1,050,000 tokens across all four models) and not OpenAI’s 272,000-input-token short-context pricing threshold. Do not extrapolate default standard rates to long-context requests.
OpenAI official reference rates
Official first-party OpenAI Standard short-context (≤ 272,000 input tokens) API reference rates were checked on against OpenAI’s API pricing documentation, model catalog, and Prompt Caching guide. These reference rates exclude priority, flex, batch, long-context (> 272,000 input tokens) surcharges, regional data residency, and built-in tool fees. They are separate from the UniRoute retail rates above; a configured channel rate may differ.
| Model ID | Tier & context scope | Input | Output | Cache read | Cache write |
|---|---|---|---|---|---|
| gpt-5.5 | Standard (≤ 272,000 input tokens) | $5 | $30 | $0.5 | No extra write fee (billed as ordinary input) |
| gpt-5.6-terra | Standard (≤ 272,000 input tokens) | $2 | $12 | $0.2 | $2.5 |
| gpt-6-sol | Standard (≤ 272,000 input tokens) | $2 | $10 | $0.2 | $2.5 |
| gpt-6-astra | Standard (≤ 272,000 input tokens) | $10 | $50 | $1 | $12.5 |
How to Read the Three Pricing Layers
- OpenAI Official Reference Rates: The first-party Standard API rates published in OpenAI's API pricing documentation. These numbers provide an upstream baseline, not a promise of what UniRoute or a specific gateway route will charge.
- UniRoute Default Public Retail Rates (
StandardandDiscounted): Each row in the live UniRoute table above is a complete lowest-price rate vector from a single public route in that price band at the retrieval timestamp—input, output, cache read, and cache write belong to the same route rather than mixing columns across different channels. - Your Key's Applicable Route and Account Rate: The public table does not reflect personal account discounts or key-specific routing rules. When you send an authenticated request, billing follows the channel and rate active for your key at request time.
5. Choose the Exact GPT Model ID and Check the 272K Context Threshold
API billing always attaches to the exact model string sent in your request body, not a general model family name:
gpt-5.5(OpenAI model reference): General-purpose reasoning and multimodal baseline with a1,050,000manufacturer context window and128,000max output tokens (272,000max_context_tokenson current UniRoute public routes).gpt-5.6-terra(OpenAI model reference): Lower-input-rate reasoning model with a1,050,000context window (922,000max input /128,000max output tokens) and explicit cache-write pricing (272,000max_context_tokenson current UniRoute public routes).gpt-6-sol(OpenAI model reference): High-throughput GPT-6 model for daily coding and agent workflows (1,050,000context window,922,000max input,128,000max output tokens;922,000max_context_tokenson current UniRoute public routes).gpt-6-astra(OpenAI model reference): Flagship high-capability GPT-6 model for deep reasoning and complex tasks (1,050,000context window,922,000max input,128,000max output tokens;922,000max_context_tokenson current UniRoute public routes).
You can inspect model entries in the UniRoute model catalog before sending traffic. Keep three different token numbers separate when estimating request costs:
- OpenAI's manufacturer model window:
1,050,000total context tokens and128,000max output tokens across the flagship models above. - UniRoute's published route max context (
max_context_tokens): Reports the current UniRoute public route limit—not the boundary where short-context pricing ends. - OpenAI's
≤ 272,000short-context pricing threshold: In OpenAI's official Standard schedule, base rates apply only when input is272,000tokens or fewer. Once input exceeds272,000tokens, OpenAI charges the entire request or session at 2× input (and cache rates) and 1.5× output.
6. How Prompt Caching and Reasoning Tokens Affect Request Cost
Prompt Caching Reads and Cache Writes
According to OpenAI's Prompt Caching guide and API pricing documentation, prompt caching behavior differs between GPT-5.6 and later (gpt-5.6-terra, gpt-6-sol, gpt-6-astra) and GPT-5.5 (gpt-5.5):
- Official rule for
gpt-5.6-terra,gpt-6-sol, andgpt-6-astra(GPT-5.6 and later):- Supports both implicit caching and explicit cache control (
prompt_cache_options.mode). The minimum cacheable prefix is1,024visible input tokens (excluding hidden system tokens). - When a response reports total
input_tokens, cached hits (cached_tokens), and newly written cache tokens (cache_write_tokens), ordinary uncached input is:ordinary_input_tokens = input_tokens - cached_tokens - cache_write_tokens - Multiply
ordinary_input_tokensby the ordinary input rate,cached_tokensby the cache-read rate, andcache_write_tokensby the applicable cache-write rate.
- Supports both implicit caching and explicit cache control (
- Official rule for
gpt-5.5andgpt-5.4:- Supports implicit caching only. On
gpt-5.5, implicit breakpoints are spaced at regular2,048-token intervals, and reportedcached_tokensrounds down to a multiple of128. - In OpenAI's official reference schedule,
gpt-5.5andgpt-5.4do not charge a separate cache-write fee. Ordinary uncached input isinput_tokens - cached_tokens.
- Supports implicit caching only. On
- How to read missing cache rates in UniRoute's retail table:
- If a cache rate in the UniRoute table is shown as
Not published, treat that retail rate as unknown or not published—never treat a missing retail rate as$0.
- If a cache rate in the UniRoute table is shown as
Reasoning Tokens Are Already Inside Output Tokens
As documented in OpenAI's Reasoning guide, internal reasoning tokens generated before the visible answer are already included in output_tokens (and reported under reasoning_tokens for visibility) and billed at the output token rate:
- Do not add
reasoning_tokenstooutput_tokens, or you will double-count reasoning output. - Reasoning tokens still consume output capacity and incur output charges even if a tight
max_output_tokenscap truncates the visible response.
Synthetic Cost Example (gpt-6-sol Short Context)
For a hypothetical gpt-6-sol request (≤ 272,000 input tokens) using OpenAI's verified Standard reference rates ($2 input / $0.20 cache read / $2.50 30m cache write / $10 output per 1M tokens):
- Ordinary uncached input:
1,000tokens ×$2 / 1,000,000=$0.0020 - Cache read:
2,000tokens ×$0.20 / 1,000,000=$0.0004 - Cache write:
1,000tokens ×$2.50 / 1,000,000=$0.0025 - Output (already including any reasoning tokens):
500tokens ×$10 / 1,000,000=$0.0050 - Synthetic official reference token total:
$0.0020 + $0.0004 + $0.0025 + $0.0050=$0.0099 USD
7. Frequently Asked Questions (FAQ)
Does an OpenAI API key cost money, and is there a free tier?
Creating an API key on OpenAI Platform or on UniRoute is free, and there is no recurring monthly fee just to hold an API key. API usage is billed strictly pay-as-you-go per 1M tokens consumed. Whether a newly registered first-party OpenAI account receives promotional trial credits depends on OpenAI's current account verification policy, whereas regular production API traffic requires pre-funding an organization balance (or topping up your UniRoute balance).
Are ChatGPT Plus / Pro ($20 / $200/mo) and the OpenAI API billed together?
No. A ChatGPT subscription (such as Plus or Pro under ChatGPT plan rules) and an OpenAI Platform API balance (or a UniRoute account balance) are completely separate products with separate billing:
| Question | ChatGPT Subscription | First-Party OpenAI API Key | UniRoute API Key (sk-...) |
|---|---|---|---|
| Which account pays? | Your ChatGPT consumer/team plan | Your OpenAI Platform organization balance | Your UniRoute account balance |
| How does sign-in work? | Plan sign-in, including Sign in with ChatGPT where supported | OpenAI-issued API key against OpenAI endpoints | UniRoute API key against https://api.uniroute.app/v1 |
| Does it fund UniRoute or API calls? | No | Funds first-party OpenAI API only | Uses your UniRoute balance and key limits |
How much do the Batch API and Prompt Caching save?
- Batch API (50% savings): On OpenAI's official platform, asynchronous Batch API jobs completed within 24 hours receive a 50% discount on both input and output tokens compared to Standard rates (for example,
gpt-6-astradrops from$10.00 / $50.00to$5.00 / $25.00per 1M tokens, andgpt-6.1-soldrops from$2.00 / $10.00to$1.00 / $5.00per 1M tokens). - Prompt Caching (50% to 95% savings on cached input reads): Reusing identical prompt prefixes reduces input token read costs by 95% on
gpt-6.1-sol($2.00→$0.10) andgpt-6.1-terra($1.00→$0.05), 90% ongpt-6-astra($10.00→$1.00),gpt-6-sol($2.00→$0.20),gpt-5.5($5.00→$0.50), andgpt-5.4($2.50→$0.25), 75% ongpt-4.1($2.00→$0.50), and 50% ongpt-4o($2.50→$1.25).
8. Create a Key and Verify Your Own Usage in the UniRoute Console
- Create and scope a UniRoute API key: Follow the API key creation guide or open API keys in the UniRoute console. Name the key for your client or environment, review its spend limit, channel preference, and allowed models, and save the secret privately when shown.
- Send one small, nonsensitive test call: Point your OpenAI-compatible client to
https://api.uniroute.app/v1with your exact model ID (gpt-5.5,gpt-5.6-terra,gpt-6-sol, orgpt-6-astra). If you want to connect the official Codex CLI, follow Connect Codex to UniRoute: API Key and Setup Tutorial. - Verify the request in your usage list: Open your UniRoute usage records and click the request to open its detail drawer. Check the timestamp, exact model ID, routed channel, outcome, token breakdown (input, output, and cache usage), and recorded actual cost.
- Related pricing & API guides: See OpenAI Responses API vs. Chat Completions: Migration Guide, CLI vs. API Pricing, Claude Code API Pricing (2026), and DeepSeek API Pricing (2026).

