reroute

OpenAI: GPT-4.1 Mini (batch)

openai/gpt-4.1-mini:batch

GPT-4.1 Mini is a mid-sized model delivering performance competitive with GPT-4o at substantially lower latency and cost. It retains a 1 million token context window and scores 45.1% on hard...

Modalities
In / Out Price
$0.20 / $0.80 per 1M
Context
1M
Released
Apr 14, 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/gpt-4.1-mini:batch 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/gpt-4.1-mini:batch",
  "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/gpt-4.1-mini:batch", "stream": true,
        "messages": [{ "role": "user", "content": "Count to five" }] }'