Models

GPT-5.4 mini

Model id: gpt-5.4-mini

  • Agentic
  • Cost
  • Fast
  • Coding
  • Vision
  • Multimodal

A faster, smaller GPT-5.4 tier that keeps strong quality for high-volume workloads.

Best for

high-volume chat, coding helpers, and capable sub-agents at lower cost.

Provider
OpenAI
Context window
400,000
Release date
2026-03-01
Reasoning effort
nonelowmediumhighxhighDefault: medium

Pricing

Input
$1.1574 / 1M
Output
$6.9444 / 1M
Cached input
$0.1157 / 1M

Web search

Per successful search
$0.0154 / search

Billed on top of tokens when the model uses web search.

Amounts in Canadian dollars, converted at the Bank of Canada indicative rate (2026-07-31).

Performance

Milliseconds

Last 7 days

Time to first byte (p95)
700 ms
Output speed (p95)
54.1 tok/s
Samples
75 over 7 days

Measured on real traffic at Pass egress — not a synthetic benchmark.

Activity

Tokens

Top 5 tools · last 7 days

Tool activity appears only when at least 2 organizations have used this model recently.

Availability

Availability (%)

Last 7 days

Operational probes
99.91% over 7 days
Samples
8,614

View service status

Quick start

Call the API with a tonia_ key and the exact model id below.

curl

curl https://pass.tonia.ca:8443/v1/chat/completions \
  -H "Authorization: Bearer $TONIA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.4-mini",
    "messages": [{"role":"user","content":"Bonjour"}]
  }'

Python (OpenAI SDK)

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://pass.tonia.ca:8443/v1",
    api_key=os.environ["TONIA_API_KEY"],
)
response = client.chat.completions.create(
    model="gpt-5.4-mini",
    messages=[{"role": "user", "content": "Bonjour"}],
)

TypeScript (OpenAI SDK)

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://pass.tonia.ca:8443/v1",
  apiKey: process.env.TONIA_API_KEY,
});

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

Create a key in the portal