GPT-5.4
Review GPT-5.4 model IDs, endpoint, request parameters, and response examples for HopsAPI.
GPT-5.4 is a chat model in the HopsAPI catalog. This page documents only gateway-verified protocols, endpoints, and model IDs; context length, vision, tools, reasoning, and JSON capabilities depend on the current upstream and live response.
Model information
| Item | Value |
|---|---|
| Protocol | OpenAI Chat Completions; also OpenAI Responses when the model list includes responses_endpoint |
| Endpoint | POST /v1/chat/completions; optional POST /v1/responses |
| Availability | Use the current API key's GET /v1/models response |
| Pricing | Use the console pricing page and account coefficient |
Model IDs
| Model ID | Notes |
|---|---|
gpt-5.4 | Use this ID when returned by the current API key's model list |
Do not assume that the model is enabled for your account from this page alone. Before calling it,
query GET /v1/models and use the returned model ID, endpoint, and optional
responses_endpoint exactly.
Core request parameters
| Parameter | Required | Description |
|---|---|---|
model | Yes | Use an ID above that is returned by the model list |
messages | Yes | Message array in the protocol's native format |
max_tokens | No | Limits model output length |
temperature | No | Sampling parameter; accepted range depends on the current upstream |
stream | No | Use the protocol-specific streaming endpoint or field |
Request example
curl https://hopsapi.com/v1/chat/completions \
-H "Authorization: Bearer sk-YOUR_KEY" \
-H "content-type: application/json" \
-d '{"model":"gpt-5.4","max_tokens":256,
"messages":[{"role":"user","content":"Introduce this model in one sentence."}]}'Response example
This example shows the protocol shape only. Text, token counts, and additional fields such as id and model come from the live response.
{
"choices": [
{
"message": {
"role": "assistant",
"content": "This chat model is called through OpenAI Chat Completions."
},
"finish_reason": "stop"
}
],
"usage": { "prompt_tokens": 16, "completion_tokens": 20, "total_tokens": 36 }
}The gateway passes through native protocol responses and streaming events. The gpt-5.4 ID follows the channel selected for that model on the current API key. See List models, OpenAI Responses API, and OpenAI format.