mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-14 09:18:04 -05:00
703 B
703 B
OpenRouter
OpenHands uses LiteLLM to make calls to chat models on OpenRouter. You can find their documentation on using OpenRouter as a provider here.
Configuration
When running OpenHands, you'll need to set the following in the OpenHands UI through the Settings:
LLM ProvidertoOpenRouterLLM Modelto the model you will be using. Visit here to see a full list of OpenRouter models. If the model is not in the list, toggleAdvanced Options, and enter it inCustom Model(e.g. openrouter/<model-name> likeopenrouter/anthropic/claude-3.5-sonnet).API Keyto your OpenRouter API key.