Obtain Your OpenHands LLM API Key
- Log in to OpenHands Cloud.
- Go to the Settings page and navigate to the
API Keys
tab. - Copy your
LLM API Key
.

Configuration
When running OpenHands, you’ll need to set the following in the OpenHands UI through the Settings under theLLM
tab:
LLM Provider
toOpenHands
LLM Model
to the model you will be using (e.g. claude-sonnet-4-20250514)API Key
to your OpenHands LLM API key copied from above
Using OpenHands LLM Provider in the CLI
- Run OpenHands CLI.
- To select OpenHands as the LLM provider:
- If this is your first time running the CLI, choose
openhands
and then select the model that you would like to use. - If you have previously run the CLI, run the
/settings
command and select to modify theBasic
settings. Then chooseopenhands
and finally the model.

Pricing
Pricing follows official API provider rates. You can view model prices here. Forqwen3-coder-480b
, we charge the cheapest FP8 rate available on openrouter: $0.4 per million input tokens and $1.6 per million output tokens.