Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions openhands/usage/llms/openai-llms.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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/<model-name>` using a model from [RunAPI models](https://runapi.ai/models.md)
- `Base URL` to `https://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:
Expand Down