Skip to content
API Pricing

OpenAI API Pricing 2026:
GPT-6 Astra, GPT-6.1 Sol, GPT-6 Luna & Current Models

Current OpenAI API pricing for the GPT-6 family, with cached-input, long-context and Batch API rates, plus what happened to GPT-5.4 and GPT-4o. Last verified: 2026-10-01.

12 min read·Updated October 2026
OpenAI API Cost at a Glance
$0.10
GPT-6 Luna input / 1M
$2.00
GPT-6.1 Sol input / 1M
$10.00
GPT-6 Astra input / 1M
1.05M tokens
GPT-6 context window
Naming note: "OpenAI API pricing" refers to the API for developers. "ChatGPT" refers to the consumer web/app product. These are different products with different pricing. This page covers OpenAI API pricing. For ChatGPT Plus/Pro subscriptions, see the AI subscription comparison.

GPT-6 Family — Current Flagship Models

ModelInput / 1M tokensCached input / 1MOutput / 1M tokensBest for
GPT-6 Astra$10.00$1.00$50.00Hardest reasoning, research and agentic tasks
GPT-6.1 Sol$2.00$0.10$10.00Everyday production default: coding, analysis, agents
GPT-6 Luna$0.10$0.01$0.50Ultra-high volume, simple tasks

All three models have a 1.05M-token context window and up to 128K output tokens. Prices above are OpenAI's standard tier for prompts up to 272K input tokens.

Long-context pricing: prompts with more than 272K input tokens are billed at 2× the input and cache rates and 1.5× the output rate for the whole request — for example GPT-6.1 Sol becomes $4.00 input / $15.00 output, and GPT-6 Astra $20.00 / $75.00.

Specialised Models

OpenAI also lists its "Daybreak" cyber models separately: GPT-5.6 Sol at $4.00/M input and $20.00/M output (promotional pricing at least through November 21, 2026) and GPT-5.6 Cyber at $12.50/$75.00.

What Happened to GPT-5.4 and GPT-4o?

GPT-5.4, GPT-5.4 mini, GPT-5.4 nano, GPT-4o and GPT-4o mini no longer appear on OpenAI's API pricing page (checked October 2026). For reference, their last published prices when we verified them in April 2026 were:

Model (April 2026 prices)Input / 1MOutput / 1MClosest current model
GPT-5.4$2.50$15.00GPT-6.1 Sol ($2/$10) or GPT-6 Astra
GPT-5.4 mini$0.75$4.50GPT-6 Luna or GPT-6.1 Sol
GPT-5.4 nano$0.20$1.25GPT-6 Luna ($0.10/$0.50)
GPT-4o$2.50$10.00GPT-6.1 Sol
GPT-4o mini$0.15$0.60GPT-6 Luna

If you still run one of these models, check its status in your OpenAI dashboard. For new projects, start with the GPT-6 family: GPT-6 Luna is cheaper than GPT-4o mini on input ($0.10 vs $0.15), and GPT-6.1 Sol undercuts GPT-5.4 on both input and output.

OpenAI Batch API — 50% Discount for Non-Real-Time Work

OpenAI's Batch (and Flex) pricing is 50% lower than standard for asynchronous workloads such as evals, data processing and classification. Batches complete within 24 hours.

ModelStandard InputBatch InputStandard OutputBatch Output
GPT-6 Astra$10.00$5.00$50.00$25.00
GPT-6.1 Sol$2.00$1.00$10.00$5.00
GPT-6 Luna$0.10$0.05$0.50$0.25

Which OpenAI Model Is Best for Cost-Sensitive Apps?

Use caseRecommended modelReason
Hardest reasoning and researchGPT-6 AstraTop quality; 5× the price of Sol, so reserve it for tasks that need it
Coding, analysis, balanced production workGPT-6.1 Sol$2/$10 with very cheap cached input ($0.10/M)
High-volume simple tasksGPT-6 LunaCheapest OpenAI model at $0.10/M input
Async classification / evalsBatch API (any model)50% off, 24h turnaround

Model Selection by Use Case

  • Customer support (volume, simple): GPT-6 Luna
  • Customer support (complex, nuanced): GPT-6.1 Sol
  • Code generation / review: GPT-6.1 Sol; GPT-6 Astra for the hardest problems
  • Document summarization (long): GPT-6.1 Sol — keep prompts under 272K tokens to avoid long-context rates
  • Content generation at scale: GPT-6.1 Sol + Batch API
  • Classification pipeline: GPT-6 Luna + Batch API

OpenAI API Access

  • Sign up at platform.openai.com — immediate access, no approval needed
  • Pay-as-you-go — no monthly minimum
  • Enterprise: custom terms and dedicated capacity — contact OpenAI sales

Frequently Asked Questions

What is the difference between OpenAI API and ChatGPT?

The OpenAI API is the developer-facing service where you pay per token based on your application usage. ChatGPT is the consumer web and mobile product with flat-rate subscriptions. Building a product requires the API, not a ChatGPT subscription.

Is GPT-6.1 Sol cheaper than Claude Sonnet 5.5?

They cost the same per token: $2.00/M input and $10.00/M output. Sol's cached input is cheaper ($0.10/M vs $0.20/M for Sonnet 5.5), which helps workloads with large repeated prompts; Sonnet 5.5 has a 1M context window versus Sol's 1.05M.

How does the OpenAI Batch API save money?

Batch pricing is 50% lower than standard for jobs that can wait up to 24 hours. It suits non-latency-sensitive tasks like evals, bulk classification, content processing and dataset enrichment.

Does OpenAI charge extra for long prompts?

Yes, above 272K input tokens. Such requests are billed at 2× the input and cache rates and 1.5× the output rate. Below that threshold the standard prices apply, up to the 1.05M-token context window.

Calculate Your OpenAI API Costs

Compare GPT-6 vs Claude vs Gemini for your specific usage volume.

Open API Cost Calculator