gpt-5-mini
gpt-5-mini
StreamingTool callingVisionReasoningJSON modeWeb search
Overview
gpt-5-mini is available on MAX API through the OpenAI-compatible API.
Pricing
Official list prices in USD. Token prices are per 1M tokens.All requests
- Input
- $0.25
- Output
- $2
- Cache read
- $0.025
| Tier | Input | Output | Cache read |
|---|---|---|---|
| All requests | $0.25 | $2 | $0.025 |
Cache read applies to prompt tokens served from the prompt cache; cache write applies to tokens written into it.
Example request
curl https://<your-endpoint>/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5-mini",
"messages": [{"role": "user", "content": "Hello!"}]
}'https://<your-endpoint> is a placeholder. Your endpoint is shown in the console after you sign in.