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 Mini

openai/gpt-5.4-mini
TextInput: file · image · textToolsReasoning400KAdded Mar 17, 2026

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

  • Input price is 67% higher than the median of 434 Text models.
  • Context window of 400,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.01.

About OpenAI: GPT-5.4 Mini

GPT-5.4 Mini is a text model from OpenAI, positioned as a faster, more efficient member of the GPT-5.4 family. It brings the core capabilities of GPT-5.4 to workloads where throughput matters, which makes it a reasonable default when you want GPT-5.4 style behaviour without the latency or capacity profile of the larger model. It was released by the provider on 2026-03-17, and its knowledge cutoff is 2025-08-31.

The model accepts text, image and file inputs, and it returns text. Its context window is 400,000 tokens, with a maximum output of 128,000 tokens, so long documents, large codebases or extended conversation histories can be handled in a single request. The provider describes strong performance across reasoning and coding, and the model exposes reasoning controls, which means you can tune how much internal reasoning effort it applies rather than treating it as a fixed black box.

Those capabilities point to a fairly wide set of practical uses. Document and file analysis works well given the combination of file input and a large context: contracts, reports, logs or research material can be passed in and summarised or queried. Image input supports tasks such as reading screenshots, diagrams or scanned pages alongside text instructions. Coding assistance, structured data extraction and multi step reasoning over long inputs are all natural fits, and the reasoning effort and verbosity parameters let you trade depth against speed depending on the task.

You call it through api14's OpenAI-compatible API using the model id "openai/gpt-5.4-mini". Because the interface follows the OpenAI chat completions shape, existing OpenAI SDKs and clients generally work with only a base URL and key change. The supported request parameters are include_reasoning, max_completion_tokens, max_tokens, reasoning, reasoning_effort, response_format, seed, structured_outputs, tool_choice, tools and verbosity. In practice that means you can cap output length, request deterministic sampling with seed, enforce JSON style output through response_format or structured_outputs, define function calling with tools and tool_choice, and control reasoning and verbosity explicitly.

There is no stated limitation beyond the modality boundary: output is text only, so image or audio generation is out of scope. If your workload depends on non-text output, a different model is required. Otherwise, GPT-5.4 Mini is a sensible choice when you want a large context, image and file understanding, tool use and configurable reasoning in a single model.

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

Supported parameters

include_reasoningmax_completion_tokensmax_tokensreasoningreasoning_effortresponse_formatseedstructured_outputstool_choicetoolsverbosity

Specifications

Context length
400,000
Max output
128,000
Input
file, image, text
Output
text
Knowledge cutoff
2025-08-31

Requests on api14 · last 7 days

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

OpenAI: GPT-5.4 Mini: frequently asked questions

How much does the OpenAI: GPT-5.4 Mini API cost?
OpenAI: GPT-5.4 Mini costs Input $2.63 / 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 Mini?
OpenAI: GPT-5.4 Mini reads up to 400,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 Mini do?
OpenAI: GPT-5.4 Mini accepts file, image, text and returns text. It supports tool calling, structured JSON output, reasoning effort control.
How do I call OpenAI: GPT-5.4 Mini from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "openai/gpt-5.4-mini". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to OpenAI: GPT-5.4 Mini?
Comparable Text models at a similar price: Google: Gemini 3.5 Flash (batch), OpenAI: GPT Mini Latest, Z.ai: GLM 5V Turbo. Each runs through the same API key, so switching is one string.

OpenAI: GPT-5.4 Mini community

New topic

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