The documentation and provided examples state that OpenRouter (and likely other OpenAI compatible APIs) should use the https://openrouter.ai/api/v1 base url. However, the tool only functions if the base url is set to https://openrouter.ai/api, as the /v1 prefix appears to be automatically included.
The documentation and provided examples state that OpenRouter (and likely other OpenAI compatible APIs) should use the
https://openrouter.ai/api/v1base url. However, the tool only functions if the base url is set tohttps://openrouter.ai/api, as the/v1prefix appears to be automatically included.