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: GPT-5.4 (batch)

openai/gpt-5.4:batch
TextInput: text · image · fileToolsReasoning1.1MAdded Mar 5, 2026

Try OpenAI: GPT-5.4 (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: GPT-5.4 (batch) at a glance

  • Input price is 178% higher than the median of 434 Text models.
  • Context window of 1,050,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.02.

About OpenAI: GPT-5.4 (batch)

GPT-5.4 (batch) is a text generation model from OpenAI, listed on api14 under the model id openai/gpt-5.4:batch. It belongs to OpenAI's GPT-5.4 line, which the provider describes as its latest frontier model and as a unification of the Codex and GPT lines into a single system. The batch variant is the version you call through api14's OpenAI-compatible endpoint.

The model accepts text, images and files as input, and it returns text. Its context window is 1,050,000 tokens, and the maximum output is 128,000 tokens. That combination of a very large context and a large output budget means you can supply long documents, codebases or mixed text and image material in a single request and still leave room for a substantial generated response.

Because it handles text, images and files together, the model suits work where the input is not a single clean string. Document analysis and summarisation over long files, question answering grounded in a set of uploaded references, and extraction of structured data from reports or scanned material are all natural fits. The reasoning and tool parameters make it usable for agent style workflows, where the model decides when to call a function and how much internal reasoning to spend. The large output ceiling also helps for tasks that produce long artefacts, such as detailed reports or extended code changes, rather than short answers.

To call it, send a request to api14's OpenAI-compatible chat completions endpoint with the model id openai/gpt-5.4:batch. The supported request parameters are include_reasoning, max_tokens, reasoning, reasoning_effort, response_format, seed, structured_outputs, tool_choice, tools and verbosity. In practice, tools and tool_choice cover function calling, response_format and structured_outputs cover JSON and schema constrained output, seed supports reproducible sampling, and reasoning, reasoning_effort, include_reasoning and verbosity control how much reasoning is exposed and how the model paces its effort.

Keep the output limit in mind: 128,000 tokens is generous but finite, so tasks that need to emit more than that in one pass have to be split. The model outputs text only, so anything requiring generated images or audio needs a different model. If your workload is small, latency sensitive and does not benefit from a million token context or from reasoning controls, a lighter text model may be a better fit.

How to call the OpenAI: GPT-5.4 (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/gpt-5.4: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/gpt-5.4:batch",
  "messages": [
    {
      "role": "user",
      "content": "Explain vector databases in two sentences."
    }
  ]
});
console.log(result.choices[0].message.content);

Supported parameters

include_reasoningmax_tokensreasoningreasoning_effortresponse_formatseedstructured_outputstool_choicetoolsverbosity

Specifications

Context length
1,050,000
Max output
128,000
Input
text, image, file
Output
text

Requests on api14 · last 7 days

10-1610-1710-1810-1910-2010-2110-22

OpenAI: GPT-5.4 (batch): frequently asked questions

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

OpenAI: GPT-5.4 (batch) community

New topic

This community has no topics yet. Open the first one about OpenAI: GPT-5.4 (batch).