Uh oh!
There was an error while loading. Please reload this page.
Add the four models the catalog was missing, including the embeddings tier - #23
Merged
Merged
Conversation
…log was missing, including the embeddings tier Sourced from the dashboard model-pricing API (api-dashboard.zerogpu.ai/api/model-pricing/with-model), which lists 23 models against the catalog's 14. Nine were absent here. This adds the four that are live, callable, and useful to a reader; every request and response example below is a real call against api.zerogpu.ai, not a hand-written sketch. Text Embedding is a new task tier. Nothing in the docs knew embeddings existed, and the two models are routable *only* on /v1/embeddings: a /responses or /chat/completions call with either returns 400 model_not_found. That is the same shape as the moderation rollout, so it gets the same treatment: an endpoint page, a path and schemas in zerogpu.openapi.json, a guide page, and per-model playgrounds. all-minilm-l6-v2 22.7M params, 384 dims, 256 tokens, $0.50 / 1M input bge-small-en-v1.5 33.4M params, 384 dims, 512 tokens, $0.50 / 1M input Both return 384-dimensional vectors, so they are interchangeable in an existing index. Neither bills output tokens, which is why their catalog rows read "Not billed" rather than a dollar figure. The pricing API carries no description, params, or max tokens for either, so those come from the upstream model cards (sentence-transformers, BAAI), and bge has no favicon published, so its rows render without an icon until one exists. t5-small $0.05 / $0.40, 60M params, 512 tokens zlm-v1-multi-iab-classify $0.05 / $0.40, 90M params, 400 tokens Both speak /responses and /chat/completions, so both are added to the model enums in zerogpu.openapi.json and to their task guides. t5-small is the cheap summarizer for chunked input; llama-3.1-8b-instruct-fast stays the choice when a whole document has to land in one pass. multi-iab returns the same enriched envelope as the v2 edge classifier for text that is not in English, verified here on Spanish. Not added, and why: zlm-v1-iab-classify-cloud, zlm-v1-iab-classify-onnx and the v1 enriched classifier are same-family duplicates of models already documented (and -onnx returns 500, "Cloud inference URL is not configured", so it is on-device only); zlm-v1-signal-extract rejects both documented request shapes with a 400 and publishes no description, so documenting it would mean inventing its contract. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
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 freeto 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.
The dashboard model-pricing API (
api-dashboard.zerogpu.ai/api/model-pricing/with-model) serves 23 models. The catalog documents 14. This adds the four of the missing nine that are live, callable, and worth a reader's time.Every request and response example in this PR is a real call against
api.zerogpu.ai, not a hand-written sketch.Text Embedding is a new tier
Nothing in the docs knew embeddings existed. Both models are routable only on
/v1/embeddings:That is the same shape as the moderation rollout, so it gets the same treatment: an endpoint page (
api-reference/embeddings.mdx), a/embeddingspath and schemas inzerogpu.openapi.json, a guide page (docs/embeddings.mdx), and a playground per model.all-minilm-l6-v2bge-small-en-v1.5Both return 384-dimensional vectors, so they are interchangeable in an existing index. Batch input (
"input": ["a","b"]) works and is documented.Two text models
t5-small/responses,/chat/completionszlm-v1-multi-iab-classify/responses,/chat/completionsBoth are added to the model enums in
zerogpu.openapi.jsonand to their task guides (docs/summarization.mdx,docs/text-classification.mdx).llama-3.1-8b-instruct-faststays the recommendation when a whole document has to land in one pass;zlm-v2-iab-classify-edge-enrichedstays the recommendation for English.Three things worth a maintainer's eye
bge-small-en-v1.5has no favicon.models-favicon.zerogpu.ai/bge-small-en-v1.5/*404s and the API returnsfavicon_url: null, so its catalog row and card render without an icon. Everything else in the table has one.description,parameters,max_tokensare all null;bgewas created 2026-08-20). Params, dimensions, and context windows come from the upstream model cards (sentence-transformers, BAAI). Worth backfilling the dashboard so the two sources agree.zlm-v1-multi-iab-classifyreturns a lossyuser_intent.name. The real response to the Spanish sample reads"insights on les son los conceptos sicos del"(accents dropped, words truncated). The docs show the response verbatim rather than tidying it. Categories, topics, and keywords are all correct; only that one string is rough.Not added, and why
zlm-v1-iab-classify-cloudzlm-v1-iab-classify-edgezlm-v1-iab-classify-edge-enriched(v1)zlm-v1-iab-classify-onnx"Cloud inference URL is not configured for this model"; on-device onlyzlm-v1-signal-extractAll nine of the undocumented models are
display: falsein the dashboard, so if that flag is meant to gate the public catalog, say so and I will drop the four back out.Verification
docs.jsonnav entry maps to a file on diskdocs.jsonJSON parses; thezerogpu.openapi.jsondiff is additive (192 insertions, 2 deletions, both the enum lines)Merge order
cliPR pins its price table to this catalog in both directions. The two are independent to merge (the CLI test uses its own transcription), but they should land together so the transcription is not stale on either side.🤖 Generated with Claude Code