Skip to main content
Leverage the OpenRouter API for real-time response streaming across any model. This is used for low-latency chat user interface and dynamic agentic workflows.

Prerequisites

  • Set OPENROUTER_API_KEY environment variable

Run the Example