How do you want to manage your models and budgets?
OpenHands can call your model provider directly or send inference requests through a gateway. Your choice determines where you set spending limits and which usage reports you can use.1. Bundled LiteLLM — set budgets and review usage in OpenHands
Use bundled LiteLLM if you want a gateway integrated with OpenHands Enterprise and don’t already run one. Once you configure it, organization admins can set organization and per-member budgets and review usage in OpenHands. LiteLLM enforces the limits.- Helm. Enable and configure bundled LiteLLM in the installation values.
- Docker Compose. Add the optional Compose LiteLLM overlay.
- Replicated. Configure your provider in the Admin Console.
2. Connect directly and manage spend with your inference provider
Connect to a provider such as OpenAI, Anthropic, or Amazon Bedrock using your provider credentials.- Docker Compose. Follow Compose onboarding for providers that use an API key.
- Helm. If your deployment allows custom provider settings, select a direct provider profile. The agent sandbox needs access to the provider endpoint and its credentials. For Bedrock, the published Helm recipe configures the bundled gateway to call AWS.
3. Use your own external gateway
If you already run a gateway, choose how OpenHands should connect to it:- Forward through bundled LiteLLM. Set budgets in OpenHands. Bundled LiteLLM forwards inference to your gateway using a credential configured by an admin.
- Use per-member keys. OpenHands calls your gateway with each member’s existing virtual key. Your gateway records spend and enforces limits for that key.
Provider-specific setup
These guides cover provider credentials, endpoints, and model IDs for the deployment methods listed on each page.Azure
Azure OpenAI and Azure AI Foundry model routes.
AWS Bedrock
Amazon Bedrock models.
Vertex AI and Gemini API models.

