Primary navigation

Legacy APIs

gpt-4
GPT-4
An older high-intelligence GPT model
Intelligence
Speed
Price
$30$60
Input
Output

GPT-4 is an older version of a high-intelligence GPT model, usable in Chat Completions.

8,192 context window
8,192 max output tokens
Dec 01, 2023 knowledge cutoff
Pricing
Pricing is based on the number of tokens used, or other metrics based on the model type. For tool-specific models, like search and computer use, there’s a fee per tool call. See details in the pricing page.
Text tokens
Per 1M tokens
Batch API price
Input
$30.00
Output
$60.00
Quick comparison
Input
Output
GPT-4
$30.00
o3-mini
$1.10
GPT-4o mini
$0.15
Modalities
Text
Input and output
Image
Not supported
Audio
Not supported
Video
Not supported
Endpoints
Chat Completions
v1/chat/completions
Responses
v1/responses
Realtime
v1/realtime
Assistants
v1/assistants
Batch
v1/batch
Fine-tuning
v1/fine-tuning
Embeddings
v1/embeddings
Image generation
v1/images/generations
Videos
v1/videos
Image edit
v1/images/edits
Speech generation
v1/audio/speech
Transcription
v1/audio/transcriptions
Translation
v1/audio/translations
Moderation
v1/moderations
Completions (legacy)
v1/completions
Features
Streaming
Supported
Function calling
Not supported
Structured outputs
Not supported
Fine-tuning
Supported
Distillation
Not supported
Predicted outputs
Not supported
Snapshots
Snapshots let you lock in a specific version of the model so that performance and behavior remain consistent. Below is a list of all available snapshots and aliases for GPT-4.
gpt-4
gpt-4
gpt-4-0613
gpt-4-0613
gpt-4-0314
Rate limits
Rate limits ensure fair and reliable access to the API by placing specific caps on requests or tokens used within a given time period. Your usage tier determines how high these limits are set and automatically increases as you send more requests and spend more on the API.
TierRPMRPDTPMBatch queue limit
FreeNot supported
Tier 150010,00010,000100,000
Tier 25,000-40,000200,000
Tier 35,000-80,0005,000,000
Tier 410,000-300,00030,000,000
Tier 510,000-1,000,000150,000,000