ChatGPT API Pricing in 2026: Every Model, Real Cost Examples, and How to Save

OpenAI charges for ChatGPT API usage based on tokens, not requests or time. A token in overall ChatGPT API pricing is roughly 4 characters or 0.75 words. Every prompt and response costs tokens. Understanding the pricing is essential before building on the API or integrating AI tools into your marketing stack.
OpenAI API Pricing (All Models, 2026)
OpenAI prices every model per 1 million tokens, with separate rates for input and output. GPT-5.6 Sol is the current flagship at $5.00/1M input. On July 30, 2026, OpenAI cut GPT-5.6 Luna by 80% to $0.20/1M input and $1.20/1M output, and GPT-5.6 Terra by 20% to $2.00/$12.00. GPT-4.1 Nano is still the absolute cheapest at $0.10/1M input. Here is the full breakdown.
| Model | Input (/1M tokens) | Output (/1M tokens) | Context | Best For |
|---|---|---|---|---|
| GPT-5.6 Sol | $5.00 | $30.00 | 1M | Current flagship, hardest tasks |
| GPT-5.6 Terra | $2.00 | $12.00 | 1M | Balanced mid-tier, 20% cheaper since July 30 |
| GPT-5.6 Luna | $0.20 | $1.20 | 1M | High-volume work, 80% cheaper since July 30 |
| GPT-5.4 | $2.50 | $15.00 | 1M | Previous flagship (Terra now beats it on price) |
| GPT-5.4 Mini | $0.75 | $4.50 | 1M | Solid mid-tier (Luna now undercuts it) |
| GPT-5.4 Nano | $0.20 | $1.25 | 1M | Edge/embedded, ultra-cheap |
| GPT-4.1 | $2.00 | $8.00 | 1M | Coding, long context, instruction-following |
| GPT-4.1 Mini | $0.40 | $1.60 | 1M | Balanced cost/quality for code |
| GPT-4.1 Nano | $0.10 | $0.40 | 1M | Cheapest useful model overall |
| GPT-4o | $2.50 | $10.00 | 128K | Legacy flagship (use GPT-5.6 instead) |
| GPT-4o mini | $0.15 | $0.60 | 128K | Legacy budget (use 4.1 Nano instead) |
| o4-mini | $1.10 | $4.40 | 200K | Best value reasoning model |
| o3 | $2.00 | $8.00 | 200K | Advanced reasoning, math, science |
| o3 Pro | $20.00 | $80.00 | 200K | Maximum reasoning quality |
| o1 | $15.00 | $60.00 | 200K | Legacy reasoning (use o3 or o4-mini instead) |
Cached input discount: Repeated prompt prefixes (system instructions, tool definitions) get 90% off input pricing across the whole GPT-5 family. GPT-5.6 Sol cached input is $0.50/1M, Terra $0.20/1M, Luna $0.02/1M. GPT-4.1, o3, and o4-mini drop 75%. GPT-4o and o1 drop 50%. Enable prompt caching for repetitive workloads.
Two fine-print items on GPT-5.6. Requests with more than 272,000 input tokens are billed at higher rates for the entire request. And the new Fast mode for GPT-5.6 Sol runs up to 2.5x faster at double the standard rate, replacing the old Priority Processing tier.
Prices as of July 31, 2026, including the July 30 cuts to Luna and Terra. Check openai.com/api/pricing for latest rates.

What Are Tokens?
One token is roughly 4 characters or 0.75 words. A 1,000-word article is ~1,300 tokens. You pay for both input (prompt) and output (response). Output costs 3-4x more than input. For context, the GPT-4o tokenizer splits “hamburger” into three tokens: “ham”, “bur”, “ger”. The sentence “Hello, how are you?” is 6 tokens. Non-English languages use more tokens per word. Use OpenAI’s tokenizer for exact counts.
Recommended reading: How to Format Your Blog Posts for AI Search: Perplexity, ChatGPT, Claude, and Gemini
Real-World Cost Examples
A blog post draft on GPT-5.6 Luna costs about $0.003 after the July 2026 price cut. Customer support replies on GPT-4.1 Nano cost $0.0002 each. Quick classification tasks cost fractions of a cent. Here are common use cases with real costs.
| Use Case | Model | Cost/Request | Cost/1,000 Requests |
|---|---|---|---|
| Blog post draft (1,500 words) | GPT-5.6 Luna | ~$0.003 | ~$3 |
| Email subject lines (10 options) | GPT-4.1 Nano | ~$0.00006 | ~$0.06 |
| Customer support reply | GPT-4.1 Nano | ~$0.0002 | ~$0.20 |
| Code generation (function) | GPT-4.1 | ~$0.01 | ~$10 |
| Complex reasoning/analysis | o3 | ~$0.10 | ~$100 |
| Quick classification/routing | GPT-4.1 Nano | ~$0.00004 | ~$0.04 |
Estimate monthly API spend with editable model rates, token volumes, caching, batch discounts, scenarios, and a budget cap.
ChatGPT Plus vs API: Which Is Cheaper?
ChatGPT Plus costs $20/month for access to GPT-5.6 through the chat interface. The API charges per token.
Plus is cheaper if: you use it interactively and your usage is moderate. Most individuals will not exceed $20/month of API tokens.
API is cheaper if: you build applications, process requests programmatically, use cheap models like GPT-5.6 Luna or GPT-4.1 Nano, or have very low or very high automated volume.
How to Reduce API Costs
Six techniques can cut your OpenAI bill by 50-90% without sacrificing quality. The biggest lever is model selection: GPT-4.1 Nano handles most tasks at 2% of GPT-5.6 Sol cost.
- Use the cheapest model that works. Start with GPT-4.1 Nano ($0.10/1M input). Step up to GPT-5.6 Luna ($0.20/1M) for current-generation quality at budget pricing. Reserve GPT-5.6 Sol and o3 for tasks where the cheaper models measurably fail.
- Shorten prompts. Every word costs tokens.
- Limit output length. Set
max_tokensto cap responses. - Cache responses. Same question = same answer. Serve cached instead of new API call.
- Use batch API. 50% discount for non-urgent requests (up to 24h wait).
- Set spending limits. Monthly cap in the OpenAI dashboard prevents surprise bills.
What the ChatGPT API Costs for WordPress Users
WordPress 7.0 (releasing April 22, 2026) ships with a built-in AI Client, Connectors API, and official provider plugins for OpenAI, Google (Gemini 3/3.1), and Anthropic (Claude 4.5/4.6). You configure your API key once in the new Connectors screen, and any plugin that supports the AI Client can use it. This is not a third-party hack. It is core WordPress infrastructure now.
Several established WordPress plugins already use the OpenAI API with a bring-your-own-key model. Here is what they actually cost.
Plugins that use your OpenAI API key:
- Rank Math Content AI. Rank Math uses its own credit system (not your API key directly) for SEO titles, meta descriptions, content suggestions, and FAQ generation. Plans start at $5.99/month for 15,000 credits. However, using Rank Math with WP Sheet Editor and your own OpenAI key lets you bulk-generate SEO metadata at API cost: roughly $0.50-2/month for 50 suggestions.
- AI Engine by Jordy Meow. The most popular BYOK AI plugin for WordPress (200,000+ installs). Connects to OpenAI, Anthropic Claude, Google Gemini, and Hugging Face. Powers chatbots, content generation, image creation, and custom AI workflows. A blog generating 20 drafts per month on GPT-4.1 Nano spends under $0.50 in API costs.
- AI Puffer (formerly AI Power). Full AI toolkit: content generation, chatbots, image creation, WooCommerce product descriptions, and AI training on your own data. Works with OpenAI GPT-5/4.1, Google Gemini, Azure, and Replicate. Your key, your costs, zero markup.
- AI Product Tools for WooCommerce. Bulk-generates product descriptions, meta titles, and SEO metadata for WooCommerce stores. Supports OpenAI, Gemini, and Claude API keys. 100 product descriptions cost approximately $1-5 depending on length and model. A 1,000-product store can generate all descriptions for $10-50 one time.
WordPress 7.0 AI Client and Connectors API. The new built-in AI Client is provider-agnostic: plugins send prompts through a standard PHP API, and the Connectors API routes them to whichever AI provider you have configured (OpenAI GPT-5.6/5.4, Google Gemini 3, or Anthropic Claude 4.6). You set up your API key once in Settings > Connectors, and every compatible plugin shares it. The Abilities API (introduced in WordPress 6.9) works with MCP (Model Context Protocol) to let AI assistants like ChatGPT and Claude discover what your site can do and execute tasks within defined permissions.
For most WordPress sites, AI API costs are negligible. A blog using AI Engine for 20 content suggestions and 5 draft outlines per month spends under $1 on GPT-4.1 Nano. Costs only become significant for high-volume WooCommerce stores or sites running AI chatbots handling hundreds of daily conversations.
Tip: Set a monthly spending limit in your OpenAI dashboard before entering your API key into any WordPress plugin. Start at $5/month and increase only after you understand your actual usage patterns.
OpenAI vs Claude vs Gemini: API Pricing Compared
OpenAI is not the only option. Here is how the major providers compare on the models most people actually use.
| Provider / Model | Input (/1M tokens) | Output (/1M tokens) | Strength |
|---|---|---|---|
| OpenAI GPT-5.6 Sol | $5.00 | $30.00 | Current flagship, broadest capabilities |
| OpenAI GPT-5.6 Terra | $2.00 | $12.00 | Balanced mid-tier flagship quality |
| OpenAI GPT-5.6 Luna | $0.20 | $1.20 | Best current-gen budget model after July cut |
| OpenAI GPT-4.1 Nano | $0.10 | $0.40 | Cheapest useful model anywhere |
| OpenAI o4-mini | $1.10 | $4.40 | Best value reasoning model |
| Anthropic Claude Opus 4.6 | $5.00 | $25.00 | Best for complex analysis, coding, long-form |
| Anthropic Claude Sonnet 4.6 | $3.00 | $15.00 | Best balance of quality and cost |
| Anthropic Claude Haiku 4.5 | $1.00 | $5.00 | Fast and cheap, solid quality |
| Google Gemini 3.1 Pro | $2.00 | $12.00 | Strong reasoning, 1M+ context |
| Google Gemini 3 Flash | $0.10 | $0.40 | Cheapest option with good quality |
| Google Gemini 3.1 Flash-Lite | $0.25 | $1.50 | Best ultra-budget with reasoning |
For high-volume simple tasks, Gemini 3 Flash and GPT-4.1 Nano are both at $0.10/1M input, the cheapest useful models available, and GPT-5.6 Luna at $0.20/$1.20 is the best current-generation option after the July 2026 cut. For complex reasoning, o3 and Claude Opus 4.6 are the top choices at very different price points ($2/$8 vs $5/$25). For everyday content work, GPT-5.6 Terra ($2/$12) now slightly undercuts Claude Sonnet 4.6 ($3/$15). At the top end, GPT-5.6 Sol ($5/$30) and Claude Opus 4.6 ($5/$25) match on input, with Claude cheaper on output. I use GPT-4.1 Nano for most marketing automation tasks and Claude Sonnet 4.6 for long-form content drafting.
Frequently Asked Questions
How much does the ChatGPT API cost?
It depends on the model. GPT-4.1 Nano is the cheapest at $0.10/1M input and $0.40/1M output. GPT-5.6 Luna ($0.20/$1.20 after the July 2026 price cut) offers the best quality-to-price ratio for most tasks. GPT-5.6 Sol ($5/$30) is the current flagship, with GPT-5.6 Terra ($2/$12) in between. For reasoning, o4-mini ($1.10/$4.40) is the best value. Most content and marketing tasks run fine on GPT-4.1 Nano or Luna at fractions of a cent per request.
What is a token in the OpenAI API?
A token is roughly 4 characters of English text or about 0.75 words. The word “hamburger” splits into three tokens: “ham”, “bur”, “ger”. A 1,000-word article is approximately 1,300 tokens. You pay for both input (your prompt) and output (the response), with output tokens costing 3-6x more depending on the model.
Is ChatGPT Plus or the API cheaper?
ChatGPT Plus ($20/month) gives you access to GPT-5.6 through the chat interface and is cheaper for most individual users. The API is cheaper for developers building applications, users with very low volume (under $5/month), or high-volume automated tasks on GPT-4.1 Nano or GPT-5.6 Luna.
How does OpenAI pricing compare to Claude and Gemini?
For budget tasks: GPT-4.1 Nano ($0.10/1M) and Gemini 3 Flash ($0.10/1M) are tied as the cheapest, with GPT-5.6 Luna ($0.20/$1.20) the best current-generation option. For mid-tier work: GPT-5.6 Terra ($2/$12) slightly undercuts Claude Sonnet 4.6 ($3/$15). For premium quality: GPT-5.6 Sol ($5/$30) and Claude Opus 4.6 ($5/$25) match on input, with Claude cheaper on output. For reasoning: o4-mini ($1.10/$4.40) undercuts everything.
Is the ChatGPT API free?
No free tier for production use. New accounts get a small amount of credits (typically $5-18) to experiment. After that, you pay per token. Gemini offers a more generous free tier if you need zero-cost API access for prototyping.
What is the cheapest AI API model available?
GPT-4.1 Nano ($0.10/1M input) and Google Gemini 3 Flash ($0.10/1M input) are tied as the cheapest useful models. Both handle classification, summarization, and simple content tasks well. For slightly better quality at low cost, GPT-5.6 Luna ($0.20/1M input after the July 2026 cut) and Gemini 3.1 Flash-Lite ($0.25/1M) are the next step up.
How much does the ChatGPT API cost for WordPress?
Very little. WordPress 7.0 ships with built-in AI Connectors for OpenAI, Gemini, and Claude. Plugins like AI Engine and AI Puffer use your own API key. A blog generating 20 content suggestions per month on GPT-4.1 Nano spends under $1. A WooCommerce store generating 100 product descriptions costs $1-5 one time. Set a $5/month spending limit in your OpenAI dashboard to start.
How do I reduce my OpenAI API costs?
Six ways: (1) Use GPT-4.1 Nano for everything that does not need premium quality. (2) Enable prompt caching (90% off cached input across the GPT-5 family, 75% off on GPT-4.1). (3) Use the Batch API for non-urgent work (50% discount). (4) Set max_tokens to limit response length. (5) Shorten your prompts. (6) Set a monthly spending cap in the OpenAI dashboard.
Tell Google you want more of this.
Add Gaurav Tiwari as a preferred sourceOne tap, and this site shows up more often in your own Top Stories, AI Overviews and AI Mode. Remove it any time.