Repository navigation
Conversation
Companion to the provider registration in BerriAI/litellm. The provider_endpoints_support.json entry points its `url` field at /docs/providers/y-api, which currently 404s. Covers the base URL, the two-slash model id resolution, the four supported routes, the current model list, and the reasoning-effort levels the relay actually accepts.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
The table listed $0.05/M output; the published cash price is $0.025/M. Every other row was re-checked against the same source and matches.
The page claimed LiteLLM already sends `max_completion_tokens` for the `openai/*` models. It does not: the parameter is forwarded verbatim, which is why the provider entry now declares a `max_tokens` -> `max_completion_tokens` mapping.
|
Correction pushed in The "Token limits" section claimed LiteLLM already sends Verified by pointing the provider at a local echo server and reading the outbound body: |
|
It's been ~2.5 weeks since this was opened (Sep 17) and it's been green since: Vercel preview deployed, and the docs page builds. Nothing has changed on my side and the content is one page plus the nav entry. If the holdup is anything specific — the Also pinging in case it got buried: the sibling provider-registration PR (BerriAI/litellm#41559) and its companion fix (BerriAI/litellm#43784) are still open. Happy to reorder or split them, whichever is easier for you to land. |
… snapshot The previous table was computed under a limited-time 1:20 top-up promo that ended 2026-10-01, so every cash figure doubled when the rate reverted to 1:10. Recomputed as credit_price / top_up.quota_rate from https://y-api.bestvirtualgoods.com/pricing.json on 2026-10-04, with the conversion and its history explained on the page so the table cannot be silently trusted after the next rate move. Also: terra and astra are gone from the host (503, absent from GET /v1/models) — removed from the price table and the reasoning-effort table, with a dated note of why. The remaining seven current catalog models that were missing from the old fifteen-model snapshot are now listed (anthropic x2, minimax-m2.7, kimi-k2.6, step-3.7-flash, hy4-preview, mimo-v2.6-flash). The provider blurb's brand list was extended to the ten vendors actually served.
|
Refreshed today after a pricing-basis change on our side (
|
What
Adds the docs page for the Y-API provider:
docs/providers/y-api.md, plus thecorresponding
sidebars.jsentry in its alphabetical slot (betweenxinferenceandzai).Why
Companion to BerriAI/litellm#41559, which registers Y-API as a JSON-configured
OpenAI-compatible provider. That PR's
provider_endpoints_support.jsonentry points itsurlfield at:which 404s until this page exists. The alternative — dropping
urlthe waychutesandpoedo — is also fine if you'd rather keep the matrix link-free; I went with the pagesince the provider is JSON-configured and therefore has no code module to carry the
documentation.
Page contents
y-api/, base URL, the four supported operations.YAPI_API_KEY./completions,/responses, and/v1/messagesthrough the proxy.GET /v1/modelscurrently returns, with prices.y-api/deepseek/deepseek-v4-flashresolves on the first slashand forwards
deepseek/deepseek-v4-flashupstream unchanged. Worth calling out becauseevery Y-API model id carries an upstream org prefix, so every model string has two
slashes. There is a test for exactly this case in the main PR.
reasoning_effortset than the labs itfronts, so the page lists what each model actually takes (
gpt-5.6-*up toxhigh,gpt-6-astranonone,tencent/hy3onlylow/high). All measured against the liveAPI, n=5 per level.
openai/*models requiremax_completion_tokens.litellm.embedding()is unsupported.I verified every code sample on this page against the live endpoint through a local
LiteLLM proxy built from the branch in #41559.
Checklist
docs/providers/y-api.mdaddedsidebars.jsupdated in alphabetical positionurlin the main PR's matrix points at a 404 after this lands