Home / Models / GPT-5.4 nano
LLM Gateway · OpenAI

GPT-5.4 nano API: pricing, context window & how to call it

Provider: OpenAIAvailable via withConfluxtoolsjsonreasoning400K context

GPT-5.4 nano by OpenAI — current API prices and limits, plus how to call it with one withConflux key, one bill across every model.

Get a key → call GPT-5.4 nanoRequest early accessSee all modelsPricing as of 1 Oct 2026 · provider list price
withConflux LLM GATEWAY · OPENAI GPT-5.4 nano 400K context tools · json · reasoning one key · one bill

Pricing

Input
$0.20 /1M
Output
$1.25 /1M
Context
400K tokens

How to call GPT-5.4 nano

withConflux is OpenAI-compatible — change only the base URL and key, then pass gpt-5.4-nano.

// Node — official OpenAI SDK, OpenAI-compatible
import OpenAI from "openai";
const ai = new OpenAI({ baseURL: "https://withconflux.com/v1", apiKey: process.env.CONFLUX_KEY });

const res = await ai.chat.completions.create({
  model: "gpt-5.4-nano",
  messages: [{ role: "user", content: "Hello" }],
});

Cost example

A request with a 10,000-token prompt and a 2,000-token response on GPT-5.4 nano costs about $0.0045 ($0.20/1M in × 10k + $1.25/1M out × 2k). At 100,000 such calls/month that's roughly $450 — the same whether you call OpenAI directly or through withConflux, just on one bill.

GPT-5.4 nano vs alternatives

ModelInput /1MOutput /1MContext
GPT-5.4 nano$0.20$1.25400K
GPT-6 Astra$20.00$75.001.05M
GPT-5.6 Sol$8.00$30.001.05M
GPT-5.6 Terra$4.00$18.001.05M

Frequently asked questions

How much does the GPT-5.4 nano API cost?

$0.20 per 1M input tokens and $1.25 per 1M output tokens (provider list price), as of 1 Oct 2026. withConflux passes provider pricing through on one bill.

What is GPT-5.4 nano's context window?

400K tokens.

Can I use the OpenAI SDK with withConflux?

Yes — withConflux is OpenAI-compatible. Change only the base URL and your API key, then pass "gpt-5.4-nano" as the model.

How do I call GPT-5.4 nano?

Send a chat completion to https://withconflux.com/v1 with model "gpt-5.4-nano" and your withConflux key. See the code example on this page.

Related models

Prices shown as of 1 Oct 2026, sourced from the providers' public pricing — check the provider for the latest. Product and model names are trademarks of their respective owners; withConflux is not affiliated with or endorsed by them.

We use a single analytics cookie to understand traffic to this site. Nothing loads until you choose. See our Privacy Policy.