TokenRoute
Get started
Back to models

OpenAI: o4 Mini

Moderated

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...

Pricing

Input$0.7700 /M
Output$3.08 /M
Cache read$0.1925 /M
Web search$0.0070 /req

Specs

Context length200K tokens
Max output100K tokens
Inputimage, text, file
Outputtext

Quickstart

Point the OpenAI SDK at https://tokenroute.app/api/v1 and use a TokenRoute API key.

bash
curl https://tokenroute.app/api/v1/chat/completions \
  -H "Authorization: Bearer $TOKENROUTE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/o4-mini",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

Supported parameters

include_reasoning
max_tokens
reasoning
response_format
seed
structured_outputs
tool_choice
tools