Gpt 5.4
gpt-5.4GPT-5.4 is OpenAI's general-purpose model with broad accurate knowledge, steady factual grounding and multilingual strength — suited to localization, e-commerce copy and scriptwriting.
Pricing
Tiers are determined by the input context length of each request; Tune and Pro share the same tiered prices.
| Input context | Input | Output | Cache read | Cache write |
|---|---|---|---|---|
| ≤ 270K tokens | $2.5 | $15 | $0.25 | $2.5 |
| > 270K tokens | $5 | $22.5 | $0.5 | $5 |
Capabilities
GPT-5.4 scored 77 overall, performing well — a knowledge-first generalist. It stands out in general knowledge (96%), hallucination control (88%) and multilingual capability (87%), combining broad accurate coverage with careful, low-hallucination output, which serves localization and marketing content well. Comparatively, agent collaboration (54%) is weak; tool-orchestration workflows are a stretch. Knowledge-accuracy-first content tasks are where it fits.
Advanced Capabilities
8 items18 questions · Mixed
12 questions · Objective
6 questions · Mixed
22 questions · Subjective
9 questions · Mixed
16 questions · Mixed
14 questions · Mixed
11 questions · Subjective
General Foundations
3 items10 questions · Mixed
23 questions · Subjective
16 questions · Mixed
Safety & Compliance
2 items15 questions · Subjective
18 questions · Subjective
Performance
Gpt 5.4
gpt-5.4- First token · TTFT · P50
- 2286ms P95 2359 ms
- Output speed · TPS · P50
- 48tok/s P95 69 tok/s
- Full response · E2E · P50
- 7.83s P95 9.47 s
- Request success rate
- 98.24% 65,832 completed requests
Gpt 5.4 example code and API
gpt-5.4/api/v0/chat/completions/api/v1/responsescurl https://silvamux.io/api/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.4",
"messages": [{"role": "user", "content": "Hello, please introduce yourself"}]
}'# pip install openai
from openai import OpenAI
client = OpenAI(
base_url="https://silvamux.io/api/v1",
api_key="YOUR_API_KEY",
)
response = client.chat.completions.create(
model="gpt-5.4",
messages=[
{"role": "user", "content": "Hello, please introduce yourself"}
],
)
print(response.choices[0].message.content)// Gradle: implementation(__HL_SLOT_0__)
import okhttp3.*;
OkHttpClient client = new OkHttpClient();
MediaType json = MediaType.get("application/json");
String payload = "{\"model\":\"gpt-5.4\",\"messages\":[{\"role\":\"user\",\"content\":\"Hello, please introduce yourself\"}]}";
Request request = new Request.Builder()
.url("https://silvamux.io/api/v1/chat/completions")
.header("Authorization", "Bearer YOUR_API_KEY")
.post(RequestBody.create(payload, json))
.build();
try (Response response = client.newCall(request).execute()) {
System.out.println(response.body().string());
}// npm install openai
import OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://silvamux.io/api/v1',
apiKey: 'YOUR_API_KEY',
})
const response = await client.chat.completions.create({
model: 'gpt-5.4',
messages: [{ role: 'user', content: 'Hello, please introduce yourself' }],
})
console.log(response.choices[0].message.content)