Create your API key →
Mint an
aireserve_api_… key in the portal — every OpenHands agent step is
then metered and billed through your organization.openai/ prefix on the model id means “OpenAI-compatible endpoint” — it
routes Claude models too:
uv tool install openhands, or
pipx install openhands):
--override-with-envs is required. Without it the CLI ignores the
LLM_* variables in favor of ~/.openhands/ settings — and on a fresh
install it waits for the interactive first-run wizard instead. Interactive
sessions (openhands with no flags) can also set the same three values in
the settings UI: Custom Model, Base URL, API Key.-e LLM_MODEL=…,
-e LLM_BASE_URL=…, -e LLM_API_KEY=… on docker run.