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 instruction evals, 35.8% on MultiChallenge, and 84.1% on IFEval. Mini also shows strong coding ability (e.g., 31.6% on Aider’s polyglot diff benchmark) and vision understanding, making it suitable for interactive applications with tight performance constraints.

ChatOpenAI1M tokens$0.218 / $0.872 · 1M

openai/gpt-4.1-mini:batch

Context
1M tokens
Completion cap
32,768
Tools
Yes
JSON
Yes
Released
2025-04-14

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/gpt-4.1-mini:batch",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Get an API key

Frequently asked questions

What is 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 instruction evals, 35.8% on MultiChallenge, and 84.1% on IFEval. Mini also shows strong coding ability (e.g., 31.6% on Aider’s polyglot diff benchmark) and vision understanding, making it suitable for interactive applications with tight performance constraints. GPT-4.1 Mini (batch) runs on the Geek Hub API (OpenAI-compatible). Model id: openai/gpt-4.1-mini:batch.
Is GPT-4.1 Mini (batch) free?
No. Input is $0.218 per 1M tokens and output is $0.872 per 1M tokens on Geek Hub (markup included).
What is the context length of GPT-4.1 Mini (batch)?
GPT-4.1 Mini (batch) has a 1M tokens context window. It supports up to 32,768 completion tokens.
Does GPT-4.1 Mini (batch) support tool calling and structured outputs?
GPT-4.1 Mini (batch) accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
When was GPT-4.1 Mini (batch) released?
GPT-4.1 Mini (batch) was released on 2025-04-14.

More models from OpenAI