OpenAI: GPT-5.4 Mini
LLM -85%OpenAI GPT-5.4 Mini model (-85% off official $0.75/$4.5 list) with 400K context and 90% prompt cache read savings.
Pricing & Cost Calculator
Per-1M token pricing on OpenDesign Go (-85% off list).
| Input Length | Input | Output | Cache Read | Cache Write |
|---|---|---|---|---|
| Standard | — |
Specs & Parameters
| Parameter | Type | Value / Support |
|---|---|---|
| model | string | gpt-5.4-mini |
| messages / input | array | text, image, file |
| max_tokens | integer | ≤ 128,000 |
| stream | boolean | SSE token streaming |
| reasoning_effort | string | low / medium / high / xhigh / max (default: medium) |
| tools / response_format | object | Function calling & JSON schema |
Routing, Reliability & Privacy
Managed upstream routing with automatic failover, locked public pricing, and zero data retention.
API
Call gpt-5.4-mini using OpenAI Compatible (Chat / Responses).
Set your OpenDesign Go API key
export COROUTER_API_KEY="YOUR_API_KEY" # Base URL: https://amr-link.open-design.ai/v1
Make your first request
curl https://amr-link.open-design.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $COROUTER_API_KEY" \
-d '{
"model": "gpt-5.4-mini",
"max_tokens": 1024,
"messages": [
{ "role": "user", "content": "Refactor this API handler for streaming responses." }
]
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://amr-link.open-design.ai/v1",
api_key=os.environ["COROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="gpt-5.4-mini",
max_tokens=1024,
messages=[
{"role": "user", "content": "Refactor this API handler for streaming responses."}
],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://amr-link.open-design.ai/v1",
apiKey: process.env.COROUTER_API_KEY,
});
const response = await client.chat.completions.create({
model: "gpt-5.4-mini",
max_tokens: 1024,
messages: [
{ role: "user", content: "Refactor this API handler for streaming responses." },
],
});
console.log(response.choices[0].message.content);import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "https://amr-link.open-design.ai",
apiKey: process.env.COROUTER_API_KEY,
});
const message = await client.messages.create({
model: "gpt-5.4-mini",
max_tokens: 1024,
messages: [
{ role: "user", content: "Refactor this API handler for streaming responses." },
],
});
console.log(message.content);Inspect response payload & HTTP errors
{
"id": "chatcmpl_od_01j9x7k2m8",
"object": "chat.completion",
"model": "gpt-5.4-mini",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Here is the streaming handler implementation..."
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 50000,
"completion_tokens": 4000,
"total_tokens": 54000,
"prompt_tokens_details": {
"cached_tokens": 40000
}
}
}
HTTP 401 Unauthorized Invalid or missing Bearer COROUTER_API_KEY.
HTTP 403 Forbidden Workspace key lacks permission for this model or endpoint.
HTTP 404 Not Found Unknown model ID or unavailable endpoint path.
HTTP 429 Too Many Requests Workspace rate limit, concurrency cap, or credit limit reached.
HTTP 502 Bad Gateway Upstream provider returned an error after automatic failover.
HTTP 503 Service Unavailable Upstream provider temporarily unavailable; retry with backoff.
Coding Agents
Pre-filled configurations for GPT-5.4 Mini across supported coding tools.
model_provider = "corouter"
model = "gpt-5.4-mini"
[model_providers.corouter]
name = "OpenDesign Go"
base_url = "https://amr-link.open-design.ai/v1"
env_key = "COROUTER_API_KEY"
wire_api = "responses"{
"$schema": "https://opencode.ai/config.json",
"provider": {
"corouter": {
"npm": "@ai-sdk/openai-compatible",
"name": "OpenDesign Go",
"options": {
"baseURL": "https://amr-link.open-design.ai/v1",
"apiKey": "{env:COROUTER_API_KEY}"
},
"models": {
"gpt-5.4-mini": {
"name": "GPT-5.4 Mini"
}
}
}
},
"model": "corouter/gpt-5.4-mini"
}export ANTHROPIC_BASE_URL="https://amr-link.open-design.ai"
export ANTHROPIC_AUTH_TOKEN="YOUR_API_KEY"
export ANTHROPIC_API_KEY=""
export ANTHROPIC_MODEL="gpt-5.4-mini"
claudehermes model
# Select: custom OpenAI-compatible endpoint
# Base URL: https://amr-link.open-design.ai/v1
# API key: YOUR_API_KEY
# Model: gpt-5.4-minibrew install --cask cc-switch
# Add OpenDesign Go API Key
# Base URL: https://amr-link.open-design.ai/v1
# Model ID: gpt-5.4-miniCompare Models
Side-by-side pricing, context window, and 50K-token coding turn estimate.
| Model | Provider | Context | Input | Output | Cache Read | 50K Turn |
|---|---|---|---|---|---|---|
| OpenAI | 400K | |||||
| OpenAI | 1.05M | |||||
| OpenAI | 1.05M | |||||
| Anthropic | 1M | |||||
| 1.05M |
Frequently Asked Questions
GPT-5.4 Mini (gpt-5.4-mini) is priced at $0.1125/1M input and $0.675/1M output on OpenDesign Go (-85% off official list of $0.75/$4.5), with prompt cache reads at $0.01125/1M ($0.075 list, -90%).
GPT-5.4 Mini supports Text + Image + File → Text with a 400K context window and up to 128,000 output tokens.
Yes. GPT-5.4 Mini supports reasoning_effort levels (low / medium / high / xhigh / max) with a default of medium.
Cached prompt reads on GPT-5.4 Mini are billed at $0.01125/1M tokens (-90% vs standard input) with no cache write surcharge.
Yes. Copy the pre-filled configuration in the Coding Agents section above, set model to "gpt-5.4-mini", and replace YOUR_API_KEY with your OpenDesign Go key.
No. OpenDesign Go enforces Zero Data Retention and records only account, model, token counts, and usage cost — never prompt or response bodies.
More models from OpenAI
View provider pageExplore more models
Full directoryGPT-5.4 Mini API
https://amr-link.open-design.ai/v1
curl https://amr-link.open-design.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $COROUTER_API_KEY" \
-d '{
"model": "gpt-5.4-mini",
"max_tokens": 1024,
"messages": [
{ "role": "user", "content": "Refactor this API handler for streaming responses." }
]
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://amr-link.open-design.ai/v1",
api_key=os.environ["COROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="gpt-5.4-mini",
max_tokens=1024,
messages=[
{"role": "user", "content": "Refactor this API handler for streaming responses."}
],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://amr-link.open-design.ai/v1",
apiKey: process.env.COROUTER_API_KEY,
});
const response = await client.chat.completions.create({
model: "gpt-5.4-mini",
max_tokens: 1024,
messages: [
{ role: "user", content: "Refactor this API handler for streaming responses." },
],
});
console.log(response.choices[0].message.content);import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "https://amr-link.open-design.ai",
apiKey: process.env.COROUTER_API_KEY,
});
const message = await client.messages.create({
model: "gpt-5.4-mini",
max_tokens: 1024,
messages: [
{ role: "user", content: "Refactor this API handler for streaming responses." },
],
});
console.log(message.content);