Skip to main content
POST
Create a response
For authentication and model list, see Overview.

Endpoint

This free route accepts OpenAI Responses requests and routes only to OpenAI-compatible platforms. To call Anthropic or Gemini models with the Responses format, use the Responses Format Converter. The converter is stateless and does not support previous_response_id, stored responses, hosted tools, or structured output formats.

Code Examples

Request Parameters

string
required
OpenAI-compatible model ID from GET /v1/models.
string | array
required
Text or structured input items.
string
Developer or system instruction.
boolean
If true, stream the response.
array
Built-in or custom tools.
number
Sampling temperature.
integer
Maximum output tokens.

Response Shape

Routing & Protocols

Understand native route constraints

OpenAI Overview

OpenAI-compatible endpoints on PipeLLM

OpenAI Migration Guide

Official guidance on Responses vs Chat Completions