Configuration
When running OpenHands, you’ll need to set the following in the OpenHands UI through the Settings under theLLM
tab:
LLM Provider
toOpenRouter
LLM Model
to the model you will be using. Visit here to see a full list of OpenRouter models. If the model is not in the list, enableAdvanced
options, and enter it inCustom Model
(e.g. openrouter/<model-name> likeopenrouter/anthropic/claude-3.5-sonnet
).API Key
to your OpenRouter API key.