o4 Mini (batch)

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 and coding performance across benchmarks like AIME (99.5% with Python) and SWE-bench, outperforming its predecessor o3-mini and even approaching o3 in some domains. Despite its smaller size, o4-mini exhibits high accuracy in STEM tasks, visual problem solving (e.g., MathVista, MMMU), and code editing. It is especially well-suited for high-throughput scenarios where latency or cost is critical. Thanks to its efficient architecture and refined reinforcement learning training, o4-mini can chain tools, generate structured outputs, and solve multi-step tasks with minimal delay—often in under a minute.

ChatOpenAI200k tokens$0.5995 / $2.3981 · 1M

openai/o4-mini:batch

Context
200k tokens
Completion cap
100,000
Tools
Yes
JSON
Yes
Released
2025-04-16

Call it from Geek Hub

Same OpenAI SDK. Change the base URL and the model id.

curl https://api.geekhub.mx/v1/chat/completions \
  -H "Authorization: Bearer $GEEKHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/o4-mini:batch",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Get an API key

Frequently asked questions

What is o4 Mini (batch)?
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 and coding performance across benchmarks like AIME (99.5% with Python) and SWE-bench, outperforming its predecessor o3-mini and even approaching o3 in some domains. Despite its smaller size, o4-mini exhibits high accuracy in STEM tasks, visual problem solving (e.g., MathVista, MMMU), and code editing. It is especially well-suited for high-throughput scenarios where latency or cost is critical. Thanks to its efficient architecture and refined reinforcement learning training, o4-mini can chain tools, generate structured outputs, and solve multi-step tasks with minimal delay—often in under a minute. o4 Mini (batch) runs on the Geek Hub API (OpenAI-compatible). Model id: openai/o4-mini:batch.
Is o4 Mini (batch) free?
No. Input is $0.5995 per 1M tokens and output is $2.3981 per 1M tokens on Geek Hub (markup included).
What is the context length of o4 Mini (batch)?
o4 Mini (batch) has a 200k tokens context window. It supports up to 100,000 completion tokens.
Does o4 Mini (batch) support tool calling and structured outputs?
o4 Mini (batch) accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
When was o4 Mini (batch) released?
o4 Mini (batch) was released on 2025-04-16.

More models from OpenAI