Skip to main content
Use OpenRouter’s Chat API to send messages to multiple models in parallel. This allows you to use the best model for the task at hand, and to handle errors and timeouts gracefully. For details, see examples in cookbook/90_models/openrouter/chat.