Add DigitalOcean Gradient AI Platform as a provider#1318
Open
Sunny-DotNet wants to merge 1 commit intoanomalyco:devfrom
Open
Add DigitalOcean Gradient AI Platform as a provider#1318Sunny-DotNet wants to merge 1 commit intoanomalyco:devfrom
Sunny-DotNet wants to merge 1 commit intoanomalyco:devfrom
Conversation
Add DigitalOcean as a new provider with 39 models including: - 8 Anthropic Claude models (Sonnet, Haiku, Opus variants) - 1 Arcee model (Trinity Large) - 21 OpenAI models (GPT-5.x, GPT-4.x, o-series, image, gpt-oss) - 9 DigitalOcean-hosted open source models (Qwen, DeepSeek, Llama, Mistral, etc.) API endpoint: https://inference.do-ai.run/v1 (OpenAI-compatible) Pricing sourced from official DigitalOcean documentation (2026-04-01). Closes anomalyco#1317 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds DigitalOcean Gradient AI Platform as a new provider (OpenAI-compatible endpoint) and introduces a catalog of 39 model definitions with pricing, limits, and modality metadata so the codebase can surface DigitalOcean models alongside existing providers.
Changes:
- Added
providers/digitalocean/provider.tomlwith endpoint, SDK, docs, and env var configuration. - Added 39 model TOML definitions under
providers/digitalocean/models/(Anthropic/OpenAI/OSS) including[cost],[limit], and[modalities]. - Included special pricing tiers for select Anthropic models via
[cost.context_over_200k].
Reviewed changes
Copilot reviewed 40 out of 40 changed files in this pull request and generated 12 comments.
Show a summary per file
| File | Description |
|---|---|
| providers/digitalocean/provider.toml | DigitalOcean provider configuration (SDK, endpoint, env var, docs) |
| providers/digitalocean/models/alibaba-qwen3-32b.toml | Model definition: Qwen3-32B |
| providers/digitalocean/models/anthropic-claude-4.1-opus.toml | Model definition: Claude Opus 4.1 |
| providers/digitalocean/models/anthropic-claude-4.5-sonnet.toml | Model definition: Claude Sonnet 4.5 |
| providers/digitalocean/models/anthropic-claude-4.6-sonnet.toml | Model definition: Claude Sonnet 4.6 |
| providers/digitalocean/models/anthropic-claude-haiku-4.5.toml | Model definition: Claude Haiku 4.5 |
| providers/digitalocean/models/anthropic-claude-opus-4.5.toml | Model definition: Claude Opus 4.5 |
| providers/digitalocean/models/anthropic-claude-opus-4.6.toml | Model definition: Claude Opus 4.6 |
| providers/digitalocean/models/anthropic-claude-opus-4.toml | Model definition: Claude Opus 4 |
| providers/digitalocean/models/anthropic-claude-sonnet-4.toml | Model definition: Claude Sonnet 4 |
| providers/digitalocean/models/deepseek-r1-distill-llama-70b.toml | Model definition: DeepSeek R1 Distill Llama 70B |
| providers/digitalocean/models/glm-5.toml | Model definition: GLM 5 |
| providers/digitalocean/models/kimi-k2.5.toml | Model definition: Kimi K2.5 |
| providers/digitalocean/models/llama3-8b-instruct.toml | Model definition: Llama 3.1 8B Instruct |
| providers/digitalocean/models/llama3.3-70b-instruct.toml | Model definition: Llama 3.3 70B Instruct |
| providers/digitalocean/models/minimax-m2.5.toml | Model definition: MiniMax M2.5 |
| providers/digitalocean/models/mistral-nemo-instruct-2407.toml | Model definition: Mistral NeMo Instruct |
| providers/digitalocean/models/nvidia-nemotron-3-super-120b.toml | Model definition: Nemotron-3-Super-120B |
| providers/digitalocean/models/openai-gpt-4.1.toml | Model definition: GPT-4.1 |
| providers/digitalocean/models/openai-gpt-4o-mini.toml | Model definition: GPT-4o mini |
| providers/digitalocean/models/openai-gpt-4o.toml | Model definition: GPT-4o |
| providers/digitalocean/models/openai-gpt-5-2-pro.toml | Model definition: GPT-5.2 pro |
| providers/digitalocean/models/openai-gpt-5-mini.toml | Model definition: GPT-5 mini |
| providers/digitalocean/models/openai-gpt-5-nano.toml | Model definition: GPT-5 nano |
| providers/digitalocean/models/openai-gpt-5.1-codex-max.toml | Model definition: GPT-5.1 Codex Max |
| providers/digitalocean/models/openai-gpt-5.2.toml | Model definition: GPT-5.2 |
| providers/digitalocean/models/openai-gpt-5.3-codex.toml | Model definition: GPT-5.3 Codex |
| providers/digitalocean/models/openai-gpt-5.4-mini.toml | Model definition: GPT-5.4 mini |
| providers/digitalocean/models/openai-gpt-5.4-nano.toml | Model definition: GPT-5.4 nano |
| providers/digitalocean/models/openai-gpt-5.4-pro.toml | Model definition: GPT-5.4 pro |
| providers/digitalocean/models/openai-gpt-5.4.toml | Model definition: GPT-5.4 |
| providers/digitalocean/models/openai-gpt-5.toml | Model definition: GPT-5 |
| providers/digitalocean/models/openai-gpt-image-1.5.toml | Model definition: GPT Image 1.5 |
| providers/digitalocean/models/openai-gpt-image-1.toml | Model definition: GPT Image 1 |
| providers/digitalocean/models/openai-gpt-oss-120b.toml | Model definition: gpt-oss-120b |
| providers/digitalocean/models/openai-gpt-oss-20b.toml | Model definition: gpt-oss-20b |
| providers/digitalocean/models/openai-o1.toml | Model definition: o1 |
| providers/digitalocean/models/openai-o3-mini.toml | Model definition: o3-mini |
| providers/digitalocean/models/openai-o3.toml | Model definition: o3 |
| providers/digitalocean/models/trinity-large-thinking.toml | Model definition: Trinity Large (thinking) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add DigitalOcean Gradient AI Platform as a Provider
Closes #1317
Overview
Adds DigitalOcean Gradient™ AI Platform as a new provider with 39 models.
https://inference.do-ai.run/v1(OpenAI-compatible)@ai-sdk/openai-compatibleDIGITALOCEAN_API_KEYModels Added
Data Source
All pricing and model information sourced from official DigitalOcean documentation:
(Last updated: 2026-04-01)
Notes
cost.context_over_200kpricing.bun validate.