Agents & CLIs

OpenHands

Run the OpenHands agent on RouterPlex models.

OpenHands (formerly OpenDevin) uses LiteLLM under the hood, so it understands openai/-prefixed custom endpoints.

In the OpenHands UI: Settings → LLM → Advanced:

text
Custom Model: openai/claude-sonnet-4-6
Base URL: https://api.routerplex.com/v1
API Key: sk-... # your RouterPlex key

Or with environment variables when self-hosting:

bash
export LLM_MODEL="openai/claude-sonnet-4-6"
export LLM_BASE_URL="https://api.routerplex.com/v1"
export LLM_API_KEY="sk-..."

The openai/ prefix selects the OpenAI wire format; the part after the slash is the RouterPlex model ID verbatim.