GPT-5.4 Mini API
Compact GPT-5.4 model for coding and everyday language tasks.
Starting at
$0.9
input price per 1M tokens
GPT-5.4 Mini playground
Input
openaiInput
$0.9 / 1M
Output
$5.4 / 1M
Output

Start a conversation
Ask GPT-5.4 Mini anything. Messages are sent directly to the API and charged by token usage.
Sign in to chatGPT-5.4 Mini API pricing
| Option | Price per 1M tokens |
|---|---|
| input | $0.9 |
| output | $5.4 |
| cacheRead | $0.09 |
Quick start
Full API reference →1curl -X POST https://api.api-stock.com/api/v1/chat/completions \2 -H "Authorization: Bearer $API_STOCK_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "gpt-5.4-mini",6 "messages": [7 {8 "role": "user",9 "content": "A cinematic shot of a city at dusk"10 }11 ]12 }'
Frequently asked questions
How much does GPT-5.4 Mini cost?
GPT-5.4 Mini starts at $0.9 per 1M input tokens on API Stock. The final charge depends on the selected settings.
How do I get an API key for GPT-5.4 Mini?
Create an account and API key on API Stock, then fund your balance. The same key works with GPT-5.4 Mini and other catalog models.
How do I call the GPT-5.4 Mini API?
Send a POST request to https://api.api-stock.com/api/v1/chat/completions with your API key and the model "gpt-5.4-mini", using the openai-compatible request format shown in the quick start above.
What happens if a GPT-5.4 Mini request fails?
API Stock automatically retries the request on a reserve provider. If every provider fails, the charge is refunded to your balance.
Can I use GPT-5.4 Mini with the same API key as other models?
Yes. Use your API Stock API key and balance for GPT-5.4 Mini and other catalog models.
Other Chat models
- GLM-5.1Z.ai$0.63/ 1M tokens
- Claude Opus 4.6Anthropic$0.662/ 1M tokens
- Claude Opus 4.7Anthropic$0.662/ 1M tokens
- Claude Opus 4.8Anthropic$0.662/ 1M tokens
- Claude Sonnet 5.5Anthropic$0.9/ 1M tokens
- Gemini 3.5 FlashGoogle$0.9/ 1M tokens
- Gemini 3.6 FlashGoogle$0.9/ 1M tokens
- Gemini 3.7 FlashGoogle$0.9/ 1M tokens
- Gemini 3.8 FlashGoogle$0.9/ 1M tokens
Guides
- Choose a model for an agent taskCompare models on completed tool-using tasks, repeated attempts and observed cost before setting an agent's default.2 min read
- LLM API pricing: GPT, Claude, Gemini, DeepSeek comparedCompare LLM API pricing for GPT, Claude, Gemini, DeepSeek, Grok and Kimi per 1M tokens, with worked monthly cost examples and practical ways to cut the bill.9 min read
- Give your coding agent image, video and music toolsConnect Claude Code, Codex, OpenCode or OpenClaw to API Stock and use generated media in a page, app or content draft.3 min read
