Skip to main content
Pricing

Pricing

Simple and flexible. Only pay for what you use.

Latest models

Multiple models, each with different capabilities and price points. Prices can be viewed in units of either per 1M or 1K tokens. You can think of tokens as pieces of words, where 1,000 tokens is about 750 words.

Language models are also available in the Batch API(opens in a new window) that returns completions within 24 hours for a 50% discount.

GPT-4o

GPT-4o is our most advanced multimodal model that’s faster and cheaper than GPT-4 Turbo with stronger vision capabilities. The model has 128K context and an October 2023 knowledge cutoff.

Model
Pricing
Pricing with Batch API*
gpt-4o
$2.50 / 1M input tokens
$1.25 / 1M input tokens
$1.25 / 1M cached** input tokens
$10.00 / 1M output tokens
$5.00 / 1M output tokens
gpt-4o-2024-08-06
$2.50 / 1M input tokens
$1.25 / 1M input tokens
$1.25 / 1M cached** input tokens
$10.00 / 1M output tokens
$5.00 / 1M output tokens
gpt-4o-2024-05-13
$5.00 / 1M input tokens
$2.50 / 1M input tokens
$15.00 / 1M output tokens
$7.50 / 1M output tokens
Vision pricing calculator
by
Price per 1M tokens (fixed)$2.50
512 x 512 tiles1 × 1
Total tiles1
Base tokens85
Tile tokens170 × 1 = 170
Total tokens255
Total price$0.000638

*Batch API pricing requires requests to be submitted as a batch. Responses will be returned within 24 hours for a 50% discount. Learn more about Batch API ↗(opens in a new window)

**Cached prompts are offered at a 50% discount compared to uncached prompts. Learn more about Prompt Caching ↗(opens in a new window)

GPT-4o mini

GPT-4o mini is our most cost-efficient small model that’s smarter and cheaper than GPT-3.5 Turbo, and has vision capabilities. The model has 128K context and an October 2023 knowledge cutoff.

Model
Pricing
Pricing with Batch API*
gpt-4o-mini
$0.150 / 1M input tokens
$0.075 / 1M input tokens
$0.075 / 1M cached** input tokens
$0.600 / 1M output tokens
$0.300 / 1M output tokens
gpt-4o-mini-2024-07-18
$0.150 / 1M input tokens
$0.075 / 1M input tokens
$0.075 / 1M cached** input tokens
$0.600 / 1M output tokens
$0.300 / 1M output tokens
Vision pricing calculator
by
Price per 1M tokens (fixed)$0.15
512 x 512 tiles1 × 1
Total tiles1
Base tokens2833
Tile tokens5667 × 1 = 5667
Total tokens8500
Total price$0.001275

*Batch API pricing requires requests to be submitted as a batch. Responses will be returned within 24 hours for a 50% discount. Learn more about Batch API ↗(opens in a new window)

**Cached prompts are offered at a 50% discount compared to uncached prompts. Learn more about Prompt Caching ↗(opens in a new window)

OpenAI o1-preview

o1-preview is our new reasoning model for complex tasks. The model has 128K context and an October 2023 knowledge cutoff.

Model
Pricing
o1-preview
$15.00 / 1M input tokens
$7.50 / 1M cached* input tokens
$60.00 / 1M output** tokens
o1-preview-2024-09-12
$15.00 / 1M input tokens
$7.50 / 1M cached* input tokens
$60.00 / 1M output** tokens

*Output tokens include internal reasoning tokens generated by the model that are not visible in API responses.

OpenAI o1-mini

o1-mini is a fast, cost-efficient reasoning model tailored to coding, math, and science use cases. The model has 128K context and an October 2023 knowledge cutoff.

Model
Pricing
o1-mini
$3.00 / 1M input tokens
$1.50 / 1M cached* input tokens
$12.00 / 1M output* tokens
o1-mini-2024-09-12
$3.00 / 1M input tokens
$1.50 / 1M cached* input tokens
$12.00 / 1M output* tokens

*Output tokens include internal reasoning tokens generated by the model that are not visible in API responses.

Embedding models

Build advanced search, clustering, topic modeling, and classification functionality with our embeddings offering.

Model
Pricing
Pricing with Batch API*
text-embedding-3-small
$0.020 / 1M tokens
$0.010 / 1M tokens
text-embedding-3-large
$0.130 / 1M tokens
$0.065 / 1M tokens
ada v2
$0.100 / 1M tokens
$0.050 / 1M tokens

*Batch API pricing requires requests to be submitted as a batch. Responses will be returned within 24 hours for a 50% discount. Learn more about Batch API ↗(opens in a new window)

Fine-tuning models

Create your own custom models by fine-tuning our base models with your training data. Once you fine-tune a model, you’ll be billed only for the tokens you use in requests to that model.

Model
Pricing
Pricing with Batch API*
gpt-4o-2024-08-06**
$3.750 / 1M input tokens
$1.875 / 1M input tokens
$15.000 / 1M output tokens
$7.500 / 1M output tokens
$25.000 / 1M training tokens
gpt-4o-mini-2024-07-18**
$0.300 / 1M input tokens
$0.150 / 1M input tokens
$1.200 / 1M output tokens
$0.600 / 1M output tokens
$3.000 / 1M training tokens
gpt-3.5-turbo
$3.000 / 1M input tokens
$1.500 / 1M input tokens
$6.000 / 1M output tokens
$3.000 / 1M output tokens
$8.000 / 1M training tokens
davinci-002
$12.000 / 1M input tokens
$6.000 / 1M input tokens
$12.000 / 1M output tokens
$6.000 / 1M output tokens
$6.000 / 1M training tokens
babbage-002
$1.600 / 1M input tokens
$0.800 / 1M input tokens
$1.600 / 1M output tokens
$0.800 / 1M output tokens
$0.400 / 1M training tokens

*Batch API pricing requires requests to be submitted as a batch. Responses will be returned within 24 hours for a 50% discount. Learn more about Batch API ↗(opens in a new window)

**Fine-tuning for GPT-4o and GPT-4o mini is free up to a daily token limit through October 31, 2024. For GPT-4o, each qualifying org gets up to 1M complimentary training tokens daily and any overage will be charged at the normal rate of $25.00/1M tokens. For GPT-4o mini, each qualifying org gets up to 2M complimentary training tokens daily and any overage will be charged at the normal rate of $3.00/1M tokens.

Realtime API

The Realtime API lets developers build low-latency, multimodal experiences, including speech-to-speech capabilities. Text and audio processed by the Realtime API are priced separately.

Pricing
gpt-4o-realtime-preview
Text
$5.00 / 1M input tokens
$20.00 / 1M output tokens
Audio*
$100.00 / 1M input tokens
$200.00 / 1M output tokens
gpt-4o-realtime-preview-2024-10-01
Text
$5.00 / 1M input tokens
$20.00 / 1M output tokens
Audio*
$100.00 / 1M input tokens
$200.00 / 1M output tokens

*Audio input costs approximately 6¢ per minute; Audio output costs approximately 24¢ per minute

Assistants API

The Assistants API and its tools make it easy for developers to build AI assistants in their applications. The tokens used for the Assistant API are billed at the chosen language model's per-token input / output rates.

Additionally, we charge the following fees for tool usage:

Tool
Input
Code Interpreter
$0.03 / session
File Search
$0.10 / GB of vector-storage per day (1 GB free)

GB refers to binary gigabytes (also known as gibibyte), where 1 GB is 2^30 bytes.

Image models

Build DALL·E directly into your apps to generate and edit novel images and art. DALL·E 3 is the highest quality model and DALL·E 2 is optimized for lower cost.

Model
Quality
Resolution
Price
DALL·E 3
Standard
1024×1024
$0.040 / image
Standard
1024×1792, 1792×1024
$0.080 / image
DALL·E 3
HD
1024×1024
$0.080 / image
HD
1024×1792, 1792×1024
$0.120 / image
DALL·E 2
1024×1024
$0.020 / image
512×512
$0.018 / image
256×256
$0.016 / image
Audio models

Whisper can transcribe speech into text and translate many languages into English.



Text-to-speech (TTS) can convert text into spoken audio.

Model
Usage
Whisper
$0.006 / minute (rounded to the nearest second)
TTS
$15.000 / 1M characters
TTS HD
$30.000 / 1M characters

Other Models

While we continuously improve our latest models, here is a list of other models that we support.

Model
Input
Output
chatgpt-4o-latest
$5.00 / 1M tokens
$15.00 / 1M tokens
gpt-4-turbo
$10.00 / 1M tokens
$30.00 / 1M tokens
gpt-4-turbo-2024-04-09
$10.00 / 1M tokens
$30.00 / 1M tokens
gpt-4
$30.00 / 1M tokens
$60.00 / 1M tokens
gpt-4-32k
$60.00 / 1M tokens
$120.00 / 1M tokens
gpt-4-0125-preview
$10.00 / 1M tokens
$30.00 / 1M tokens
gpt-4-1106-preview
$10.00 / 1M tokens
$30.00 / 1M tokens
gpt-4-vision-preview
$10.00 / 1M tokens
$30.00 / 1M tokens
gpt-3.5-turbo-0125
$0.50 / 1M tokens
$1.50 / 1M tokens
gpt-3.5-turbo-instruct
$1.50 / 1M tokens
$2.00 / 1M tokens
gpt-3.5-turbo-1106
$1.00 / 1M tokens
$2.00 / 1M tokens
gpt-3.5-turbo-0613
$1.50 / 1M tokens
$2.00 / 1M tokens
gpt-3.5-turbo-16k-0613
$3.00 / 1M tokens
$4.00 / 1M tokens
gpt-3.5-turbo-0301
$1.50 / 1M tokens
$2.00 / 1M tokens
davinci-002
$2.00 / 1M tokens
$2.00 / 1M tokens
babbage-002
$0.40 / 1M tokens
$0.40 / 1M tokens

FAQ

You can think of tokens as pieces of words used for natural language processing. For English text, 1 token is approximately 4 characters or 0.75 words. As a point of reference, the collected works of Shakespeare are about 900,000 words or 1.2M tokens.

To learn more about how tokens work and estimate your usage…

  • Experiment with our interactive Tokenizer tool(opens in a new window).

  • Log in to your account and enter text into the Playground. The counter in the footer will display how many tokens are in your text.

Start creating with OpenAI’s powerful models.