(docs) open router

This commit is contained in:
ishaan-jaff 2024-02-24 18:28:32 -08:00
parent fc55ef053a
commit 7c032fcc05

View file

@ -22,6 +22,8 @@ response = completion(
## OpenRouter Completion Models
🚨 LiteLLM supports ALL OpenRouter models, send `model=openrouter/<your-openrouter-model>` to send it to open router
| Model Name | Function Call |
|---------------------------|-----------------------------------------------------|
| openrouter/openai/gpt-3.5-turbo | `completion('openrouter/openai/gpt-3.5-turbo', messages)` | `os.environ['OR_SITE_URL']`,`os.environ['OR_APP_NAME']`,`os.environ['OPENROUTER_API_KEY']` |