← Models
vercel-ai-gateway

GPT-4o

openai/gpt-4o
Vision

Model details

Model
openai/gpt-4o
Provider
vercel-ai-gateway
API
anthropic-messages
Base URL
https://ai-gateway.vercel.sh
Input
text, image
Reasoning
No
Context window
128,000
Max tokens
16,384

Pricing

USD per million tokens.

Input
$2.5
Output
$10
Cache read
$1.25
Cache write
$0

A reference estimate. Provider pricing and context tiers may vary.

Session cost calculator

Estimate the model requests made during an agent session.

96%
Estimated session$1.16
Uncached input
$0.20
Cache reads
$0.81
Cache writes
$0.0000
Output
$0.15
Without caching
$1.96

25 model requests

The first request starts cold unless marked otherwise. Output is billed separately from context growth. Providers differ in eligibility, context tiers, rounding, and retention.

Compatibility flags

allowEmptySignature
Yes