We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.

OpenAI: o4 Mini (batch)

openai/o4-mini:batch
TextInput: image · text · fileToolsReasoning200KAdded Apr 16, 2025

Try OpenAI: o4 Mini (batch) now

Runs on your balance at the prices above. New accounts start with free usage.

One API. Every model.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign in

Session cost $0.00

OpenAI: o4 Mini (batch) at a glance

  • Input price is 22% higher than the median of 434 Text models.
  • Context window of 200,000 tokens, enough for long documents and multi-turn conversations.
  • Supports tool (function) calling for agents and integrations.
  • Supports structured JSON output with a schema.
  • Supports reasoning effort control.
  • Accepts images as input (vision).
  • A typical request (1,000 input / 500 output tokens) costs about $0.00578.

About OpenAI: o4 Mini (batch)

OpenAI o4 Mini (batch) is a compact reasoning model from OpenAI's o-series, offered through api14 under the model id openai/o4-mini:batch. It belongs to the text category and is built for fast, cost-efficient performance while retaining strong multimodal and agentic capabilities. The batch variant is the same model surfaced for batch style workloads, so the reasoning behaviour you get here matches what you would expect from o4 Mini in general.

The model accepts text, images and files as input, and it returns text. It has a context window of 200,000 tokens and can produce up to 100,000 output tokens, which is generous for long reasoning traces, extended answers or large structured payloads. Its knowledge cutoff is 30 June 2024. Because it is a reasoning model, it can expose its reasoning steps when you ask for them, and it supports tool use, which makes it suitable for agentic patterns rather than plain single turn question answering alone.

Those capabilities point to a few practical uses. Multimodal input plus tool calling suits agents that need to read a screenshot or a document, decide what to do next, and call functions along the way. The large context window helps with long documents, codebases or multi turn conversations where earlier context matters. Structured outputs and response format support make it a reasonable choice for extraction, classification and other tasks where you need machine readable results. Reasoning output is useful when you want to inspect how the model reached an answer, for debugging or for tasks where the intermediate steps matter.

You call it through api14's OpenAI-compatible API using the model id openai/o4-mini:batch. The supported request parameters are include_reasoning, max_tokens, reasoning, response_format, seed, structured_outputs, tool_choice and tools. In practice that means you can control the reasoning behaviour and whether reasoning is returned, cap output length with max_tokens, request JSON or schema constrained output through response_format and structured_outputs, set a seed for more reproducible sampling, and define tools with tool_choice to drive function calling.

Keep the knowledge cutoff in mind: anything after 30 June 2024 is outside what the model learned, so time sensitive questions may need retrieval or tools to supply fresh facts. The model outputs text only, so if you need generated images or audio you would look elsewhere. Within those bounds it is a sensible default for reasoning heavy, multimodal and tool driven work where speed and efficiency matter.

How to call the OpenAI: o4 Mini (batch) API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "openai/o4-mini:batch".
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api14.com/api/v1",
  apiKey: process.env.API14_API_KEY,
});

const result = await client.chat.completions.create({
  "model": "openai/o4-mini:batch",
  "messages": [
    {
      "role": "user",
      "content": "Explain vector databases in two sentences."
    }
  ]
});
console.log(result.choices[0].message.content);

Supported parameters

include_reasoningmax_tokensreasoningresponse_formatseedstructured_outputstool_choicetools

Specifications

Context length
200,000
Max output
100,000
Input
image, text, file
Output
text
Knowledge cutoff
2024-06-30

Requests on api14 · last 7 days

10-1710-1810-1910-2010-2110-2210-23

OpenAI: o4 Mini (batch): frequently asked questions

How much does the OpenAI: o4 Mini (batch) API cost?
OpenAI: o4 Mini (batch) costs Input $1.93 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
What is the context window of OpenAI: o4 Mini (batch)?
OpenAI: o4 Mini (batch) reads up to 200,000 tokens per request: prompt, history and documents together. It writes up to 100,000 output tokens per response.
What can OpenAI: o4 Mini (batch) do?
OpenAI: o4 Mini (batch) accepts image, text, file and returns text. It supports tool calling, structured JSON output, reasoning effort control.
How do I call OpenAI: o4 Mini (batch) from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "openai/o4-mini:batch". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to OpenAI: o4 Mini (batch)?
Comparable Text models at a similar price: Z.ai: GLM 4.6, MiniMax: MiniMax M1, OpenAI: o3 Mini (batch). Each runs through the same API key, so switching is one string.

OpenAI: o4 Mini (batch) community

New topic

This community has no topics yet. Open the first one about OpenAI: o4 Mini (batch).