---
title: "GPT 5.4 Nano API pricing"
canonical: https://uplinkswitch.ai/models/gpt-5.4-nano
generated: 2026-11-16T00:55:21.259Z
source: https://api.uplinkswitch.com/v1/catalog
base_url: https://api.uplinkswitch.com/v1
---

# GPT 5.4 Nano API pricing

GPT 5.4 Nano API at $0.40/M input and $2.50/M output tokens. 400,000-token context window. Works with the OpenAI SDK.

## Price per million tokens (USD)

| Tokens | OpenAI list price | UplinkSwitch | Under list |
| --- | --- | --- | --- |
| Input | — | $0.40 | — |
| Cached input | — | $0.04 | — |
| Output | — | $2.50 | — |

## GPT 5.4 Nano vs GPT-4.1 Nano price (USD per million tokens)

| Tokens | GPT-4.1 Nano | GPT 5.4 Nano | Change |
| --- | --- | --- | --- |
| Input | $0.10 (list $0.10) | $0.40 | +300% |
| Cached input | $0.025 (list $0.03) | $0.04 | +60% |
| Output | $0.40 (list $0.40) | $2.50 | +525% |

## Model

- Model id: `gpt-5.4-nano`
- Formats: OpenAI SDK
- Base URL: https://api.uplinkswitch.com/v1
- Context window: 400,000 tokens
- Daily real-model check: Steady since Oct 26 (https://uplinkswitch.ai/proof#gpt-5.4-nano)

## GPT 5.4 Nano API key

1. Create a key in the console at uplinkswitch.ai/console. Credit is prepaid from $10 with no subscription, and the key works at once.
2. Point your SDK or tool at https://api.uplinkswitch.com/v1, for example with OPENAI_BASE_URL, and send the key as the bearer token.
3. Send gpt-5.4-nano as the model. The same key calls every other model in the catalog.

## Request

### Python · OpenAI SDK

```python
from openai import OpenAI

client = OpenAI(
    base_url="https://api.uplinkswitch.com/v1",
    api_key="sk-uplink-live-...",
)

completion = client.chat.completions.create(
    model="gpt-5.4-nano",
    messages=[{"role": "user", "content": "Summarize this in one line."}],
)
print(completion.choices[0].message.content)
```

### TypeScript · OpenAI SDK

```typescript
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.uplinkswitch.com/v1',
  apiKey: 'sk-uplink-live-...',
});

const completion = await client.chat.completions.create({
  model: 'gpt-5.4-nano',
  messages: [{ role: 'user', content: 'Summarize this in one line.' }],
});
console.log(completion.choices[0].message.content);
```

### curl

```bash
curl https://api.uplinkswitch.com/v1/chat/completions \
  -H "authorization: Bearer sk-uplink-live-..." \
  -H "content-type: application/json" \
  -d '{"model":"gpt-5.4-nano","messages":[{"role":"user","content":"Hello"}]}'
```

## Questions

### What is GPT 5.4 Nano?

GPT 5.4 Nano is a model from OpenAI, with a 400,000-token context window. Through UplinkSwitch it answers the OpenAI SDK on one key as gpt-5.4-nano.

### How much does the GPT 5.4 Nano API cost?

$0.40 per million input tokens and $2.50 per million output tokens, with cached input at $0.04.

### Is GPT 5.4 Nano free?

It is pay as you go: prepaid credit from $10, with no subscription or monthly fee, billed per token. A 1,000-token prompt with a 500-token reply costs about $0.0017.

### What is the GPT 5.4 Nano context window?

GPT 5.4 Nano has a 400,000-token context window.

### What is the GPT 5.4 Nano model id?

gpt-5.4-nano. Send it as the model through the OpenAI SDK with base URL https://api.uplinkswitch.com/v1.

### How do I get a GPT 5.4 Nano API key?

Create one in the console at uplinkswitch.ai/console: prepaid credit from $10, no subscription, and the key is live at once. The same key calls GPT 5.4 Nano and every other model in the catalog; send it as the bearer token with base URL https://api.uplinkswitch.com/v1.

### Is it the real GPT 5.4 Nano?

Every day each model gets the same test prompt, and the results are public on /proof. GPT 5.4 Nano's latest result: Steady since Oct 26.

### How does GPT 5.4 Nano pricing compare with GPT-4.1 Nano?

Per million tokens here, GPT 5.4 Nano is $0.40 input and $2.50 output; GPT-4.1 Nano is $0.10 and $0.40. One key calls both, so switching is a change of model id.

## Related

- GPT API pricing: https://uplinkswitch.ai/pricing/gpt
- Cursor setup: https://uplinkswitch.ai/guides/cursor
- Cline setup: https://uplinkswitch.ai/guides/cline
- Roo Code setup: https://uplinkswitch.ai/guides/roo-code
- Kilo Code setup: https://uplinkswitch.ai/guides/kilo-code
- SDKs setup: https://uplinkswitch.ai/guides/sdks
- Every model and price: https://uplinkswitch.ai/llms-full.txt
- Machine catalog: https://uplinkswitch.ai/ai-catalog.json
