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 inDocumentation Index
Fetch the complete documentation index at: https://agno-v2-shaloo-ai-support-link.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
cookbook/90_models/openrouter/responses.
| Example | Description |
|---|---|
| Basic | Use OpenRouter’s Responses API (beta) with OpenAI-compatible requests across multiple models. |
| Fallback | Route requests with fallback models using OpenRouter’s dynamic model routing. |
| Streaming | Stream OpenRouter’s Responses API output. Requires OPENROUTER_API_KEY. |
| Structured Output | Return Pydantic-validated structured output with OpenRouter’s Responses API. |
| Tool Use | Call tools through OpenRouter’s Responses API endpoint. |