Back to models
GPT-4o
Flagship modelNewRecommended
OFast, intelligent, flexible GPT model
| Context window | 128,000 tokens |
| Max output tokens | 16,384 tokens |
Pricing
| Type | Input | Output |
|---|---|---|
| Standard | $4.25 / 1M tokens | $17.00 / 1M tokens |
| Cached input | $2.13 / 1M tokens | |
Parameters
| Parameter | Default | Range |
|---|---|---|
| Temperature | 1 | 0 to 2 |
| Top P | 1 | 0 to 1 |
| Frequency penalty | 0 | -2 to 2 |
| Presence penalty | 0 | -2 to 2 |
| Max stop sequences | 4 | — |
Supported features
Capabilities
- Streaming
- Function Calling
- Structured Output
- Json Mode
- System Prompt
Endpoints
- Chat Completions
- Batch
- Vision
Use cases
- vision
- text-chat
- function-calling
Model specifications
| Model ID | gpt-4o |
| Family | gpt-4 |
| Access type | Closed |
| Input modalities | text, image |
| Output modalities | text |