How to Add, Edit, or Delete Partner Provider Keys on DigitalOcean Inference
Validated on 31 Jan 2025 • Last edited on 8 May 2026
Inference provides a single control plane for managing inference workflows. It includes a Model Catalog where you can view available foundation models, including both DigitalOcean-hosted and third-party commercial models, compare model capabilities and pricing, use routing to match inference requests to the best-fit model, and run inference using serverless or dedicated deployments.
Partner model provider keys are third-party API keys from commercial model providers like Anthropic and OpenAI. These keys let you use commercial models with your agents, serverless inference, or building and deploying agents with the Agent Deployment Kit (ADK) on DigitalOcean Inference. You can also test these models in the model playground without a model API key.
Currently, Anthropic and OpenAI models are the only commercial models available for agents. These models default to using DigitalOcean API keys but you can also add your model API keys.
Using commercial models requires an active commercial account, such as an Anthropic account, and an API key associated with that account. Your key is subject to your model provider’s terms of service, limits, and your account’s usage limits.
To manage model keys, open the DigitalOcean Control Panel, in the left menu, click Agent Platform under INFERENCE, and then select the Model provider keys tab.
Add a New Key
On the Model Keys page, on the right, click Add Key to open the Add Anthropic API Key window.
Copy your API key from your Anthropic account, then under the Anthropic API Key section, paste the key value.
Under the Key Name section, type a unique name, but do not use the API key itself. The name can include only lowercase letters, numbers, hyphens, and periods.
Check I agree to the Anthropic Terms, then click Verify and Save to validate the key.
Once verified, the key appears on the Model Keys page. To create an agent using this key, go to the agent creation page or on the right side of the key, click …, then click Create agent with key.
Edit a Key
On the Model Keys page, find the key you want to edit. On the right side of the key, click …, then select Edit key to open the Edit Anthropic API Key window.
On the Edit Anthropic API Key window, update the API key and key name as needed. Click Verify and Save to validate the changes.
Once verified, on the Model Keys page, the updated key is listed with the Date Modified value updated to the latest change.
Delete a Key
On the Model Keys page, find the key you want to edit. On the right side of the key, click …, then select Delete key to open the Delete Anthropic API Key window.
In the Delete Anthropic API Key window, type the key name to confirm deletion.
Click Delete API key to finalize the deletion.