# OpenAI: GPT 5.4

OpenAI's GPT-5.4 is a reasoning model for coding and professional work that added native computer use in March 2026. It accepts text and images, replies in text, and lets you set effort from none to xhigh.

- **Model id:** `opencheap/gpt-5.4`
- **Price per 1M tokens:** $1.00 input / $6.00 output
- **Cached input:** $0.10 per 1M tokens
- **Context:** 1M tokens, 128K max output

## Providers

9 providers. Prices are per 1M tokens. As of 2026-12-04 11:56 UTC.

| Provider | Input price | Cache price | Output price | Latency | Speed | Uptime | Context | Max output |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Surplus · quantization unknown · Snapshot not stated | $1.00 | $0.10 | $6.00 | 0.87 s | 130 tok/s | 100 % (success rate) | 1M | 131K |
| Qubax · quantization unknown · Snapshot not stated | $1.12 | $0.11 | $6.74 | 1.44 s | 127 tok/s | 100 % (success rate) | 1M | 131K |
| OpenAI · Route 1 · Snapshot 0305 | $1.31 | $0.13 | $7.88 | 12.5 s | 6 tok/s | 100 % | 1M | 128K |
| OpenAI · Route 2 · Snapshot 0305 | $2.63 | $0.26 | $15.75 | 1.25 s | 47 tok/s | 100 % | 1M | 128K |
| OpenAI · Route 3 · Snapshot 0305 | $5.25 | $0.53 | $31.50 | 0.86 s | 102 tok/s | — | 1M | 128K |
| AiHubMix · quantization unknown · Snapshot not stated | $2.50 | $0.25 | $15.00 | — | — | — | 1M | 128K |
| NanoGPT · quantization unknown · Snapshot not stated | $2.50 | $0.25 | $15.00 | — | — | — | 1M | 128K |
| Sandbase · quantization unknown · Snapshot not stated | $2.50 | $0.25 | $15.00 | — | — | — | — | — |
| Azure · quantization unknown · Snapshot 0305 | $2.63 | $0.26 | $15.75 | 1.81 s | 82 tok/s | 99.8 % | 1M | 128K |
| RelayGPU · quantization unknown · Snapshot not stated | $2.63 | $0.26 | $15.75 | — | — | — | 272K | 32K |

1 more provider through partner hosts · from $1.20 in · $7.20 out

A request picks by price (`:floor`) or by speed (`provider.sort`, `:nitro`), or sets a floor on tokens per second. [How routing works](https://docs.opencheap.si/speed)

### Supported parameters

The parameters each provider supports on this model, from its published list and our own tests of whether answers show the parameter taking effect. A test is a snapshot, not a guarantee; `provider.require_parameters` sends a request only to providers that support every parameter it sets. [Required parameters](https://docs.opencheap.si/speed#require-parameters)

- **Surplus:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **Qubax:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **OpenAI:** `seed`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning` (temperature, stop not confirmed)
- **AiHubMix:** `temperature`, `top_p`, `top_k`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **NanoGPT:** `temperature`, `top_p`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Sandbase:** `temperature`, `top_p`, `top_k`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **Azure:** `seed`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning` (temperature, stop not confirmed)
- **RelayGPU:** `top_k`, `min_p`, `repetition_penalty` (temperature, stop, tools not confirmed)

## Price history

Each provider's price over the last 24 hours, 7 days and 30 days is charted on [the page](https://opencheap.si/models/gpt-5.4#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/gpt-5.4`; the rest of your code stays the same.

```bash
curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/gpt-5.4", "messages": [{ "role": "user", "content": "Hi" }] }'
```

```python
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/gpt-5.4",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)
```

```javascript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/gpt-5.4",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About GPT 5.4

GPT 5.4 costs from $1.00 per 1M input tokens and $6.00 per 1M output tokens on OpenCheap, with cached input at $0.10 per 1M tokens. Its list price is $2.50 per 1M input tokens and $15.00 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 60 % less here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.016, and 1,000 such requests about $16.00. Prices as of 2026-12-04 11:48 UTC.

9 providers serve GPT 5.4 on OpenCheap. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in `usage.cost`. Its context window is 1M tokens (1,050,000), room for roughly 790,000 words of English in one request.

GPT 5.4 is one of [113 OpenAI models](https://opencheap.si/models/lab/openai) on OpenCheap. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, `https://api.opencheap.si/v1`.

## Pricing questions

### How much does the GPT 5.4 API cost per 1M tokens?

GPT 5.4 costs from $1.00 per 1M input tokens and $6.00 per 1M output tokens on OpenCheap, with cached input at $0.10 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.

### What does one GPT 5.4 request cost?

A request with 10,000 input tokens and 1,000 output tokens costs about $0.016, and 1,000 such requests about $16.00. Every answer reports its own cost in usage.cost.

### Is GPT 5.4 cheaper on OpenCheap than its list price?

Its list price is $2.50 per 1M input tokens and $15.00 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 60 % less here.

### Which providers serve GPT 5.4?

9 providers serve GPT 5.4 on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.

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

Its context window is 1M tokens (1,050,000), room for roughly 790,000 words of English in one request.

### How do I call the GPT 5.4 API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/gpt-5.4. One OpenCheap key works for every model; the rest of your code stays the same.

## More from OpenAI

- [GPT 5.4 High](https://opencheap.si/models/gpt-5.4:high) (`gpt-5.4:high`): $2.50 / $15.00 per 1M · 1M context
- [GPT 5.4 Low](https://opencheap.si/models/gpt-5.4:low) (`gpt-5.4:low`): $2.50 / $15.00 per 1M · 1M context
- [gpt-oss-120b](https://opencheap.si/models/gpt-oss-120b) (`gpt-oss-120b`): $0.0049 / $0.021 per 1M · 131K context
- [gpt-oss-20b](https://opencheap.si/models/gpt-oss-20b) (`gpt-oss-20b`): $0.0003 / $0.0015 per 1M · 131K context
- [GPT 5.5](https://opencheap.si/models/gpt-5.5) (`gpt-5.5`): $2.00 / $12.00 per 1M · 1M context
- [chat-latest](https://opencheap.si/models/chat-latest) (`chat-latest`): $5.25 / $31.48 per 1M · 272K context
- [Codex Mini](https://opencheap.si/models/codex-mini-latest) (`codex-mini-latest`): $1.50 / $6.00 per 1M
- [gpt-3.5-turbo](https://opencheap.si/models/gpt-3.5-turbo) (`gpt-3.5-turbo`): $0.52 / $1.57 per 1M · 4K context

[All 113 OpenAI models](https://opencheap.si/models/lab/openai)

## Similar models

- [Claude Sonnet 5](https://opencheap.si/models/claude-sonnet-5): Anthropic · 1M context · $1.10 / $5.50 per 1M, 7 % cheaper · [Compare with GPT 5.4](https://opencheap.si/compare/gpt-5.4-vs-claude-sonnet-5)
- [Grok 4.7](https://opencheap.si/models/grok-4.7): xAI · 500K context · $1.26 / $5.03 per 1M, 14 % cheaper · [Compare with GPT 5.4](https://opencheap.si/compare/gpt-5.4-vs-grok-4.7)
- [Qwen3.8 Max](https://opencheap.si/models/qwen3.8-max): Qwen · 1M context · $1.80 / $5.41 per 1M, 5 % cheaper · [Compare with GPT 5.4](https://opencheap.si/compare/gpt-5.4-vs-qwen3.8-max)
- [Fugu Max](https://opencheap.si/models/fugu-max): Sakana AI · 1M context · $1.88 / $5.64 per 1M · [Compare with GPT 5.4](https://opencheap.si/compare/gpt-5.4-vs-fugu-max)
- [Claude Opus 5.5](https://opencheap.si/models/claude-opus-5.5): Anthropic · 1M context · $2.00 / $10.00 per 1M · [Compare with GPT 5.4](https://opencheap.si/compare/gpt-5.4-vs-claude-opus-5.5)
- [Muse Wonder](https://opencheap.si/models/muse-wonder): Meta · 1M context · $1.40 / $7.00 per 1M · [Compare with GPT 5.4](https://opencheap.si/compare/gpt-5.4-vs-muse-wonder)

### Comparisons

- [GPT 5.5 vs GPT 5.4](https://opencheap.si/compare/gpt-5.5-vs-gpt-5.4)

[Compare GPT 5.4 with any model](https://opencheap.si/compare)

---

Source: https://opencheap.si/models/gpt-5.4 · All models: https://opencheap.si/models · Prices as JSON: https://api.opencheap.si/v1/prices · Index for agents: https://opencheap.si/llms.txt
