GPT-5.4
opencode The API that serves this model and sets the prices shown here. gpt-5.4 The model identifier to send in API requests. LLM Generates text from a prompt, so it can be compared with other LLMs on price and capability.Provider: openai · served via OpenCode
Knowledge cutoff: August 2025
Nothing to act on today. The cost is the checking: someone has to remember to look again next month, and the month after. Coolhand watches this model for you and automatically updates your agents to the most compatible replacement the moment a retirement is announced — one less thing on your list, permanently.
Sticker prices & cost-per-token
List rates as published by OpenCode, before any volume or enterprise discounts.
$2.50
$15.00
1,050,000 tokens
128,000
tokens per response (includes reasoning tokens)
Closed weights
$0.25
Tiered / volume pricing
| Condition | Input cost | Output cost | Notes |
|---|---|---|---|
| Above 272,000 input tokens | $5.00 / 1M | $22.50 / 1M |
Get this data free
Want to stay updated on price changes on this model? Pull this data free (no API key required) here:
curl "https://coolhandlabs.com/api/v2/inference_apis?q%5Bmodel_eq%5D=gpt-5.4&q%5Bsource_api_eq%5D=opencode"
Pricing History
| Effective | Price |
|---|---|
| Aug 12, 2026 – present | Input cost: $2.50 / 1M, Output cost: $15.00 / 1M, Cached input cost: $0.25 / 1M, Cache creation cost: $0.00 / 1M, 5-minute cache write cost: $0.00 / 1M, 1-hour cache write cost: $0.00 / 1M, Reasoning output cost: $0.00 / 1M, Cache storage cost: $0.00 / 1M/hr |
History
No automated scan changes recorded yet.
| Date | Changed by | What changed |
|---|---|---|
| Aug 12, 2026 | Unknown | Initial record created |
Source
https://opencode.ai/docs/zen/ (via https://models.dev/api.json)Comparable models
No comparable models identified yet.
Reliability
No reliability incidents recorded in the last 90 days.
Frequently asked questions
GPT-5.4 (openai via OpenCode) costs $2.50 per 1M input tokens and $15.00 per 1M output tokens, as last published by OpenCode.
GPT-5.4 has a context window of 1,050,000 tokens (the maximum combined input and output it can handle in a single request).
GPT-5.4 can generate up to 128,000 tokens in a single response. Reasoning (thinking) tokens count toward this limit.
GPT-5.4's training data runs through August 2025, so it may not know about later events. Coolhand records the cutoff at month precision, since providers often publish only the month.
GPT-5.4 accepts image, pdf, and text as input and produces text as output, as recorded in the Coolhand catalog.
No — the weights of GPT-5.4 have not been released, so it is only available through hosted APIs.
No, GPT-5.4 is currently active with no announced deprecation date.
Call GET https://coolhandlabs.com/api/v2/inference_apis?q[source_api_eq]=opencode&q[model_eq]=gpt-5.4 — free, no API key required, and scoped to just this model since source_api and model together are unique. See https://coolhandlabs.com/docs for the full REST API reference.
Coolhand also tracks GPT-4, GPT-3.5 Turbo 0125, GPT-3.5 Turbo 1106, GPT-3.5 Turbo Instruct, GPT-4 Turbo Vision, and GPT-4 from openai. Some may already be deprecated, so check each model's status alongside its current pricing.
| Model | Input cost | Output cost | Context window | Max output tokens | Status |
|---|---|---|---|---|---|
| GPT-4 | $30.00/1M $0.0000300000 | $60.00/1M $0.0000600000 | 8,192 | 8,192 |
Deprecated Oct 23, 2026
|
| GPT-3.5 Turbo 0125 via Azure | $0.50/1M $0.0000005000 | $1.50/1M $0.0000015000 | 16,384 | 16,384 |
Deprecated Aug 13, 2026
|
| GPT-3.5 Turbo 1106 via Azure | $1.00/1M $0.0000010000 | $2.00/1M $0.0000020000 | 16,384 | 16,384 |
Deprecated Aug 13, 2026
|
| GPT-3.5 Turbo Instruct via Azure | $1.50/1M $0.0000015000 | $2.00/1M $0.0000020000 | 4,096 | 4,096 |
Deprecated Aug 13, 2026
|
| GPT-4 Turbo Vision via Azure | $10.00/1M $0.0000100000 | $30.00/1M $0.0000300000 | 128,000 | 4,096 |
Deprecated Aug 13, 2026
|
| GPT-4 via Azure | $30.00/1M $0.0000300000 | $60.00/1M $0.0000600000 | — | — | Active |
Track LLM pricing and deprecations automatically.
Start free