GPT API cost depends on the selected GPT model and the number of normal input, cached input, and output tokens. Multiply each token group by its published per-million rate, then add the results. Use the calculator below for a workload estimate and confirm the current OpenAI source before funding or deploying an application.
Standard direct OpenAI API text rates. Above 272K input tokens, the entire request uses 2x input/cache and 1.5x output rates. Cache writes cost 1.25x uncached input and are excluded. Maximum input 922K; maximum output 128K tokens.
Monthly and annual totals project the selected rates unchanged; they do not forecast scheduled price changes. Include billed thinking tokens in output. Cache writes, tool calls, media, storage, taxes, regional pricing, platform fees, and provider-side token differences are excluded.
Current source data
Which GPT model is lower cost for this workload?
The GPT API cost calculator answer depends on the same input, cached input, and output token counts. Compare the listed OpenAI rates, calculate each shortlisted model with one representative workload, and do not treat a lower token price as proof of better task value. Missing prices remain unavailable rather than becoming zero.
Standard direct OpenAI API text rates. Requests above 272K input tokens use 2x input and cached-input rates and 1.5x output rates for the full request.
Promotional direct OpenAI API rates available at least through November 21, 2026; no later rate is confirmed. Requests above 272K input tokens use 2x input and cached-input rates and 1.5x output rates for the full request. Cache writes are separate.
Standard direct OpenAI API text rates. Requests above 272K input tokens use 2x input and cached-input rates and 1.5x output rates for the full request.
Standard direct OpenAI API text rates. Above 272K input tokens, the entire request uses 2x input/cache and 1.5x output rates. Cache writes cost 1.25x uncached input and are excluded. Maximum input 922K; maximum output 128K tokens.
Standard direct OpenAI API text rates. Above 272K input tokens, the entire request uses 2x input/cache and 1.5x output rates. Cache writes cost 1.25x uncached input and are excluded. Maximum input 922K; maximum output 128K tokens.
Standard direct OpenAI API text rates. Above 272K input tokens, the entire request uses 2x input/cache and 1.5x output rates. Cache writes cost 1.25x uncached input and are excluded. Maximum input 922K; maximum output 128K tokens.
Standard direct OpenAI API text rates. Above 272K input tokens, the entire request uses 2x input/cache and 1.5x output rates. Cache writes cost 1.25x uncached input and are excluded. Maximum input 922K; maximum output 128K tokens.
The 26 model rows use USD list prices per one million text tokens, checked against the linked official provider pages. OpenAI and Gemini long-context tiers are applied automatically from the entered input count. Batch, audio, image, video, tools, storage, regional, and platform fees may differ.
Rates as of 2026-09-30 (UTC); published scheduled changes apply automatically. Monthly totals assume those rates throughout the month. Cache writes are excluded; output should include billed thinking tokens.
Which tokens does the GPT API cost calculator price?
Normal input, eligible cached input, and generated output can use different rates. The GPT API cost calculator caps cached input at total input and prices unsupported cache scenarios at the normal input rate.
Message framing, tools, media, and endpoint behavior can change provider usage beyond the text you counted locally.
How does the GPT API cost calculator estimate monthly cost?
The GPT API cost calculator multiplies cost per request by requests per day and active days per month. Run a typical case, a long-output case, and a retry case instead of trusting one optimistic workload.
How are GPT cached tokens priced?
The GPT API cost calculator applies the published cached-input rate only to the cached token amount entered. The GPT API cost calculator does not infer cache writes, minimum size, retention, or hit rules; those still follow OpenAI's current documentation.
How does the GPT API cost calculator compare with Claude?
Which source and measured checks support the GPT API cost calculator?
The GPT API cost calculator measured normal input, cached input, output, zero-token, 1-token, 1 million-token, 10 million-token, and high-volume cases against the centralized OpenAI rates. Its limitation is billing scope: tools, media, retries, storage, regional modes, taxes, and provider-side tokenization remain outside the estimate. OpenAI official API pricing. Last verified: .
Which source and measured checks support the GPT API cost calculator? Evidence and limitations for the current page.
Evidence
Observed result or boundary
Measured GPT cases
0, 1, 1,000, 1 million, and 10 million tokens with cache and output variations.
Comparison boundary
GPT results can be compared with Anthropic Claude, Google Gemini, and DeepSeek rates.
Answers
GPT API cost questions
How does the GPT API cost calculator calculate price?
The GPT API cost calculator adds normal input cost, cached input cost, and output cost. Each group uses the selected model's published USD rate per one million tokens.
Does the GPT API cost calculator include tools or images?
No. The GPT API cost calculator models text-token list prices. Tools, images, audio, storage, regional processing, taxes, and platform fees can add separate cost.
Does the GPT API cost calculator guarantee cache hits?
No. The GPT API cost calculator applies the cached-input rate only to the amount entered; it does not prove that a request qualifies for or hits a provider cache.
Should the GPT API cost calculator choose the model?
No. Use the GPT API cost calculator beside task quality, output length, retries, latency, context, tools, privacy, and operational fit.
Use a realistic workload before comparing GPT prices
The GPT API cost calculator is strongest when input, output, cache, and volume come from representative requests. It is not for invoicing; provider usage remains the billing source of truth.