Skip to content

docs(providers): add ZeroGPU provider page - #1943

Merged
mateo-berri merged 16 commits into
BerriAI:mainfrom
zerogpu:docs/zerogpu-provider
Oct 28, 2026
Merged

mateo-berri merged 16 commits into
BerriAI:mainfrom
zerogpu:docs/zerogpu-provider

Conversation

@amaan-ai20

@amaan-ai20 amaan-ai20 commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Adds the provider page for ZeroGPU (zerogpu/ route), the OpenAI-compatible provider added to litellm in BerriAI/litellm#43874. That PR's README row links to docs.litellm.ai/docs/providers/zerogpu, and its documentation checks look for ZEROGPU_API_KEY and ZEROGPU_API_BASE in this repo, so this page should land first or alongside it.

The page covers the ZEROGPU_API_KEY and optional ZEROGPU_API_BASE setup and the nine models LiteLLM ships pricing for, with context windows and per-1M input, output and cache read prices taken from the PR's cost map. All nine models support tools, tool_choice and json_schema response_format. The SDK examples cover chat completions, streaming, tool calling and reasoning_effort, which is forwarded only to gpt-5.6-luna. The page also includes a proxy config.yaml with OpenAI SDK and cURL tabs, the Admin UI Add Model flow, /v1/messages and /v1/responses through LiteLLM's chat completions bridge, cost tracking with cached tokens billed at the cache read rate, and custom API base options.

sidebars.js registers providers/zerogpu after providers/zai, and docs/proxy/config_settings.md gains ZEROGPU_API_BASE and ZEROGPU_API_KEY rows after ZAI_API_BASE.

npm run build, npm run lint:writing and npm run lint:docs pass locally.

@vercel

vercel Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
litellm Ready Ready Preview Oct 28, 2026 8:01pm UTC

Request Review

@mateo-berri mateo-berri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! One fix inline, and this can merge once the ZeroGPU code PR BerriAI/litellm#43874 merges

Comment thread docs/providers/zerogpu.md Resolved

@mateo-berri mateo-berri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Could you merge main to fix the sidebars.js conflict, and update the two body sentences on tools and reasoning_effort to match?

Comment thread docs/providers/zerogpu.md Resolved
Comment thread docs/providers/zerogpu.md Resolved
Comment thread docs/providers/zerogpu.md Resolved
Comment thread docs/providers/zerogpu.md Resolved
Comment thread docs/providers/zerogpu.md Resolved
… the cost map

ZeroGPU rejects gpt-5.4-nano prompts past 272,000 tokens, and gpt-oss-120b uses 128,000 as the safe window across its backends, matching the code PR
The cost map prices qwen3-30b-a3b-fp8 cache reads at $0.05 per 1M tokens, so the table no longer says n/a
…he cost map

LFM2.5-1.2B-Instruct answered a json_schema request with plain text and has no capability flags, so it is the one exception for tools and json_schema. The reasoning list now names the six models the code PR flags
gpt-5.4-nano already accepted reasoning_effort, and the code PR flags deepseek-v4.1-flash, glm-5.3-flash, gpt-oss-120b and qwen3-30b-a3b-fp8 too, so the section points at the six reasoning models and names the three that need drop_params
@amaan-ai20

Copy link
Copy Markdown
Contributor Author

@mateo-berri Can you please take a look. Thank you!

@mateo-berri

Copy link
Copy Markdown
Contributor

Thanks! Could you merge main to clear the conflict, and update the Responses text? /v1/responses now goes to ZeroGPU natively, not through the chat bridge

The code PR lists /v1/responses in the zerogpu supported_endpoints, so litellm.responses() and the proxy's /v1/responses call ZeroGPU's /responses directly instead of the chat completions bridge
@vercel

vercel Bot commented Oct 28, 2026

Copy link
Copy Markdown

@amaan-ai20 is attempting to deploy a commit to the Berri AI Team on Vercel.

A member of the Team first needs to authorize it.

@amaan-ai20

amaan-ai20 commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor Author

Thanks! Could you merge main to clear the conflict, and update the Responses text? /v1/responses now goes to ZeroGPU natively, not through the chat bridge

Thanks @mateo-berri! Merged main to clear the conflict in #1943, and 10ea4da updates the Responses text to say /v1/responses goes to ZeroGPU natively

BerriAI/litellm#43874 now prices gpt-6-luna, LFM2.5-1.2B-Thinking, llama-3.2-3b-instruct-fast and qwen3.6-35b-a3b, flags gpt-6-luna as a reasoning model, and no longer selects zerogpu from api_base alone, so the page lists the new rows, names the models with tools and reasoning support instead of counting them, and drops the bare model routing paragraph

@mateo-berri mateo-berri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please mirror the code PR fixes here, qwen3.6-35b-a3b at 262,144 tokens, gpt-6-luna and qwen3.6 in the tools list, and qwen3.6 as reasoning

BerriAI/litellm#43874 now gives qwen3.6-35b-a3b a 262,144-token context, flags tools and json_schema on gpt-6-luna and qwen3.6-35b-a3b, and flags qwen3.6-35b-a3b as a reasoning model, so the page matches
@amaan-ai20

Copy link
Copy Markdown
Contributor Author

Please mirror the code PR fixes here, qwen3.6-35b-a3b at 262,144 tokens, gpt-6-luna and qwen3.6 in the tools list, and qwen3.6 as reasoning

Mirrored the code PR fixes in #1943 (c057a39): qwen3.6-35b-a3b at 262,144 tokens, gpt-6-luna and qwen3.6 in tools, qwen3.6 as reasoning

@amaan-ai20

Copy link
Copy Markdown
Contributor Author

@mateo-berri Can you please take a look ? Thanks!

@mateo-berri

Copy link
Copy Markdown
Contributor

bugbot run

@mateo-berri mateo-berri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the contribution!

@mateo-berri
mateo-berri merged commit 46e0d32 into BerriAI:main Oct 28, 2026
6 checks passed

This branch was previously deployed

1 inactive deployment
Preview — c057a394 Deployed Oct 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants