Language models/OpenAI/GPT-5.4
OpenAItext1 route

GPT-5.4

GPT-5.4 by OpenAI, through an OpenAI-compatible chat completions API.

gpt-5.4Get API key

Pricing USD per million tokens

TokensPer 1M tokensPrompt over 272K
Input$2.50$5.00
Cached input$0.25$0.50
Cache write (5 min)$2.50$5.00
Cache write (1 hour)$2.50$5.00
Output$15.00$22.50

A request whose prompt is over 272K tokens is billed at $5.00 input and $22.50 output per million tokens. Reasoning tokens are billed as output. Each answer's usage carries cost_usd, the amount taken from your balance; a request with no answer costs $0.00.

Request

curl
curl https://api.revana.si/v1/chat/completions \
  -H "Authorization: Bearer $REVANA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-5.4","messages":[{"role":"user","content":"Write a haiku about routing."}]}'
Python
import os
from openai import OpenAI

client = OpenAI(base_url="https://api.revana.si/v1", api_key=os.environ["REVANA_API_KEY"])
reply = client.chat.completions.create(
    model="gpt-5.4",
    messages=[{"role": "user", "content": "Write a haiku about routing."}],
)
print(reply.choices[0].message.content)

Any OpenAI SDK works: set the base URL to https://api.revana.si/v1. Streaming, tools and the rest are in the chat completions docs.

Details

Model id
gpt-5.4
Maker
OpenAI
Endpoint
POST /v1/chat/completions
Context window
1M tokens
Max output
13K tokens
Streaming
Yes (server-sent events)
Routes
1

1 route

One route today. A request that gets no answer is not charged.

About the GPT-5.4 API

How much does the GPT-5.4 API cost?

GPT-5.4 costs $2.50 per million input tokens, $0.25 per million cached input tokens and $15.00 per million output tokens on Revana. A request whose prompt is over 272K tokens is billed at $5.00 input and $22.50 output per million tokens. You pay from prepaid credit for the tokens each request used, with no subscription or minimum.

How do I call GPT-5.4 from code?

Use any OpenAI SDK with base URL https://api.revana.si/v1 and your Revana API key, and set model to "gpt-5.4". POST /v1/chat/completions takes the OpenAI request body, streamed or not.

What happens if a request fails?

A request that gets no answer costs nothing.

Is GPT-5.4 on Revana the same model?

Yes. Revana passes your request to OpenAI's model unchanged and returns its answer in the OpenAI format, with the usage it reported and what the request cost.

More from OpenAI

Also as markdown for agents. Every language model and price: llms.json.