OpenAI

openai/gpt-5.4-mini

128K context · $0.15 / M input tokens · $0.90 / M output tokens

GPT-5.4 Mini is a compact OpenAI model route for teams that want lower-cost access to chat, coding, reasoning, vision, and structured output workflows through the OurToken unified API.

Pricing

Pay-per-use

No upfront costs, pay only for what you use

80% off
Input$0.75 / M$0.15 / M Tokens
Output$4.50 / M$0.90 / M Tokens

API Usage

API Access Guide

Base URLhttps://api.ourtoken.ai/v1
API Endpointchat/completions
Model IDgpt-5.4-mini
Get API Key

Code examples

ourtoken.ai is OpenAI-compatible. This means your API key can be used with the OpenAI SDK. Just replace base_url with your ourtoken.ai address. See the examples below:

import openai

client = openai.OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.ourtoken.ai/v1"
)

response = client.chat.completions.create(
    model="gpt-5.4-mini",
    messages=[
        {
            "role": "user",
            "content": "Hello!"
        }
    ]
)

print(response.choices[0].message.content)

Model Introduction

OpenAI gpt-5.4-mini

GPT-5.4 Mini is a compact OpenAI model route for teams that want lower-cost access to chat, coding, reasoning, vision, and structured output workflows through the OurToken unified API.

GPT-5.4 Mini gives developers a practical model option for high-volume application workloads where cost control, fast iteration, and OpenAI-compatible integration matter. Use GPT 5.4 Mini API when your product needs a balanced route for chat, coding assistance, image input, document handling, and structured responses without defaulting to larger frontier models.

Why It Looks Great

  • 80% savings compared with the official GPT 5.4 Mini reference price.
  • OpenAI-compatible API setup through the same OurToken endpoint used by other supported models.
  • Useful for coding, reasoning, vision, structured output, and agent-style developer workflows.
  • Clear model ID and API key workflow for developers who want fast integration.
  • Dashboard logs and usage visibility help teams evaluate production cost after launch.

Key Features

  • Model ID: gpt-5.4-mini
  • Input price: $0.15 per 1M tokens on OurToken
  • Output price: $0.90 per 1M tokens on OurToken
  • Official reference price: $0.75 input / $4.50 output per 1M tokens
  • Input: Text, image according to supplied provider content
  • Output: Text

Specifications

ProviderOpenAI
Model TypeLarge Language Model (LLM)
Model IDgpt-5.4-mini
OurToken Input Price$0.15 / 1M tokens
OurToken Output Price$0.90 / 1M tokens
Official Input Reference$0.75 / 1M tokens
Official Output Reference$4.50 / 1M tokens
InputText, image
OutputText

GPT 5.4 Mini API Features for Developers

Use GPT 5.4 Mini API on OurToken for 80% savings, clear GPT 5.4 Mini pricing, model ID access, and OpenAI-compatible workflows.

Unified Access

Call GPT 5.4 Mini API through the OurToken unified endpoint instead of wiring separate provider routes. Developers can create one API key, copy the model ID, and keep OpenAI-compatible request patterns for testing, staging, and production environments.

80% Savings

Compare GPT 5.4 Mini pricing before scaling traffic. OurToken lists $0.15 input and $0.90 output per 1M tokens, while the official reference price is $0.75 input and $4.50 output, making the discount easy to explain.

Cost Planning

Estimate GPT 5.4 Mini cost from prompt length, output length, and request volume before routing production workloads. Clear input and output prices help teams decide when GPT 5.4 Mini is the right default for high-volume application traffic.

Coding Workflows

Use GPT 5.4 Mini for code explanation, debugging notes, refactoring suggestions, and agent-style developer tasks. It gives teams a lower-cost route for everyday coding workflows that do not require the largest model on every request.

Vision Tasks

GPT 5.4 Mini supports text and image input according to the supplied provider data, making it useful for multimodal workflows such as screenshot review, document understanding, product support, and task automation that includes visual context.

Nano Comparison

Cover GPT 5.4 Nano intent without making this a nano page. GPT 5.4 Mini is better positioned for stronger reasoning and coding work, while nano is usually framed for simpler repetitive tasks, routing, extraction, and classification.

How to Use GPT 5.4 Mini API on OurToken

Create an API key, copy the model ID, call the unified endpoint, compare pricing, and monitor GPT 5.4 Mini cost.

Create API Key

Create an OurToken API key from the dashboard and store it in a secure server-side environment variable. This keeps GPT 5.4 Mini API access private while giving your backend a stable credential for production requests.

01

Copy Model ID

Copy gpt-5.4-mini from the API Keys page and use it as the model value in your request body. This covers gpt-5.4 mini search intent while keeping the integration clear for developers who need the exact model string.

02

Call Unified Endpoint

Send chat completions requests to the OurToken OpenAI-compatible endpoint with your API key, messages array, and selected model. Existing OpenAI SDK patterns can be reused after changing the base URL, credential, and model value in backend code.

03

Compare Pricing

Compare GPT 5.4 Mini pricing before rollout: OurToken lists $0.15 input and $0.90 output per 1M tokens, while the official reference price is $0.75 input and $4.50 output per 1M tokens for standard usage today.

04

Test Workflows

Test representative prompts for coding, reasoning, vision, extraction, and agent-style workflows before choosing GPT 5.4 Mini as a default route. Use real prompts because quality, verbosity, latency, and token usage vary by task and product context.

05

Monitor Usage

Monitor logs, request counts, token usage, and spend after launch. This helps estimate GPT 5.4 Mini cost, compare it with GPT 5.4 nano for simpler tasks, and decide when to route to larger models safely.

06

GPT 5.4 Mini API FAQ

Answers about GPT 5.4 Mini API access, pricing, price, cost, model ID, coding workflows, vision support, and nano comparisons.

01

What is GPT 5.4 Mini API?

GPT 5.4 Mini API is an OpenAI model route available through OurToken for developers who need lower-cost access to reasoning, coding, vision, and structured output workflows. It uses the gpt-5.4-mini model ID and can be called through an OpenAI-compatible API pattern with an OurToken API key.
02

What is GPT 5.4 Mini pricing on OurToken?

GPT 5.4 Mini pricing on OurToken is $0.15 per 1M input tokens and $0.90 per 1M output tokens. The official reference price is $0.75 input and $4.50 output per 1M tokens, so the GPT 5.4 Mini price on OurToken is 20% of official pricing before route-specific caching behavior.
03

How do I estimate GPT 5.4 Mini cost?

Estimate GPT 5.4 Mini cost by multiplying input tokens by $0.15 per 1M and output tokens by $0.90 per 1M, then scaling by request volume. Cache read pricing may depend on the upstream route, so verify real usage in logs after testing representative prompts first.
04

Which model ID should I use for GPT 5.4 Mini API?

Use gpt-5.4-mini as the model ID when calling the OurToken chat completions endpoint. The API Keys page lists callable model IDs so developers can copy the exact value, paste it into SDK configuration, and avoid errors caused by model naming variants during integration work safely.
05

Is GPT 5.4 Mini good for coding and vision workflows?

Based on the supplied provider content, GPT 5.4 Mini supports text and image input and is positioned for reasoning, coding, function calling, prompt caching, and structured output. Test your own coding and vision prompts before making it the default route for production traffic decisions safely.
06

What is the difference between GPT 5.4 Mini and GPT 5.4 Nano?

GPT 5.4 Mini is usually positioned for stronger reasoning, coding, multimodal, and agent workflows, while GPT 5.4 nano is framed as a lower-cost option for simpler repetitive tasks such as extraction, classification, routing, and lightweight automation. Choose based on task complexity and quality needs carefully.