OpenAI pricing

OpenAI API Pricing

Review current OpenAI API prices for GPT models, including input, cached input, and output token rates per 1M tokens, verification dates, and official OpenAI source links.

MODELS COVERED
36
DATA SOURCE
Official OpenAI
PRICING UNIT
Multiple billing units
LAST VERIFIED
Dec 2, 2026

How we verify

OpenAI API pricing table

OpenAI API pricing table

Compare OpenAI input token, output token, and cached input pricing from the existing source-linked dataset. Not listed values are never treated as zero.

All prices in USD per 1M tokens.

ModelInputOutputCached InputBatch InputBatch OutputVerified
GPT-6.2 AstralatestModel ID: gpt-6.2-astraCost on your usageSwitching costPrice details
DetailsProvider: OpenAIAvailability: activePrice shown: Standard · Short context · ≤272k input tokens · whole requestVerification: verified. Effective from 2026-11-17.
Input · USD per 1M input tokens$8.00Output · USD per 1M output tokens$40.00Cached input · USD per 1M cached input tokens$0.40Batch input · USD per 1M input tokens$4.00Batch output · USD per 1M output tokens$20.00
Sources
Verified: Checked: Official sources (3): Official source 1Official source 2Official source 3
GPT-6.2 SollatestModel ID: gpt-6.2-solCost on your usageSwitching costPrice details
DetailsProvider: OpenAIAvailability: activePrice shown: Standard · Short context · ≤272k input tokens · whole requestVerification: verified. Effective from 2026-11-17.
Input · USD per 1M input tokens$2.00Output · USD per 1M output tokens$10.00Cached input · USD per 1M cached input tokens$0.10Batch input · USD per 1M input tokens$1.00Batch output · USD per 1M output tokens$5.00
Sources
Verified: Checked: Official sources (3): Official source 1Official source 2Official source 3
GPT-6 RosalindlatestModel ID: gpt-6-rosalindPrice details
DetailsProvider: OpenAIAvailability: activePrice shown: Standard · Short context · ≤272k input tokens · whole requestVerification: verified. Effective from 2026-10-30.
Input · USD per 1M input tokens$10.00Output · USD per 1M output tokens$50.00Cached input · USD per 1M cached input tokens$1.00Batch input · USD per 1M input tokensNot listedBatch output · USD per 1M output tokensNot listed
Sources
Verified: Checked: Official source: Official source
GPT-6.1 TerralatestModel ID: gpt-6.1-terraCost on your usageSwitching costPrice details
DetailsProvider: OpenAIAvailability: activePrice shown: Standard · Short context · ≤272k input tokens · whole requestVerification: verified. Effective from 2026-10-26.
Input · USD per 1M input tokens$1.00Output · USD per 1M output tokens$5.00Cached input · USD per 1M cached input tokens$0.05Batch input · USD per 1M input tokens$0.50Batch output · USD per 1M output tokens$2.50
Sources
Verified: Checked: Official sources (3): Official source 1Official source 2Official source 3
GPT-6.1 SollatestModel ID: gpt-6.1-solCost on your usageSwitching costPrice details
DetailsProvider: OpenAIAvailability: activePrice shown: Standard · Short context · ≤272k input tokens · whole requestVerification: verified. Effective from 2026-09-29.
Input · USD per 1M input tokens$2.00Output · USD per 1M output tokens$10.00Cached input · USD per 1M cached input tokens$0.10Batch input · USD per 1M input tokens$1.00Batch output · USD per 1M output tokens$5.00
Sources
Verified: Checked: Official sources (3): Official source 1Official source 2Official source 3
GPT-6 LunalatestModel ID: gpt-6-lunaCost on your usageSwitching costPrice details
DetailsProvider: OpenAIAvailability: activePrice shown: Standard · Short context · ≤272k input tokens · whole requestVerification: verified. Effective from 2026-09-22.
Input · USD per 1M input tokens$0.10Output · USD per 1M output tokens$0.50Cached input · USD per 1M cached input tokens$0.01Batch input · USD per 1M input tokens$0.05Batch output · USD per 1M output tokens$0.25
Sources
Verified: Checked: Official sources (3): Official source 1Official source 2Official source 3
GPT-6 SollatestModel ID: gpt-6-solCost on your usageSwitching costPrice details
DetailsProvider: OpenAIAvailability: activePrice shown: Standard · Short context · ≤272k input tokens · whole requestVerification: verified. Effective from 2026-09-22.
Input · USD per 1M input tokens$2.00Output · USD per 1M output tokens$10.00Cached input · USD per 1M cached input tokens$0.20Batch input · USD per 1M input tokens$1.00Batch output · USD per 1M output tokens$5.00
Sources
Verified: Checked: Official sources (3): Official source 1Official source 2Official source 3
GPT-6 AstralatestModel ID: gpt-6-astraCost on your usageSwitching costPrice details
DetailsProvider: OpenAIAvailability: activePrice shown: Standard · Short context · ≤272k input tokens · whole requestVerification: verified. Effective from 2026-09-03.
Input · USD per 1M input tokens$10.00Output · USD per 1M output tokens$50.00Cached input · USD per 1M cached input tokens$1.00Batch input · USD per 1M input tokens$5.00Batch output · USD per 1M output tokens$25.00
Sources
Verified: Checked: Official sources (2): Official source 1Official source 2
GPT-5.6 LunalatestModel ID: gpt-5.6-lunaCost on your usageSwitching costPrice details
DetailsProvider: OpenAIAvailability: StandardPrice shown: Standard · Short context · ≤272k prompt tokens · whole requestVerification: verified. Long-context standard pricing is higher: $0.40 input, $0.04 cached input, $0.50 cache writes, $1.80 output per 1M tokens. Batch and Flex are lower; Priority is higher.
Input · USD per 1M input tokens$0.20Output · USD per 1M output tokens$1.20Cached input · USD per 1M cached input tokens$0.02Batch input · USD per 1M input tokens$0.10Batch output · USD per 1M output tokens$0.60
Sources
Verified: Checked: Official sources (2): Official source 1Official source 2
GPT-5.6 SollatestModel ID: gpt-5.6-solCost on your usageSwitching costPrice details
DetailsProvider: OpenAIAvailability: StandardPrice shown: Standard · Short context · ≤272k prompt tokens · whole requestVerification: verified. Promotional pricing is available at least through 2026-11-21. Long-context Standard pricing is $8 input, $0.80 cached input, $10 cache write, and $30 output per 1M tokens; Batch, Flex, and Fast rates are published separately.
Input · USD per 1M input tokens$5.00Output · USD per 1M output tokens$30.00Cached input · USD per 1M cached input tokens$0.50Batch input · USD per 1M input tokens$2.50Batch output · USD per 1M output tokens$15.00
Sources
Verified: Checked: Official sources (2): Official source 1Official source 2
GPT-5.6 TerralatestModel ID: gpt-5.6-terraCost on your usageSwitching costPrice details
DetailsProvider: OpenAIAvailability: StandardPrice shown: Standard · Short context · ≤272k prompt tokens · whole requestVerification: verified. Long-context standard pricing is higher: $4 input, $0.40 cached input, $5 cache writes, $18 output per 1M tokens. Batch and Flex are lower; Priority is higher.
Input · USD per 1M input tokens$2.00Output · USD per 1M output tokens$12.00Cached input · USD per 1M cached input tokens$0.20Batch input · USD per 1M input tokens$1.00Batch output · USD per 1M output tokens$6.00
Sources
Verified: Checked: Official sources (2): Official source 1Official source 2
GPT-5.5latestModel ID: gpt-5.5Cost on your usageSwitching costPrice details
DetailsProvider: OpenAIAvailability: StandardPrice shown: Standard · Short context · ≤272k prompt tokens · whole requestVerification: verified. Long-context standard pricing is higher: $10 input, $1 cached input, $45 output per 1M tokens.
Input · USD per 1M input tokens$5.00Output · USD per 1M output tokens$30.00Cached input · USD per 1M cached input tokens$0.50Batch input · USD per 1M input tokens$2.50Batch output · USD per 1M output tokens$15.00
Sources
Verified: Checked: Official sources (2): Official source 1Official source 2
GPT-5.5 ProlatestModel ID: gpt-5.5-proCost on your usageSwitching costPrice details
DetailsProvider: OpenAIAvailability: PremiumPrice shown: Standard · Short context · ≤272k input tokens · whole requestVerification: verified. Effective from 2026-07-03. Long-context standard pricing is higher: $60 input and $270 output per 1M tokens. Cached input is not listed for this tier.
Input · USD per 1M input tokens$30.00Output · USD per 1M output tokens$180.00Cached input · USD per 1M cached input tokensNot listedBatch input · USD per 1M input tokens$15.00Batch output · USD per 1M output tokens$90.00
Sources
Verified: Checked: Official sources (3): Official source 1Official source 2Official source 3
GPT-5.4 minilatestModel ID: gpt-5.4-miniCost on your usageSwitching costPrice details
DetailsProvider: OpenAIAvailability: StandardPrice shown: StandardVerification: verified. Priority pricing is higher. Batch and Flex pricing are lower than Standard for eligible workloads.
Input · USD per 1M input tokens$0.75Output · USD per 1M output tokens$4.50Cached input · USD per 1M cached input tokens$0.075Batch input · USD per 1M input tokens$0.375Batch output · USD per 1M output tokens$2.25
Sources
Verified: Checked: Official source: Official source
GPT-5.4latestModel ID: gpt-5.4Cost on your usageSwitching costPrice details
DetailsProvider: OpenAIAvailability: StandardPrice shown: Standard · Short context · ≤272k input tokens · whole requestVerification: verified. Effective from 2026-07-03. Long-context standard pricing is higher: $5 input, $0.50 cached input, $22.50 output per 1M tokens.
Input · USD per 1M input tokens$2.50Output · USD per 1M output tokens$15.00Cached input · USD per 1M cached input tokens$0.25Batch input · USD per 1M input tokens$1.25Batch output · USD per 1M output tokens$7.50
Sources
Verified: Checked: Official sources (2): Official source 1Official source 2
GPT-5.4 ProlatestModel ID: gpt-5.4-proCost on your usageSwitching costPrice details
DetailsProvider: OpenAIAvailability: PremiumPrice shown: Standard · Short context · ≤272k input tokens · whole requestVerification: verified. Effective from 2026-07-03. Long-context standard pricing is higher: $60 input and $270 output per 1M tokens. Cached input is not listed for this tier.
Input · USD per 1M input tokens$30.00Output · USD per 1M output tokens$180.00Cached input · USD per 1M cached input tokensNot listedBatch input · USD per 1M input tokens$15.00Batch output · USD per 1M output tokens$90.00
Sources
Verified: Checked: Official sources (3): Official source 1Official source 2Official source 3
text-embedding-3-largelatestModel ID: text-embedding-3-large
DetailsProvider: OpenAIAvailability: activeVerification: verified. V2 marks this row as unsafe for default calculations: missing_verified_current_price.
Input · USD per 1M input tokensNot listedOutput · USD per 1M output tokensNot listedCached input · USD per 1M cached input tokensNot listedBatch input · USD per 1M input tokensNot listedBatch output · USD per 1M output tokensNot listed
Sources
Verified: Checked: Official sources (2): Official source 1Official source 2
text-embedding-3-smalllatestModel ID: text-embedding-3-small
DetailsProvider: OpenAIAvailability: activeVerification: verified. V2 marks this row as unsafe for default calculations: missing_verified_current_price.
Input · USD per 1M input tokensNot listedOutput · USD per 1M output tokensNot listedCached input · USD per 1M cached input tokensNot listedBatch input · USD per 1M input tokensNot listedBatch output · USD per 1M output tokensNot listed
Sources
Verified: Checked: Official sources (2): Official source 1Official source 2
text-embedding-ada-002latestModel ID: text-embedding-ada-002
DetailsProvider: OpenAIAvailability: activeVerification: verified. V2 marks this row as unsafe for default calculations: missing_verified_current_price.
Input · USD per 1M input tokensNot listedOutput · USD per 1M output tokensNot listedCached input · USD per 1M cached input tokensNot listedBatch input · USD per 1M input tokensNot listedBatch output · USD per 1M output tokensNot listed
Sources
Verified: Checked: Official sources (2): Official source 1Official source 2
GPT-6-CyberspecializedModel ID: gpt-6-cyber
DetailsProvider: OpenAIAvailability: activePrice shown: StandardVerification: verified. Effective from 2026-11-05.
Input · USD per 1M input tokens$20.00Output · USD per 1M output tokens$100.00Cached input · USD per 1M cached input tokens$2.00Batch input · USD per 1M input tokensNot listedBatch output · USD per 1M output tokensNot listed
Sources
Verified: Checked: Official sources (2): Official source 1Official source 2
GPT-5.6 CyberspecializedModel ID: gpt-5.6-cyber
DetailsProvider: OpenAIAvailability: activePrice shown: StandardVerification: verified. Effective from 2026-08-07.
Input · USD per 1M input tokens$12.50Output · USD per 1M output tokens$75.00Cached input · USD per 1M cached input tokens$1.25Batch input · USD per 1M input tokensNot listedBatch output · USD per 1M output tokensNot listed
Sources
Verified: Checked: Official sources (2): Official source 1Official source 2
chat-latestspecializedModel ID: chatgpt-chat-latest
DetailsProvider: OpenAIAvailability: ChatGPT categoryPrice shown: StandardVerification: verified. Effective from 2026-07-03. Use this for ChatGPT-style chat-latest estimates only. Production API model IDs may differ.
Input · USD per 1M input tokens$5.00Output · USD per 1M output tokens$30.00Cached input · USD per 1M cached input tokens$0.50Batch input · USD per 1M input tokensNot listedBatch output · USD per 1M output tokensNot listed
Sources
Verified: Not availableChecked: Not availableOfficial source: Official source
GPT-4.1 minilegacyModel ID: gpt-4.1-mini
DetailsProvider: OpenAIAvailability: LegacyVerification: review_required. This price could not be confirmed against the provider's current official source, so it is shown only as a fallback reference, not as a verified current price.
Input · USD per 1M input tokens$0.40Output · USD per 1M output tokens$1.60Cached input · USD per 1M cached input tokensNot listedBatch input · USD per 1M input tokensNot listedBatch output · USD per 1M output tokensNot listed
Sources
Verified: Not availableChecked: Not availableOfficial source: Official source
GPT-5.4 nanodeprecatedModel ID: gpt-5.4-nano
DetailsProvider: OpenAIAvailability: StandardVerification: verified. Effective from 2026-07-03. This model is deprecated. The price shown matches the provider's verified official rate, but deprecated models are excluded from default cost estimates.
Input · USD per 1M input tokens$0.20Output · USD per 1M output tokens$1.25Cached input · USD per 1M cached input tokens$0.02Batch input · USD per 1M input tokensNot listedBatch output · USD per 1M output tokensNot listed
Sources
Verified: Not availableChecked: Not availableOfficial sources (3): Official source 1Official source 2Official source 3
GPT-5.3 CodexdeprecatedModel ID: gpt-5.3-codex
DetailsProvider: OpenAIAvailability: CodexVerification: verified. This model is deprecated. The price shown matches the provider's verified official rate, but deprecated models are excluded from default cost estimates.
Input · USD per 1M input tokens$1.75Output · USD per 1M output tokens$14.00Cached input · USD per 1M cached input tokens$0.175Batch input · USD per 1M input tokensNot listedBatch output · USD per 1M output tokensNot listed
Sources
Verified: Checked: Official source: Official source
Verified: Checked: Official sources (2): Official source 1Official source 2
GPT-4.1deprecatedModel ID: gpt-4.1
DetailsProvider: OpenAIAvailability: LegacyVerification: review_required. This price could not be confirmed against the provider's current official source, so it is shown only as a fallback reference, not as a verified current price.
Input · USD per 1M input tokens$2.00Output · USD per 1M output tokens$8.00Cached input · USD per 1M cached input tokensNot listedBatch input · USD per 1M input tokensNot listedBatch output · USD per 1M output tokensNot listed
Sources
Verified: Not availableChecked: Not availableOfficial source: Official source
GPT-4odeprecatedModel ID: gpt-4o
DetailsProvider: OpenAIAvailability: deprecatedVerification: verified. V2 marks this row as unsafe for default calculations: deprecated_identity.
Input · USD per 1M input tokensNot listedOutput · USD per 1M output tokensNot listedCached input · USD per 1M cached input tokensNot listedBatch input · USD per 1M input tokensNot listedBatch output · USD per 1M output tokensNot listed
Sources
Verified: Checked: Official source: Official source
GPT-4o minideprecatedModel ID: gpt-4o-mini
DetailsProvider: OpenAIAvailability: deprecatedVerification: verified. V2 marks this row as unsafe for default calculations: deprecated_identity.
Input · USD per 1M input tokensNot listedOutput · USD per 1M output tokensNot listedCached input · USD per 1M cached input tokensNot listedBatch input · USD per 1M input tokensNot listedBatch output · USD per 1M output tokensNot listed
Sources
Verified: Checked: Official source: Official source
GPT-5deprecatedModel ID: gpt-5
DetailsProvider: OpenAIAvailability: deprecatedVerification: verified. V2 marks this row as unsafe for default calculations: deprecated_identity.
Input · USD per 1M input tokensNot listedOutput · USD per 1M output tokensNot listedCached input · USD per 1M cached input tokensNot listedBatch input · USD per 1M input tokensNot listedBatch output · USD per 1M output tokensNot listed
Sources
Verified: Checked: Official source: Official source
Verified: Checked: Official source: Official source
GPT-5 minideprecatedModel ID: gpt-5-mini
DetailsProvider: OpenAIAvailability: deprecatedVerification: verified. V2 marks this row as unsafe for default calculations: deprecated_identity.
Input · USD per 1M input tokensNot listedOutput · USD per 1M output tokensNot listedCached input · USD per 1M cached input tokensNot listedBatch input · USD per 1M input tokensNot listedBatch output · USD per 1M output tokensNot listed
Sources
Verified: Checked: Official source: Official source
o3deprecatedModel ID: o3
DetailsProvider: OpenAIAvailability: deprecatedVerification: verified. V2 marks this row as unsafe for default calculations: deprecated_identity.
Input · USD per 1M input tokensNot listedOutput · USD per 1M output tokensNot listedCached input · USD per 1M cached input tokensNot listedBatch input · USD per 1M input tokensNot listedBatch output · USD per 1M output tokensNot listed
Sources
Verified: Checked: Official source: Official source
GPT-4.1 nanoretiredModel ID: gpt-4.1-nano
DetailsProvider: OpenAIAvailability: RetiredVerification: review_required. This price could not be confirmed against the provider's current official source, so it is shown only as a fallback reference, not as a verified current price.
Input · USD per 1M input tokens$0.10Output · USD per 1M output tokens$0.40Cached input · USD per 1M cached input tokensNot listedBatch input · USD per 1M input tokensNot listedBatch output · USD per 1M output tokensNot listed
Sources
Verified: Not availableChecked: Not availableOfficial source: Official source
API cost estimate

Estimate OpenAI API Cost

Choose a current OpenAI model from the same pricing rows, enter input tokens, output tokens, and request volume, then review the estimated monthly API cost.

Short answers

How much does the OpenAI API cost?

You pay per token. Current standard prices run from $0.10 input and $0.50 output per 1M tokens on GPT-6 Luna, up to $2.00 input and $10.00 output on GPT-6.1 Sol. A typical chat request with 2,000 input and 500 output tokens costs about $0.00045 on GPT-6 Luna and $0.009 on GPT-6.1 Sol. Your monthly bill is that per-request cost times your request volume, plus retries.

Cost per token

Divide the per-1M price by 1,000,000. GPT-6 Luna: $0.0000001 per input token and $0.0000005 per output token ($0.0001 and $0.0005 per 1,000 tokens); GPT-6.1 Sol: $0.000002 per input token and $0.00001 per output token ($0.002 and $0.01 per 1,000 tokens). One token is roughly three quarters of an English word, so 1,000 tokens is about 750 words.

Measure your real prompt in the Token Calculator, then price a month of traffic in the AI API Cost Calculator.

Does an API key cost money?

No. Creating an OpenAI API key is free; you pay for the tokens your requests use, from credits you buy for the API account. OpenAI's rate-limits guide lists a Free tier in allowed geographies with a $100 monthly usage limit, and the Build tier starts once the organization has made $5 in total credit purchases (checked Nov 6, 2026).

Source: OpenAI rate-limits guide. To keep a test key from turning into a surprise bill, set spend limits with the AI Budget Planner.

Does ChatGPT Plus or Pro include the API?

They are billed separately, and most ChatGPT plans do not pay for API calls: Plus, Go, Free and Enterprise do not. Paid ChatGPT Pro plans now include API credits equal to the plan price ($100, $200 or $500 a month). Business workspaces get API credits per paid seat ($20 for a Standard seat, $100 for a Premium seat), pooled and capped at $500 a month. The credits go to a linked API organization, expire at the end of each billing cycle, and do not cover Codex through API keys (checked Nov 6, 2026).

Source: OpenAI guide to API credits for ChatGPT subscribers. Comparing a subscription with pay-per-token use? See AI coding plan costs.

Pricing modes at a glance

How to read OpenAI API pricing

Compare source-linked model rates in USD per 1M tokens, inspect context tiers, and reuse the same reference in the model pricing comparison or the machine-readable pricing dataset. The table gives unit prices; the calculator estimates your workload cost.

Standard input and output

Input is the prompt and context sent to the model; output is generated text. Match the model ID, displayed mode, and context tier before comparing rates.

View current model prices

Cached input

Cached Input is the rate for eligible cache reads, not the ordinary Input rate. Repeated content is not automatically a cache hit. Cache writes can have a separate rate; use the matching model, mode, and context records in the dataset rather than counting the same tokens twice.

Compare input and cached input

Batch pricing

Batch is a processing mode for eligible asynchronous requests, not a separate model. Use listed Batch Input and Batch Output rates for the matching model and context. Not listed does not establish availability or a discount; check the official source for supported workloads and completion windows.

Compare Standard and Batch workload cost

Long-context and tiered pricing

Some models change rates when a token threshold is crossed. Each model's tier table specifies the threshold, token basis, and whole-request rule; there is no provider-wide threshold.

Read model-specific context tiers

Non-token components

Minute-based and other native-unit charges are separate from text-token rates. The records below retain their billing units. This page does not establish complete image, audio, or tool coverage; verify any additional charges with the official source.

Illustrative single-request cost

GPT-5.4 mini (gpt-5.4-mini): 800 input tokens × $0.75 / 1,000,000 + 350 output tokens × $4.50 / 1,000,000 = $0.002175 per request. No cache hits or writes, Batch discount, tool charges, retries, or regional adjustments are included. This is a Standard text-token illustration, not a bill or benchmark.

Check this example's model rates and evidence
Non-token billing

Non-token prices retain their native billing units.

These records are published separately from token pricing and are excluded from token calculators and the model token-price comparison.

deprecated

TTS-1

API price
$15.00 / 1M characters
Billing dimension
input
Model ID
tts-1
Provider
OpenAI
Sources
Verified: Checked: Official sources (2): Official source 1Official source 2
deprecated

TTS-1 HD

API price
$30.00 / 1M characters
Billing dimension
input
Model ID
tts-1-hd
Provider
OpenAI
Sources
Verified: Checked: Official sources (2): Official source 1Official source 2
Long-context pricing

How long-context pricing tiers work.

Some OpenAI models charge a different rate once a request passes a context threshold. The tables below list each model's published tiers.

Whole-request pricing

When a tier's threshold condition matches, that tier prices the entire standard request. This is a tier switch, not progressive pricing across token bands.

Threshold token count

Each model's token rule is shown in its tier table. Cached input is included in the threshold count; the threshold and token basis differ by model.

Pricing tiers

GPT-5.4 short- and long-context pricing.

Prices in USD per 1M tokens.

Context tierInput token ruleRegular inputCached inputOutputUnit
Short contextshort≤272k input tokens$2.50$0.25$15.00USD / 1M tokens
Long contextlong>272k input tokens$5.00$0.50$22.50USD / 1M tokens
Pricing tiers

GPT-5.4 Pro short- and long-context pricing.

Prices in USD per 1M tokens.

Context tierInput token ruleRegular inputCached inputOutputUnit
Short contextshort≤272k input tokens$30.00Not listed$180.00USD / 1M tokens
Long contextlong>272k input tokens$60.00Not listed$270.00USD / 1M tokens
Pricing tiers

GPT-5.5 short- and long-context pricing.

Prices in USD per 1M tokens.

Context tierTotal prompt token ruleRegular inputCached inputOutputUnit
Short contextshort≤272k prompt tokens$5.00$0.50$30.00USD / 1M tokens
Long contextlong>272k prompt tokens$10.00$1.00$45.00USD / 1M tokens
Pricing tiers

GPT-5.5 Pro short- and long-context pricing.

Prices in USD per 1M tokens.

Context tierInput token ruleRegular inputCached inputOutputUnit
Short contextshort≤272k input tokens$30.00Not listed$180.00USD / 1M tokens
Long contextlong>272k input tokens$60.00Not listed$270.00USD / 1M tokens
Pricing tiers

GPT-5.6 Luna short- and long-context pricing.

Prices in USD per 1M tokens.

Context tierTotal prompt token ruleRegular inputCached inputOutputUnit
Short contextshort≤272k prompt tokens$0.20$0.02$1.20USD / 1M tokens
Long contextlong>272k prompt tokens$0.40$0.04$1.80USD / 1M tokens

Price-record evidence

GPT-5.6 Luna
Model ID: gpt-5.6-luna
Provider: OpenAI

Sources
Verified: Checked: Official sources (2): Official source 1Official source 2
Pricing tiers

GPT-5.6 Sol short- and long-context pricing.

Prices in USD per 1M tokens.

Context tierTotal prompt token ruleRegular inputCached inputOutputUnit
Short contextshort≤272k prompt tokens$5.00$0.50$30.00USD / 1M tokens
Long contextlong>272k prompt tokens$10.00$1.00$45.00USD / 1M tokens

Price-record evidence

GPT-5.6 Sol
Model ID: gpt-5.6-sol
Provider: OpenAI

Sources
Verified: Checked: Official sources (2): Official source 1Official source 2
Pricing tiers

GPT-5.6 Terra short- and long-context pricing.

Prices in USD per 1M tokens.

Context tierTotal prompt token ruleRegular inputCached inputOutputUnit
Short contextshort≤272k prompt tokens$2.00$0.20$12.00USD / 1M tokens
Long contextlong>272k prompt tokens$4.00$0.40$18.00USD / 1M tokens

Price-record evidence

GPT-5.6 Terra
Model ID: gpt-5.6-terra
Provider: OpenAI

Sources
Verified: Checked: Official sources (2): Official source 1Official source 2
Pricing tiers

GPT-6 Astra short- and long-context pricing.

Prices in USD per 1M tokens.

Context tierInput token ruleRegular inputCached inputOutputUnit
Short contextshort≤272k input tokens$10.00$1.00$50.00USD / 1M tokens
Long contextlong>272k input tokens$20.00$2.00$75.00USD / 1M tokens

Price-record evidence

GPT-6 Astra
Model ID: gpt-6-astra
Provider: OpenAI

Sources
Verified: Checked: Official sources (2): Official source 1Official source 2
Pricing tiers

GPT-6 Luna short- and long-context pricing.

Prices in USD per 1M tokens.

Context tierInput token ruleRegular inputCached inputOutputUnit
Short contextshort≤272k input tokens$0.10$0.01$0.50USD / 1M tokens
Long contextlong>272k input tokens$0.20$0.02$0.75USD / 1M tokens
Pricing tiers

GPT-6 Rosalind short- and long-context pricing.

Prices in USD per 1M tokens.

Context tierInput token ruleRegular inputCached inputOutputUnit
Short contextshort≤272k input tokens$10.00$1.00$50.00USD / 1M tokens
Long contextlong>272k input tokens$20.00$2.00$75.00USD / 1M tokens

Price-record evidence

GPT-6 Rosalind
Model ID: gpt-6-rosalind
Provider: OpenAI

Sources
Verified: Checked: Official source: Official source
Pricing tiers

GPT-6 Sol short- and long-context pricing.

Prices in USD per 1M tokens.

Context tierInput token ruleRegular inputCached inputOutputUnit
Short contextshort≤272k input tokens$2.00$0.20$10.00USD / 1M tokens
Long contextlong>272k input tokens$4.00$0.40$15.00USD / 1M tokens
Pricing tiers

GPT-6.1 Sol short- and long-context pricing.

Prices in USD per 1M tokens.

Context tierInput token ruleRegular inputCached inputOutputUnit
Short contextshort≤272k input tokens$2.00$0.10$10.00USD / 1M tokens
Long contextlong>272k input tokens$4.00$0.20$15.00USD / 1M tokens
Pricing tiers

GPT-6.1 Terra short- and long-context pricing.

Prices in USD per 1M tokens.

Context tierInput token ruleRegular inputCached inputOutputUnit
Short contextshort≤272k input tokens$1.00$0.05$5.00USD / 1M tokens
Long contextlong>272k input tokens$2.00$0.10$7.50USD / 1M tokens
Pricing tiers

GPT-6.2 Astra short- and long-context pricing.

Prices in USD per 1M tokens.

Context tierInput token ruleRegular inputCached inputOutputUnit
Short contextshort≤272k input tokens$8.00$0.40$40.00USD / 1M tokens
Long contextlong>272k input tokens$16.00$0.80$60.00USD / 1M tokens
Pricing tiers

GPT-6.2 Sol short- and long-context pricing.

Prices in USD per 1M tokens.

Context tierInput token ruleRegular inputCached inputOutputUnit
Short contextshort≤272k input tokens$2.00$0.10$10.00USD / 1M tokens
Long contextlong>272k input tokens$4.00$0.20$15.00USD / 1M tokens
OpenAI API pricing and usage planning

Turn token assumptions into a monthly API cost estimate.

Use these planning modules with the calculator instead of treating the pricing table as a final bill. Your actual OpenAI API pricing depends on the request shape, model route, cache behavior, and production traffic.

OpenAI API pricing table

Review current OpenAI model rows with input, output, cached input, unit, status, and official source links. The pricing table near the top of this page comes from the same project pricing data, with no hand-written prices.

Estimate your monthly OpenAI API cost

Move realistic input tokens, output tokens, requests per month, and model assumptions into the calculator to estimate monthly OpenAI API cost for an app, chatbot, workflow, or internal assistant.

Open the AI API cost calculator

Compare Standard and Batch API cost

Upload CSV or XLSX workloads, select the text column, include expected output tokens, and compare eligible OpenAI Standard and Batch rates without changing the pricing reference on this page.

OpenAI Batch API cost calculator

OpenAI Responses API pricing

For Responses API workloads, estimate the same billing drivers: model choice, input tokens, output tokens, cached input eligibility, tool context, and repeated system instructions. Always verify final rules with official OpenAI billing pages.

Customer support chatbot workload

Estimate a complete support conversation from system instructions, retrieved help-center context, chat history, user messages, assistant replies, and regenerations rather than treating it as one request.

See a full customer support chatbot API cost example
OpenAI API monthly cost examples

Common GPT API workloads with calculated monthly examples.

These examples reuse the same provider pricing rows and token-cost helper as the table. Estimates use the selected API model and current listed token prices; actual costs depend on workload, caching, retries, and provider billing rules.

50,000 requests/month

Customer support chatbot

A support chatbot that answers product questions with concise responses and repeated help-center context.

Input
800 tokens
Output
350 tokens
Estimated monthly cost
$108.75
Model row
GPT-5.4 mini (gpt-5.4-mini)
6,000 requests/month

Article summarizer

A summarizer that sends long articles or transcripts and returns shorter editorial briefs.

Input
3,000 tokens
Output
500 tokens
Estimated monthly cost
$27.00
Model row
GPT-5.4 mini (gpt-5.4-mini)
120,000 requests/month

SaaS AI assistant

An app assistant that combines user messages, account context, tool results, and generated replies.

Input
1,500 tokens
Output
700 tokens
Estimated monthly cost
$513.00
Model row
GPT-5.4 mini (gpt-5.4-mini)
Cheapest OpenAI API models

Find lower-cost GPT routes without ignoring quality.

The lowest token price is a starting point, not a complete decision. For production, compare total workflow cost, answer quality, output length, cache hit rate, retries, and fallback behavior.

latest

GPT-6 Luna

Input
$0.10
Output
$0.50
Cached input
$0.01
latest

GPT-5.4 mini

Input
$0.75
Output
$4.50
Cached input
$0.075
latest

GPT-6.1 Terra

Input
$1.00
Output
$5.00
Cached input
$0.05

Cheapest model cards are derived from the same pricing rows shown on this page and are informational only. Verify current OpenAI API pricing, billing rules, and invoices before final purchasing decisions.

Official sources

Source URLs used for this provider.

Cost examples

1M input tokens
$8.00
Model
GPT-6.2 Astra
1M output tokens
$40.00
Model
GPT-6.2 Astra
10M input + 2M output
$160.00
Model
GPT-6.2 Astra

Calculate OpenAI API costs with your own usage assumptions.

Use the calculator for monthly app usage, ChatGPT API cost examples, cached input scenarios, and model-routing comparisons.

Open OpenAI API Cost Calculator
Older models

GPT-5, o3, GPT-4o and GPT-4.1 API prices and shutdown dates

Older OpenAI models keep the prices below until each one shuts down. The next shutdown is Dec 11, 2026, for GPT-5, GPT-5 mini and o3. o3-mini, o4-mini and GPT-4.1 nano already shut down on Oct 23, 2026, so calls to them now fail; their last prices are kept below for old invoices and budgets.

ModelInputCached inputOutputShutdownOpenAI suggests
GPT-5gpt-5$1.25$0.125$10.00Dec 11, 2026GPT-5.6 Sol
GPT-5 minigpt-5-mini$0.25$0.025$2.00Dec 11, 2026GPT-5.6 Terra
o3o3$2.00$0.50$8.00Dec 11, 2026GPT-5.6 Sol
GPT-4ogpt-4o$2.50$1.25$10.00Jan 14, 2027GPT-6 Luna
GPT-4o minigpt-4o-mini$0.15$0.075$0.60Jan 14, 2027GPT-6 Luna
GPT-4.1gpt-4.1$2.00$0.50$8.00Jan 14, 2027GPT-6 Luna
GPT-4.1 minigpt-4.1-mini$0.40$0.10$1.60Jan 14, 2027GPT-6 Luna
o3-minio3-mini$1.10$0.55$4.40Shut down Oct 23, 2026GPT-5.6 Sol
o4-minio4-mini$1.10$0.275$4.40Shut down Oct 23, 2026GPT-5.6 Terra
GPT-4.1 nanogpt-4.1-nano$0.10$0.025$0.40Shut down Oct 23, 2026GPT-5.6 Luna

Standard prices in USD per 1M tokens from each model's official page; shutdown dates and replacements from the OpenAI deprecations page (checked Nov 6, 2026). Batch API runs at half the Standard price on models that support it. Moving off one of these? Compare the replacement's cost in the AI API Cost Calculator.

OpenAI API pricing FAQ

OpenAI API pricing FAQ

OpenAI rows in this dataset include current GPT pricing entries, specialized model categories, verification timestamps, and official pricing URLs from OpenAI developer documentation.

How much does the OpenAI API cost?

You pay per token. Current standard prices run from $0.10 input and $0.50 output per 1M tokens on GPT-6 Luna, up to $2.00 input and $10.00 output on GPT-6.1 Sol. A typical chat request with 2,000 input and 500 output tokens costs about $0.00045 on GPT-6 Luna and $0.009 on GPT-6.1 Sol. Your monthly bill is that per-request cost times your request volume, plus retries.

How is OpenAI API pricing calculated per 1M tokens?

Text-token rates use a per-1M-token unit. For the matching model, mode, and context tier, multiply uncached input, eligible cache reads, any separately priced cache writes, and output by their applicable rates, then divide by one million. Do not count the same input tokens in multiple categories. Add applicable non-token charges separately.

How much does one OpenAI token cost?

Divide the per-1M price by 1,000,000. GPT-6 Luna: $0.0000001 per input token and $0.0000005 per output token ($0.0001 and $0.0005 per 1,000 tokens); GPT-6.1 Sol: $0.000002 per input token and $0.00001 per output token ($0.002 and $0.01 per 1,000 tokens). One token is roughly three quarters of an English word, so 1,000 tokens is about 750 words.

What are input, cached input, and output tokens?

Input is the prompt and context sent to the model. Cached Input is the rate for eligible cache reads, not ordinary input or cache writes. Repeated content must qualify under the model and processing-mode rules. Output is generated text and is priced separately; use official documentation to interpret billed token categories.

Does an OpenAI API key cost money?

No. Creating an OpenAI API key is free; you pay for the tokens your requests use, from credits you buy for the API account. OpenAI's rate-limits guide lists a Free tier in allowed geographies with a $100 monthly usage limit, and the Build tier starts once the organization has made $5 in total credit purchases (checked Nov 6, 2026).

Does a ChatGPT subscription include OpenAI API usage?

They are billed separately, and most ChatGPT plans do not pay for API calls: Plus, Go, Free and Enterprise do not. Paid ChatGPT Pro plans now include API credits equal to the plan price ($100, $200 or $500 a month). Business workspaces get API credits per paid seat ($20 for a Standard seat, $100 for a Premium seat), pooled and capped at $500 a month. The credits go to a linked API organization, expire at the end of each billing cycle, and do not cover Codex through API keys (checked Nov 6, 2026).

How can monthly OpenAI API cost be estimated?

Estimate one representative request, then multiply by requests per user, active users, days per month, retries, and fallback calls. Use the API cost calculator when you need to model monthly GPT API spend from realistic input and output token assumptions.

Does OpenAI offer Batch API pricing?

Batch is a processing mode for eligible asynchronous workloads, not a separate model. Compare the listed Batch Input and Batch Output rates with Standard rates for the same model and context. Missing rates do not establish availability or free usage. Check the official source for model support, completion windows, and billing rules.

Do long-context requests use different prices?

Some models have context-based pricing tiers. Read the model-specific token threshold, token basis, and whole-request rule shown in its tier table. Do not apply one model's threshold to every OpenAI model or treat a whole-request tier switch as progressive billing. Models without listed tiers do not acquire a tier rule from another row.

Where can users verify official OpenAI pricing?

Use the external official OpenAI pricing page, OpenAI API documentation, your OpenAI billing dashboard, contracts, and invoices as the final source of truth. AICostBudget keeps source links visible, but it is not an official OpenAI pricing page.