Models / OpenAI
OpenAI
o4 Mini
openai/o4-mini
OpenAI o4-mini is a compact reasoning model in the o-series, optimized for fast, cost-efficient performance while retaining strong multimodal and agentic capabilities. It supports tool use and demonstrates competitive reasoning...
Input
$1.43 / 1M tokens
Output
$5.72 / 1M tokens
Context
200K tokens
Capabilities
✓ Streaming✓ Tool / function calling✓ JSON / structured output✓ Vision (image input)
Call this model
Pass openai/o4-mini as the model. Change only the base URL from your existing OpenAI SDK setup.
quickstart.sh
curl https://modeldatabase.com/v1/chat/completions \
-H "Authorization: Bearer $MDB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/o4-mini",
"messages": [{"role":"user","content":"Hello!"}]
}'
Prices are final — the routing margin is already included. See the full pricing table or the API docs.