OpenAI API Pricing 2026 — GPT-5.4, O3, O1 & GPT-4o Cost Per Token

March 2026: GPT-5.4 is $2.50/M input tokens. O3 Pro is $150/M. See all OpenAI API rates for GPT-5, O1, O3, GPT-4o, GPT-4o-mini with free tier limits.

··3 min read
Share

OpenAI API Pricing — March 2026

Last updated: March 5, 2026GPT-5.4 now rolling out

Latest: GPT-5.4 (March 5, 2026)

  • GPT-5.4 brings advances in reasoning, coding, and agentic workflows
  • Available in ChatGPT, API, and Codex
  • Includes GPT-5.4 Thinking and GPT-5.4 Pro variants

TL;DR — OpenAI API Prices (March 2026)

  • GPT-5.2: $1.75/$14.00 per 1M input/output tokens (latest flagship)
  • GPT-5: $1.25/$10.00 per 1M tokens
  • GPT-5 Nano: $0.05/$0.40 per 1M tokens (cheapest)
  • o4-mini: $1.10/$4.40 per 1M tokens (best value reasoning)
  • o3-pro: $20.00/$80.00 per 1M tokens (strongest reasoning)

OpenAI offers the widest range of models from cheap fast models to expensive reasoning powerhouses.


GPT-5 Family (Flagship)

ModelContextInput / 1M tokensOutput / 1M tokensCached Input
GPT-5.2 Pro200K$21.00$168.00$2.10
GPT-5.2200K$1.75$14.00$0.175
GPT-5.1128K$1.25$10.00$0.125
GPT-5128K$1.25$10.00$0.125
GPT-5 Mini200K$0.25$2.00$0.025
GPT-5 Nano128K$0.05$0.40$0.005

O-Series (Reasoning)

ModelContextInput / 1M tokensOutput / 1M tokensCached Input
o1-pro200K$150.00$600.00
o3-pro200K$20.00$80.00
o1200K$15.00$60.00$7.50
o3200K$2.00$8.00$1.00
o4-mini200K$1.10$4.40$0.275
o3-mini200K$1.10$4.40$0.275

GPT-4 Family (Previous Gen)

ModelContextInput / 1M tokensOutput / 1M tokensCached Input
GPT-4.11M$2.00$8.00$0.20
GPT-4.1 Mini1M$0.40$1.60$0.04
GPT-4.1 Nano1M$0.10$0.40$0.01
GPT-4o128K$2.50$10.00$1.25
GPT-4o Mini128K$0.15$0.60$0.075

Cost Optimization Tips

  1. Use Nano/Mini models for simple tasks — 10-50x cheaper
  2. Prompt caching — 90% off for repeated context (cached = 10% of input price)
  3. Batch API — 50% off for async processing within 24 hours
  4. Choose the right model — Don't use o1-pro for simple queries

Related