Available now
OpenAI
gpt-4o-mini
GPT-4o mini is OpenAI's newest model after GPT-4 Omni, supporting both text and image inputs with text outputs. As their most advanced small model, it is many multiples more affordable...
TextToolsFilesVision128KCacheWebSearch
InputFree
OutputFree
Context128K
Endpointsopenai
Capabilities
ToolsParallel toolsVisionFilesCacheStructuredWeb search
Modalities
Input
textimagefile
Output
text
Quick stats
Context window128K
Max output4.1K
Modechat
TokenizerGPT
Knowledge cutoff2023
ModeratedYes
Performance
Loading performance data...
Supported parameters
| Parameter | Always | Default |
|---|---|---|
| frequency_penalty | - | |
| logit_bias | - | |
| logprobs | - | |
| max_tokens | - | |
| presence_penalty | - | |
| response_format | - | |
| seed | - | |
| stop | - | |
| structured_outputs | - | |
| temperature | - | |
| tool_choice | - | |
| tools | - | |
| top_logprobs | - | |
| top_p | - | |
| web_search_options | - |
§ 01
Pricing
| Input price | $0.00 · 1M tokens |
| Output price | $0.00 · 1M tokens |
| Context window | 128K tokens |
| Compatible endpoints | openai |
| Vendor | OpenAI |
§ 02
Call gpt-4o-mini from your code
Point any OpenAI-compatible SDK at UnoRouter and request the model by name. Replace YOUR_API_KEY with a real key from your dashboard.
bash
curl https://api.unorouter.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4o-mini",
"messages": [{"role": "user", "content": "Hello!"}]
}'§ 03
Frequently asked questions
How much does gpt-4o-mini cost per 1M tokens?
Input is priced at $0.00 per 1M tokens, output at $0.00 per 1M tokens. Billing is per token, no rounding to batch sizes.
How do I access gpt-4o-mini via API?
Send requests to the UnoRouter /v1/chat/completions endpoint with model=gpt-4o-mini. Any OpenAI-compatible client library works. Authentication uses a standard Bearer token.
What is the context window of gpt-4o-mini?
gpt-4o-mini supports a context window of 128K tokens, shared between your prompt and the model's response.
§ 04