AI Agents & Models

OpenAI API

Developer platform for OpenAI's text, image, audio and video models, billed per usage.

Visit OpenAI API

At a glance

CategoryAI Agents & Models
Free planNo
PlansAPI usage: Pay-as-you-go per 1 million tokens: input, cached input and output are priced separately by model. Standard, Batch, Flex and Fast processing modes have different rates; Batch saves 50% on inputs and outputs for asynchronous tasks.
Billing basisAPI usage: Billing period not confirmed
Included seats and extra-seat chargesAPI usage: Seat terms not recorded
Plan limitsAPI usage: Images, audio, video and built-in tools are priced separately from text tokens.
Estimated monthly cost for 5 peopleNo recorded paid plan covers this team size
Pricing source and review dateVendor pricing page, checked 29 Nov 2026
Websiteopenai.com

Overview

Developer platform for OpenAI's models, billed per 1 million tokens with separate input, cached-input and output rates. Standard, Batch, Flex and Fast modes are priced separately; Batch saves 50% on inputs and outputs for tasks run asynchronously over 24 hours. Image, audio and video models and built-in tools have their own pricing units.

Limits and conditions

Model prices

US dollars per 1 million tokens, standard processing, as listed on the vendor's pricing page. Checked 29 Nov 2026.

ModelInputCached inputOutputConditions
gpt-6.2-astra$8.00$0.40$40.00Short context (up to 272K input tokens); long context costs more
gpt-6.2-sol$2.00$0.10$10.00Short context (up to 272K input tokens); long context costs more
gpt-6.1-terra$1.00$0.05$5.00Short context (up to 272K input tokens); long context costs more
gpt-6-luna$0.10$0.01$0.50Short context (up to 272K input tokens); long context costs more
gpt-5.5$5.00$0.50$30.00Below 272K context length
gpt-5.4$2.50$0.25$15.00Below 272K context length
gpt-5.4-mini$0.75$0.075$4.50—
gpt-5.4-nano$0.20$0.02$1.25—
gpt-4.1$2.00$0.50$8.00—
gpt-4o-mini$0.15$0.075$0.60—
o3$2.00$0.50$8.00—

Pricing

Per 1M tokens, standard processing: gpt-6.2-astra $8 input / $40 output; gpt-6.2-sol $2 / $10; gpt-6-luna $0.10 / $0.50. Full per-model table below.

PlanPriceWhat's included
API usagePay-as-you-go per 1 million tokens: input, cached input and output are priced separately by model. Standard, Batch, Flex and Fast processing modes have different rates; Batch saves 50% on inputs and outputs for asynchronous tasks.Images, audio, video and built-in tools are priced separately from text tokens.

Pricing source: vendor pricing page, checked 29 Nov 2026. Prices shown in USD.

Compare OpenAI API

OpenAI API vs Anthropic API · OpenAI API vs DeepSeek · OpenAI API vs Google Gemini API · OpenAI API vs Mistral API

Alternatives to OpenAI API

ToolCategoryLicenceStarsLatest releasePricing
Anthropic API
Anthropic's developer API for the Claude models, billed per usage.
AI Agents & Models———Per 1M tokens: Claude Fable 5.2 $8 input / $40 output; Opus 5.5 $4 / $20; Sonnet 5.5 $2 / $10; Haiku 5.5 $0.10 / $0.50. Full per-model table below.
DeepSeek
AI model platform with hosted chat and developer APIs. Its API offers reasoning modes and tool calling, with OpenAI- and Anthropic-compatible interfaces.
AI Agents & Models———Per 1M tokens, peak rates: deepseek-flash $0.30 input / $1.20 output; deepseek-v4-pro $1.32 / $3.96. Off-peak rates are half. Full per-model table below.
Google Gemini API
Google's developer API for the Gemini models, with a free tier and a paid tier billed per usage.
AI Agents & Models———Per 1M tokens, paid tier, standard: Gemini 3.5 Flash $1.50 input / $9.00 output; Gemini 3.1 Pro Preview $2.00 / $12.00; Gemini 2.5 Flash-Lite $0.10 / $0.40. A free tier is available. Full per-model table below.
Mistral API
Mistral AI's developer API (La Plateforme) for its language, code, audio and OCR models, billed per usage.
AI Agents & Models———Per 1M tokens: Mistral Large 4 $0.70 input / $2.10 output; Mistral Small 4 $0.15 / $0.60; Ministral 3 (3B) $0.10 / $0.10. Full per-model table below.