reroute

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

Modalities
In / Out Price
$1.10 / $4.40 per 1M
Context
200K
Released
Apr 16, 2025
Knowledge Cutoff
Jun 2024

API

Reroute speaks the OpenAI Chat Completions format. Point any OpenAI SDK at https://reroute.wtf/api/v1 and use openai/o4-mini as the model.

You need an API key
Keys start with sk-rr-v1- and are shown once.
Create API key
curl https://reroute.wtf/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $REROUTE_API_KEY" \
  -d '{
  "model": "openai/o4-mini",
  "messages": [
    { "role": "user", "content": "What is the meaning of life?" }
  ]
}'

Streaming

Set stream: true to receive server-sent events. The final chunk carries usage and cost.

curl -N https://reroute.wtf/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $REROUTE_API_KEY" \
  -d '{ "model": "openai/o4-mini", "stream": true,
        "messages": [{ "role": "user", "content": "Count to five" }] }'