Back to all models
Get all the details on ChatGPT-4o, an AI model from OpenAI. This page covers its token limits, pricing structure, key capabilities such as advanced_reasoning, audio, function_calling, available API code samples, and performance strengths.
Key Metrics
Input Limit
128K tokens
Output Limit
4.1K tokens
Input Cost
$5.00/1M
Output Cost
$15.00/1M
Sample API Code
from openai import OpenAI
client = OpenAI()
response = client.chat.completions.create(
model="gpt-4o",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)
Required Libraries
openai
openai
Benchmarks
Benchmark | Score | Source | Notes |
---|---|---|---|
1408 | OpenLLM Leaderboard | Score for chatgpt-4o-latest-20250326 | |
1310 | OpenLLM Leaderboard | Score for chatgpt-4o-latest-20250326 | |
61.65 | Abacus.AI LiveBench | - | |
48.81 | Abacus.AI LiveBench | - | |
77.48 | Abacus.AI LiveBench | - | |
55.72 | Abacus.AI LiveBench | - | |
66.52 | Abacus.AI LiveBench | - | |
49.43 | Abacus.AI LiveBench | - | |
71.92 | Abacus.AI LiveBench | - |
Notes
This model is the version of GPT-4o used in ChatGPT. Its API pricing differs from the standard `gpt-4o` model.
Capabilities
advanced reasoning
audio
function calling
json mode
long context
multimodal input
vision
web browsing via tool
Supported Data Types
Input Types
text
image
audio
Output Types
text
audio
Strengths & Weaknesses
Exceptional at
multimodal understanding
general reasoning
instruction following
vision tasks
audio
Good at
coding tasks
data analysis
Additional Information
Latest Update
Mar 26, 2025
Knowledge Cutoff
Oct 1, 2023