Skip to main content
OpenRouter Response API standardizes the tool calling interface across models and providers, making it easy to integrate external tools with any supported model.

Prerequisites

Set OPENROUTER_API_KEY environment variable.

Run the Example