- openai/gpt-5-4-mini
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
API Usage
API Access Guide
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
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.
01Copy 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.
02Call 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.
03Compare 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.
04Test 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.
05Monitor 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.
06GPT 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.