Openrouter
Example configuration for Openrouter
OpenRouter API key: openrouter.ai/keys
Notes:
-
Known: icon provided, fetching list of models is recommended as API token rates and pricing used for token credit balances when models are fetched.
-
stopis no longer included as a default parameter, so there is no longer a need to include it indropParams, unless you would like to completely prevent users from configuring this field. -
Known issue: you should not use
OPENROUTER_API_KEYas it will then override theopenAIendpoint to use OpenRouter as well.
How is this guide?