Verified 2025-09-22 · sourced from OpenAI

GPT-4o Token Calculator & Cost Guide

Estimate OpenAI GPT-4o API usage in dollars before you send a single request. Standard pricing is $2.50 per million input tokens and $10.00 per million output tokens with a 128K token context window.

Context window

128,000 tokens

Input price

$2.50 / 1M

Output price

$10.00 / 1M

Cached input

$1.250 / 1M

Usage scenarios

Compare standard and cached pricing (where available) across common workloads.

ScenarioTokens inTokens outTotal tokensStandard costCached cost
Quick chat reply
Single user question with a short assistant answer
650220870$0.0038$0.0030
Coding assistant session
Multi-turn pair programming exchange (≈6 turns)
2,6001,4004,000$0.0205$0.0173
Knowledge base response
Retrieval-augmented answer referencing multiple passages
12,0003,00015,000$0.0600$0.0450
Near-max context run
Large document processing approaching the 128K token limit
112,00016,000128,000$0.440$0.300

Daily & monthly budgeting

Translate usage into predictable operating expenses across popular deployment sizes.

ProfileRequests/dayTokens/dayDaily costMonthly costCached dailyCached monthly
Team pilot2575,000$0.375$11.25$0.313$9.38
Product launch100500,000$2.38$71.25$1.94$58.13
Enterprise scale5003,000,000$15.00$450.00$12.50$375.00

Pricing notes

  • Primary multimodal flagship with audio, vision, and text support.
  • Values reflect base pricing per 1M tokens: input $2.50, output $10.00, cache $1.25.

Frequently asked questions

How much does GPT-4o cost per 1,000 tokens?

At the published rates of $2.50 per million input tokens and $10.00 per million output tokens, a typical 1,000 token request (≈70% input, 30% output) costs about $0.0047.

Does GPT-4o offer cached input discounts?

GPT-4o drops input costs to $1.250 per million cached tokens. Using cached contexts, that same 1,000 token call totals $0.0039, a significant saving for chatbots and RAG systems.

What is the context window for GPT-4o?

GPT-4o supports up to 128,000 tokens (128K), allowing large prompts and retrieval-augmented payloads in a single call.

How fresh is the GPT-4o pricing data?

Pricing is sourced from https://platform.openai.com/docs/pricing and was last verified on 2025-09-22. The calculator updates automatically when models.json is refreshed.

Related resources

Other Token Calculators

Explore More Tools