OA

GPT-4o

by OpenAIWebsite
generalchatimages

Input

$2.50/MTok

Output

$10.00/MTok

Cached Input

$1.25/MTok

with caching

Batch Input

$1.25/MTok

batch API

Specifications

Context Window

128K context

Max Output

16K tokens

Caching

Supported

Batch API

Supported

Vision

Supported

Tool Use

Supported

Cost Examples

Single chat message

500 input + 300 output tokens

$0.0042/request

Code review

5,000 input + 2,000 output tokens

$0.03/request

Document summary

50,000 input + 1,000 output tokens

$0.14/request

100 requests/day

1,000 input + 500 output × 30 days

$22.50/month

Compare GPT-4o

See how GPT-4o stacks up against GPT-5.4 and GPT-4.1.