From 23d276cf8c32d96a7b363cf248708d3be03f6f2f Mon Sep 17 00:00:00 2001 From: RunAPI Date: Tue, 9 Jun 2026 01:58:41 +0800 Subject: [PATCH 1/2] docs: add RunAPI OpenAI-compatible example --- openhands/usage/llms/openai-llms.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/openhands/usage/llms/openai-llms.mdx b/openhands/usage/llms/openai-llms.mdx index d97a573f2..c5ea30a18 100644 --- a/openhands/usage/llms/openai-llms.mdx +++ b/openhands/usage/llms/openai-llms.mdx @@ -16,6 +16,12 @@ If the model is not in the list, enable `Advanced` options, and enter it in `Cus Just as for OpenAI Chat completions, we use LiteLLM for OpenAI-compatible endpoints. You can find their full documentation on this topic [here](https://docs.litellm.ai/docs/providers/openai_compatible). +For example, to use [RunAPI](https://runapi.ai) as an OpenAI-compatible endpoint, set: + +- `Custom Model` to `openai/` using a model from [RunAPI models](https://runapi.ai/models.md) +- `Base URL` to `https://api.runapi.ai/v1` +- `API Key` to your RunAPI API key + ## Using an OpenAI Proxy If you're using an OpenAI proxy, in the OpenHands UI through the Settings under the `LLM` tab: From bd16217b7a792597b90d1fb13603e7b60c4df356 Mon Sep 17 00:00:00 2001 From: RunAPI Date: Tue, 9 Jun 2026 02:46:14 +0800 Subject: [PATCH 2/2] docs: fix RunAPI base URL --- openhands/usage/llms/openai-llms.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openhands/usage/llms/openai-llms.mdx b/openhands/usage/llms/openai-llms.mdx index c5ea30a18..5c3c41108 100644 --- a/openhands/usage/llms/openai-llms.mdx +++ b/openhands/usage/llms/openai-llms.mdx @@ -19,7 +19,7 @@ Just as for OpenAI Chat completions, we use LiteLLM for OpenAI-compatible endpoi For example, to use [RunAPI](https://runapi.ai) as an OpenAI-compatible endpoint, set: - `Custom Model` to `openai/` using a model from [RunAPI models](https://runapi.ai/models.md) -- `Base URL` to `https://api.runapi.ai/v1` +- `Base URL` to `https://runapi.ai/v1` - `API Key` to your RunAPI API key ## Using an OpenAI Proxy