Skip to contentx402 is live on Robinhood Chain: agents can now pay for any model, per call, in USDG →
OmniRail
← All models

OpenAI · Language model

o4 Mini

openai/o4-mini
  • Language
Released Apr 16, 2025

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

Specifications

Context window
200,000 tokens
Max output
100,000 tokens
Input
image, text, file
Output
text
Reasoning
supported
Tokenizer
GPT
Knowledge cutoff
2024-06-30
Moderation
provider-moderated

Supported parameters

Accepted by the model and forwarded as-is by the gateway.

  • max_tokens
  • reasoning
  • response_format
  • seed
  • structured_outputs
  • tool_choice
  • tools

Use it

POST /api/v1/chat/completions · MCP chat · full reference

curl https://omnirail.org/api/v1/chat/completions \
  -H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
  -d '{"model":"openai/o4-mini","messages":[{"role":"user","content":"Hello"}],"max_tokens":300}'