cookbook/90_models/openrouter/responses.
Responses API
Responses
Access multiple AI models through a unified, stateless API.
OpenRouter’s Responses API (Beta) provides an OpenAI-compatible interface for accessing multiple AI models through a unified, stateless API. It is designed as a drop-in replacement for OpenAI’s Responses API with enhanced capabilities including reasoning, tool calling, and web search integration.
For details, see examples in