From 8185b91240e12fe40180bbf07c8fa4ac9f8b13ea Mon Sep 17 00:00:00 2001 From: Devin Date: Wed, 1 Apr 2026 11:56:18 -0400 Subject: [PATCH 1/3] Add clarifying language to getting started with SDK Add credits, extra wording to match API key header --- sdk/getting-started.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/getting-started.mdx b/sdk/getting-started.mdx index 0165ee29d..5211aca02 100644 --- a/sdk/getting-started.mdx +++ b/sdk/getting-started.mdx @@ -35,7 +35,7 @@ The SDK requires an LLM API key from any [LiteLLM-supported provider](https://do - Sign up for [OpenHands Cloud](https://app.all-hands.dev) and get an LLM API key from the [API keys page](https://app.all-hands.dev/settings/api-keys). This gives you access to models verified to work well with OpenHands, with no markup. + Sign up for [OpenHands Cloud](https://app.all-hands.dev), add credits to your account, and get your OpenHands LLM API key from the [API keys page](https://app.all-hands.dev/settings/api-keys). This gives you access to models verified to work well with OpenHands, with no markup. Example: ```bash From 78071b58b56dc7b5c06d98eb4aaa61c2e5fd148f Mon Sep 17 00:00:00 2001 From: Devin Date: Wed, 1 Apr 2026 12:20:16 -0400 Subject: [PATCH 2/3] Tweak langue and add warning to openhands llm entry --- openhands/usage/llms/openhands-llms.mdx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/openhands/usage/llms/openhands-llms.mdx b/openhands/usage/llms/openhands-llms.mdx index 3e75e455f..7b84eeaf1 100644 --- a/openhands/usage/llms/openhands-llms.mdx +++ b/openhands/usage/llms/openhands-llms.mdx @@ -35,7 +35,9 @@ When you use OpenHands as an LLM provider in the CLI, we may collect minimal usa ## Using OpenHands LLM Provider with the SDK -You can use your OpenHands API key with the [OpenHands SDK](https://docs.openhands.dev/sdk) to build custom agents and automation pipelines. +You can use your OpenHands LLM API key with the [OpenHands SDK](https://docs.openhands.dev/sdk) to build custom agents and automation pipelines. + + ### Configuration @@ -46,6 +48,16 @@ export LLM_API_KEY="your-openhands-api-key" export LLM_MODEL="openhands/claude-sonnet-4-20250514" ``` + + **The SDK uses the OpenHands LLM Key not the OpenHands Cloud API Keys** : If you see the following error ensure you are using the [OpenHands LLM Key](https://app.all-hands.dev/settings/api-keys). + + ```bash + Unable to find token in cache or `LiteLLM_VerificationTokenTable` + ``` + + You can create multiple OpenHands API Keys to work with the [Cloud API](https://docs.openhands.dev/openhands/usage/cloud/cloud-api) but there is only one OpenHands LLM API Key for your account. + + ### Example ```python From c3eb212cb43eb5eed13efe98cb8818c86d26688c Mon Sep 17 00:00:00 2001 From: Devin Date: Wed, 1 Apr 2026 12:51:33 -0400 Subject: [PATCH 3/3] Update openhands/usage/llms/openhands-llms.mdx Remove language about only one LLM API key Co-authored-by: Engel Nyst --- openhands/usage/llms/openhands-llms.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openhands/usage/llms/openhands-llms.mdx b/openhands/usage/llms/openhands-llms.mdx index 7b84eeaf1..326a6551f 100644 --- a/openhands/usage/llms/openhands-llms.mdx +++ b/openhands/usage/llms/openhands-llms.mdx @@ -55,7 +55,7 @@ export LLM_MODEL="openhands/claude-sonnet-4-20250514" Unable to find token in cache or `LiteLLM_VerificationTokenTable` ``` - You can create multiple OpenHands API Keys to work with the [Cloud API](https://docs.openhands.dev/openhands/usage/cloud/cloud-api) but there is only one OpenHands LLM API Key for your account. +OpenHands Cloud API Keys work with the [Cloud API](https://docs.openhands.dev/openhands/usage/cloud/cloud-api), while OpenHands LLM API Keys work with your chosen LLM via the OpenHands provider. ### Example