LLM models
GPT-5.4
On this page
GPT-5.4 — frontier reasoning and generation through one API.
| modelId | gpt-5-4 |
| Modality | text |
| Pricing | See this model on the Pricing page for the current per-call price (with your markup). |
Operations
| Operation | Endpoint | Description |
|---|---|---|
| Text to completion | POST /api/v1/generate | Base generation from a text prompt. |
| Poll task | GET /api/v1/task/{id}?model=gpt-5-4 | Retrieve state and result URLs. |
Input parameters
| Field | Type | Required | Values / example |
|---|---|---|---|
| prompt | textarea | required | Send a message |
| MODEL | text | optional | — |
| memory | select | optional | false, true |
| function_calling | select | optional | false, true |
| web_search | select | optional | false, true |
| reasoning_effort | select | optional | Low, Medium, High, XHigh |
| stream | select | optional | false, true |
Example request
bash
curl -X POST https://you.bot/api/v1/generate \
-H "Authorization: Bearer $YOUBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"modelId":"gpt-5-4","input":{"prompt":"…","MODEL":"gpt-5-4","memory":"false","function_calling":"false","web_search":"true","reasoning_effort":"Medium","stream":"true"}}'