Responses
OpenAI Responses API — required by Codex CLI.
Create a model response (Responses API)
OpenAI Responses API. Required by Codex CLI (wire_api = "responses"). Most upstream providers only speak Chat Completions —
the Hyphen gateway (LiteLLM) performs the Responses ⇄ Chat Completions
translation so Codex can reach every model in the catalog.
Because this surface is bridged to Chat Completions upstream, the
core Responses parameters below are supported; upstream-specific
Responses features (built-in tools, previous_response_id state) are
not. Unsupported parameters are dropped rather than rejected.
Create a model response (Responses API) › Request Body
modelA model ID from the current catalog — real provider model names, all MiniMax. The core tiers are minimax-m3 (flagship), minimax-m2.7 (balanced daily driver) and minimax-m2.5 (fast); the -highspeed variants are latency-tuned versions of their standard siblings at roughly 2x the price; minimax-m2.1 and minimax-m2 are older M-series generations; minimax-m2-her is role-play/dialogue chat tuning; minimax-text-01 is the long-context text model. There are no invented aliases; any other ID returns an error. The catalog can change with notice.
The input — a plain string, or a list of typed input items (e.g. {"role": "user", "content": "..."}).
instructionsSystem-style instructions for the model.
max_output_tokensMaximum number of tokens to generate in the response.
streamSet true for a Server-Sent Events stream of response events.
Create a model response (Responses API) › Responses
A model response.
idobjectmodelThe model that actually served the request. During a provider incident this may be a smaller model of the same family as the one you requested.
statuscompleted, incomplete, or failed.
Output items — for text generation, one assistant message.
Token usage in Responses-API shape.