Repository navigation
feat(zerogpu): add ZeroGPU provider - #9460
Conversation
Action items
|
Addressed in 076c966:
|
Action items
|
Action items
|
Addressed in ab20cd8. ZeroGPU doesn't expose a thinking budget for this model: |
Addressed in d56cbf0. Re-tested at temperature 0 with repeats: |
|
No actionable findings. |
Action items
|
398a012 to
1b5cad8
Compare
Fixed. The branch is rebased onto the latest
|
Action items
|
Done in 405e284. ZeroGPU serves these models on
The evidence is in each file's leading comment.
Done in 405e284. Each model got a ~5-7k-token system prefix, sent with the same user message and then a new one (live 2026-11-05):
|
|
No actionable findings. |
|
Hi @rekram1-node, could you take a look at this one when you get a chance? It's been open since Oct 12 with no maintainer review yet. Happy to change anything you'd like |
Action items
|
Thanks, addressed: Embeddings SDK entry: fixed. Both all-minilm-l6-v2 and bge-small-en-v1.5 now set sdk = { opencodeai = "@opencode/ai/providers/openai-compatible/embeddings" }. Restated modalities: kept as is. An authored modalities table must have both input and output (ModalitiesV2 in schema-v2.ts), and v2 uses the authored table instead of merging it with the base. Removing the matching output = ["text"] / input = ["text"] lines fails bun validate with modalities.output: Required. These four files override only one array, but the other has to stay. v1 impact: the PR body now has a v1 section. bun run v1:check reports only additions: the new zerogpu provider and 9 chat models. Embedding, transcription and speech models are v2_only. Maintainer sign-off requested. PR body table: updated to match the files. glm-5.3-flash, gpt-oss-120b, qwen3-30b-a3b-fp8 and llama-3.1-8b-instruct-fast show no cache-read price (cache = false), and gpt-oss-120b shows effort low/medium/high. |
Action items
|
Thanks, addressed:
|
Action items
|
Thanks. No changes needed this round:
|
1d10e99 to
bd3a36d
Compare
Action items
|
Adds ZeroGPU (https://api.zerogpu.ai/v1) with 13 models: 9 chat, 2 embedding, 1 transcription and 1 speech. All entries use base_model; adds lab files for openai/whisper-tiny and resemble-ai/chatterbox-nano.
bd3a36d to
aa0dcd3
Compare
|
Thanks, both addressed:
|
|
No actionable findings. |
Summary
Adds ZeroGPU as an OpenAI-compatible provider (
https://api.zerogpu.ai/v1,ZEROGPU_API_KEY) with 13 models: 9 chat, 2 embedding, 1 transcription and 1 speech.All models are third-party, so every entry uses
base_modeland contains only ZeroGPU-specific overrides. Two lab entries didn't exist yet and are added as complete lab files:models/openai/whisper-tiny.tomlmodels/resemble-ai/chatterbox-nano.toml, pluslabs/resemble-ai/lab.tomlso the lab displays as "Resemble AI"Models
gpt-5.4-nanoopenai/gpt-5.4-nanonone,low,medium,high,xhighgpt-5.6-lunaopenai/gpt-5.6-lunanone,low,medium,high,xhigh,maxgpt-4.1-miniopenai/gpt-4.1-miniglm-5.3-flashzhipuai/glm-5.3-flashlow,high,maxqwen3.6-35b-a3balibaba/qwen3.6-35b-a3bdeepseek-v4.1-flashdeepseek/deepseek-v4.1-flashlow,high,maxgpt-oss-120bopenai/gpt-oss-120bqwen3-30b-a3b-fp8alibaba/qwen3-30b-a3bllama-3.1-8b-instruct-fastmeta/llama-3.1-8b-instructall-minilm-l6-v2sentence-transformers/all-minilm-l6-v2bge-small-en-v1.5baai/bge-small-en-v1.5whisper-tinyopenai/whisper-tinychatterbox-nanoresemble-ai/chatterbox-nanoNotes
/v1/modelsresponse wherever they differ from the base model.deepseek-v4.1-flashis text-only on this host.thinking.type(DeepSeek) orchat_template_kwargs.enable_thinking(Qwen).glm-5.3-flashalways reasons.gpt-oss-120balways reasons with no caller control:reasoning_effortdoesn't change reasoning length on this host (live 2026-11-13).interleavedisn't set.cache = falsewith no cache-read price. Cache-read prices are ZeroGPU's billed cached-input rates from https://api-dashboard.zerogpu.ai/api/models./v1/chat/completions./v1/responseswill be added in a follow-up once its per-API capabilities (tools, structured output, reasoning controls) are verified.[api.embeddings]uses@opencode/ai/providers/openai-compatible/embeddings.whisper-tinyandchatterbox-nanoare priced per minute (unit = "minute").currentColorwith a square0 0 1024 1024viewBox; all path coordinates lie inside it (no transforms).v1 impact
bun run v1:checkreports additions only, no changes to existing v1 data:zerogpu(id,name,npm,api,env,doc).gpt-5.4-nano,gpt-5.6-luna,gpt-4.1-mini,glm-5.3-flash,qwen3.6-35b-a3b,deepseek-v4.1-flash,gpt-oss-120b,qwen3-30b-a3b-fp8,llama-3.1-8b-instruct-fast.v2_only = trueand stay out of v1.These are standard chat models on a new provider, so they're published to v1 like other providers' chat models. Maintainer sign-off requested.
Sources
Validation
bun validatepasses.bun run v1:checklists only the additions above.