gpt-5.4-mini API · AIAdapter

gpt-5.4-mini is available through AIAdapter’s OpenAI-compatible unified API. Vendor segment: openai. Call with your AIAdapter API key against https://www.aiadapter.com/v1.

Tarifs

Billed: $0.75 / 1M input tokens · $4.50 / 1M output tokens. Official: $0.75 / $4.50 per 1M tokens. The Billed column is the gateway price per 1M tokens. It is not the official price multiplied by the quota ratio. 15% applies only when you top up the wallet.

Specs

Model IDgpt-5.4-mini
Vendoropenai
CompatibilityOpenAI-compatible API

Accès API

Appelez ce modèle via l’API unifiée AIAdapter. /docs#text

curl

curl https://www.aiadapter.com/v1/chat/completions -H "Authorization: Bearer $AIADAPTER_API_KEY" -H "Content-Type: application/json" -d '{"model":"gpt-5.4-mini","messages":[{"role":"user","content":"Hello"}]}'

Python

from openai import OpenAI
client = OpenAI(base_url="https://www.aiadapter.com/v1", api_key="...")
client.chat.completions.create(model="gpt-5.4-mini", messages=[{"role":"user","content":"Hello"}])

Node.js

import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://www.aiadapter.com/v1", apiKey: process.env.AIADAPTER_API_KEY });
await client.chat.completions.create({ model: "gpt-5.4-mini", messages: [{ role: "user", content: "Hello" }] });

FAQ

What is the model ID?

gpt-5.4-mini

How do I get an API key?

Create an account, open Console → Keys, then use Authorization: Bearer.

Where is pricing?

See Pricing and the rate above. Each call adds a 15% service fee on its discounted cost.

OpenAI compatible?

Yes. Point the OpenAI SDK at https://www.aiadapter.com/v1.

Docs · Model Marketplace · Get API Key · Playground