GPT-4
Model details
- Model
gpt-4- Provider
azure-openai-responses- API
azure-openai-responses- Base URL
(none)- Input
- text
- Reasoning
- No
- Context window
- 8,192
- Max tokens
- 8,192
Show configuration
{
"providers": {
"azure-openai-responses": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "gpt-4",
"name": "GPT-4",
"reasoning": false,
"input": [
"text"
],
"contextWindow": 8192,
"maxTokens": 8192,
"cost": {
"input": 30,
"output": 60,
"cacheRead": 0,
"cacheWrite": 0
}
}
],
"api": "azure-openai-responses"
}
}
}Pricing
USD per million tokens. A tier is selected from the total input tokens in each request and applies to that entire request.
| Request input | Input | Output | Cache read | Cache write |
|---|---|---|---|---|
| All requests | $30 | $60 | $0 | $0 |
Session cost calculator
Estimate the requests made during an agent session. A user turn can make several model calls while using tools, so costs are calculated per model request.
Estimated session$0.00
- Uncached input
- —
- Cache reads
- —
- Uncached prefixes
- —
- Cache writes
- —
- Output
- —
- Without caching
- —
The first request starts cold unless marked otherwise. Output is billed separately from context growth because reasoning tokens are not always retained. This remains a directional estimate: providers differ in eligibility, rounding, and retention.
Compatibility flags
This API has no model compatibility flags.