Request Builder

Build OpenRouter API requests with this interactive tool. Select a model, configure messages, parameters, and provider preferences, then generate code in your preferred language.

Model Selection

Typically a request will have only one model. However you can specify additional models as fallbacks.

Messages

When enabled, the API will return a stream of tokens as they are generated, rather than waiting for the complete response.