Skip to content
OpenAI

Gpt 4o

GPT-4o is OpenAI's flagship multimodal model, processing text, images, and audio in a single architecture. It delivers GPT-4-class intelligence at half the price and 2x the speed of GPT-4 Turbo.

Gpt 4o Pricing & Specifications

Input Price$2.50 per 1M tokens
Output Price$10.00 per 1M tokens
Context Window128,000 tokens (128K)
Max Output16,384 tokens
ProviderOpenAI
Release Date2024-05

What is Gpt 4o?

Gpt 4o is a large language model by OpenAI with a 128K context window and up to 16,384 output tokens. It costs $2.50 per 1M input tokens and $10.00 per 1M output tokens. GPT-4o is OpenAI's flagship multimodal model, processing text, images, and audio in a single architecture. It delivers GPT-4-class intelligence at half the price and 2x the speed of GPT-4 Turbo.

Capabilities

text vision audio function calling json mode

Gpt 4o Cost Examples

Short prompt (500 tokens)

$0.001250

Medium prompt (2K tokens)

$0.00500

Long output (4K tokens)

$0.04000

Count tokens for Gpt 4o

Paste your prompt to see exact token counts and API cost estimates.

Open Token Counter

Similar Models to Gpt 4o

OpenAI

Gpt 4o 2024 08 06

$2.50/1M in 128K ctx

OpenAI

Gpt 4o 2024 11 20

$2.50/1M in 128K ctx

OpenAI

Gpt 4o Audio Preview

$2.50/1M in 128K ctx

OpenAI

Gpt 4o Audio Preview 2024 12 17

$2.50/1M in 128K ctx

Frequently Asked Questions

How much does Gpt 4o cost per token? +
Gpt 4o costs $2.50 per 1M input tokens and $10.00 per 1M output tokens. For a typical 1,000-token request with a 500-token response, that works out to roughly $0.007500.
What is the context window for Gpt 4o? +
Gpt 4o supports a context window of 128,000 tokens (128K). This determines the maximum combined length of your prompt and conversation history in a single API call.
What is the maximum output length for Gpt 4o? +
Gpt 4o can generate up to 16,384 tokens in a single response. If you need longer outputs, you can make multiple API calls and concatenate the results.
Is Gpt 4o good for coding tasks? +
Yes, Gpt 4o supports capabilities well-suited for coding tasks including code generation, debugging, and refactoring.
Token Counter | Pricing Calculator | Model Comparison | All OpenAI Models