Responses
Create a model response
Creates a model response using the OpenAI-compatible Responses API. The request accepts either a single text input or a list of input items (allowing batched, multi-turn input in one request), and the result can be streamed to the client as it is generated.
Not every provider implements the Responses API. Requests routed to a provider that does not support it return 400 Bad Request with an explanatory error message; use /chat/completions for those providers.
post/responses
Query parameters
provider'ollama' | 'ollama_cloud' | 'groq' | 'llamacpp' | 'openai' | 'cloudflare' | 'cohere' | 'anthropic' | 'deepseek' | 'google' | 'mistral' | 'minimax' | 'moonshot' | 'nvidia' | 'zai'
Specific provider to use (default determined by model)
Request body
Response
Successful response