Create a Model Access Key
- In the DigitalOcean control panel, open Model Access Keys.
- Select Create model access key and enter an Access Key Name.
- On the Foundation models tab, choose All models, or Select models to limit the key to the models you plan to use.
- Select Continue. Under VPC Network, choose No VPC network.
- Select Add model access key, then copy the secret key. DigitalOcean shows it only once.
Do not restrict the key to a VPC network. OpenHands calls the public inference endpoint, and VPC-scoped keys are not supported from DigitalOcean Managed Agents sandboxes.
Configure Agent Canvas
- Open
Settings > LLM. - In the
Basictab, selectdigitaloceanas the provider. - Select a model, enter your model access key, and save the profile.
- Start a new conversation and send a short message to verify the model responds.
digitalocean/ models to https://inference.do-ai.run/v1 automatically.
To reuse the key across several models, create a digitalocean Provider Connection and select it in each profile.
Verified Models
These models are verified for tool calling with OpenHands. Enter the model string as shown when you use theAdvanced tab or the SDK.
To use a model that is not listed, use the
Advanced tab and add the digitalocean/ prefix to its DigitalOcean model ID. Get current IDs from DigitalOcean’s available models or from GET https://inference.do-ai.run/v1/models. For example:
Use It With the SDK
base_url only to override it.
Costs
DigitalOcean bills inference to your Inference and Agents balance, then your account prepayment balance. See Serverless Inference pricing for per-model rates. Third-party models, such as Anthropic and OpenAI models, are not discounted by Agent Droplets plans.Fix Common Problems
For the broader configuration decision and recovery paths, see Configure a Model.

