GPT-4o Mini API
Compact GPT-4o model for chat and routine text tasks.
Starting at
$0.18
input price per 1M tokens
GPT-4o Mini playground
Input
openaiInput
$0.18 / 1M
Output
$0.72 / 1M
Output

Start a conversation
Ask GPT-4o Mini anything. Messages are sent directly to the API and charged by token usage.
Sign in to chatGPT-4o Mini API pricing
| Option | Price per 1M tokens |
|---|---|
| input | $0.18 |
| output | $0.72 |
| 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-4o-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-4o Mini cost?
GPT-4o Mini starts at $0.18 per 1M input tokens on API Stock. The final charge depends on the selected settings.
When was GPT-4o Mini released?
GPT-4o Mini was released on July 18, 2024 and is available through API Stock.
How do I get an API key for GPT-4o Mini?
Create an account and API key on API Stock, then fund your balance. The same key works with GPT-4o Mini and other catalog models.
How do I call the GPT-4o Mini API?
Send a POST request to https://api.api-stock.com/api/v1/chat/completions with your API key and the model "gpt-4o-mini", using the openai-compatible request format shown in the quick start above.
What happens if a GPT-4o 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-4o Mini with the same API key as other models?
Yes. Use your API Stock API key and balance for GPT-4o Mini and other catalog models.
Other Chat models
- Qwen3.8 Omni FlashAlibaba$0.113/ 1M tokens
- GPT 6 LunaOpenAI$0.12/ 1M tokens
- DeepSeek V4.1 Flash 1017DeepSeek$0.135/ 1M tokens
- DeepSeek V4 FlashDeepSeek$0.168/ 1M tokens
- GPT 5.6 LunaOpenAI$0.18/ 1M tokens
- Grok 4.7xAI$0.23/ 1M tokens
- Gemini 3.5 Flash-LiteGoogle$0.28/ 1M tokens
- Claude Sonnet 5Anthropic$0.3/ 1M tokens
- MiniMax M2.7MiniMax$0.3/ 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
