Skip to content
Azure OpenAI

Gpt 4o

Gpt 4o is available via Azure OpenAI with a 128K context window and up to 16,384 output tokens. Pricing: $2.50/1M input tokens, $10.00/1M output tokens.

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
ProviderAzure OpenAI

What is Gpt 4o?

Gpt 4o is a large language model by Azure 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 available via Azure OpenAI with a 128K context window and up to 16,384 output tokens. Pricing: $2.50/1M input tokens, $10.00/1M output tokens.

Capabilities

text vision 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

Azure OpenAI

Global Standard/Gpt 4o 2024 08 06

$2.50/1M in 128K ctx

Azure OpenAI

Global Standard/Gpt 4o 2024 11 20

$2.50/1M in 128K ctx

Azure OpenAI

Global/Gpt 4o 2024 08 06

$2.50/1M in 128K ctx

Azure OpenAI

Global/Gpt 4o 2024 11 20

$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 Azure OpenAI Models