OpenHands supports using the LiteLLM proxy to access various LLM providers.
LLM
tab:Advanced
optionsCustom Model
to the prefix litellm_proxy/
+ the model you will be using (e.g. litellm_proxy/anthropic.claude-3-5-sonnet-20241022-v2:0
)Base URL
to your LiteLLM proxy URL (e.g. https://your-litellm-proxy.com
)API Key
to your LiteLLM proxy API key