Skip to content

docs: TopxAI provider page - #1558

Open
UnbelievableT wants to merge 24 commits into
BerriAI:mainfrom
UnbelievableT:add-topxai-provider
Open

UnbelievableT wants to merge 24 commits into
BerriAI:mainfrom
UnbelievableT:add-topxai-provider

Conversation

@UnbelievableT

@UnbelievableT UnbelievableT commented Sep 19, 2026 •

Copy link
Copy Markdown

Update, November 19, 2026: TopxAI now offers kimi-k3.1-pro-Abliterated (Kimi K3.1 Pro with the refusal alignment removed, $3.25 input / $0.325 cache read / $6.50 output per 1M tokens), which replaces kimi-k3.1-pro; the old ID returns 403. deepseek-flash-Abliterated moved to $0.36 / $0.075 / $1.35. This PR is updated to match https://api.topxai.xyz/api/pricing.

Adds the TopxAI provider page for LiteLLM #41919. The twelve model IDs and all 24 standard input and output prices match the active Auto routes on November 18, 2026. GPT-6.2 Astra costs $6.40 input and $32 output per million tokens. GPT-6.2 Sol costs $1.60 and $8. From 272,001 input tokens, whole-request rates are $12.80/$48 for Astra and $3.20/$12 for Sol. Public pricing feed

The table includes gpt-6.1-terra at $0.80 input and $4 output per million tokens. From 272,001 input tokens, the whole request uses $1.60 input and $6 output; Terra is also available through /responses. The GLM, Kimi and DeepSeek entries reflect the November 8 move to private deployments and fixed prices, including GLM-5.3-Flash-Abliterated and deepseek-flash-fast. Cache-read prices and the absence of cache-write prices on those five private models are explicit. Image IDs use GPT Image 2.6.

Updated on November 10 at d39b66beb2: the three abliterated models carry the prices TopxAI set that day (GLM-5.3-Abliterated $3 / $6, GLM-5.3-Flash-Abliterated $0.36 / $1.50, deepseek-flash-Abliterated $0.42 / $1.50, with cache reads of $0.45, $0.075 and $0.105), and claude-fable-5-2 replaces claude-fable-5-1, which TopxAI retired the same day with no alias; the page now lists it among the retired IDs.

Updated on November 13 at 2057b87: TopxAI's API site moved to api.topxai.xyz. The previous host answers 308, and HTTP clients drop the Authorization header on that cross-host redirect, so the old default base URL fails with 401. The page's default TOPXAI_API_BASE, the Anthropic api_base and every link now use the new host with the same paths; prices and model IDs are unchanged. scripts/check-docs.py reports nothing for the page, the writing-style check and scripts/test_docs_models.py pass, and git diff --check is clean.

Retired IDs have no alias. The page retains the model-specific tool, schema and image-input limits and explains the difference between native TopxAI endpoints and LiteLLM protocol bridges. Cost tracking uses the Auto-route prices, which a key created for the model's route pays too.

Verified on November 10: scripts/check-docs.py docs (955 files; its two python-invalid findings are in docs/harness/events.md and docs/harness/quickstart.md and appear identically without this change), scripts/test_docs_models.py (16 tests), node --test scripts/docs-models.test.cjs (4 tests), the writing-style check for the page, git diff --check, and all twelve table IDs/input-output prices against the live public pricing API. No full site build or paid provider calls were run. The Vercel preview still requires authorization from the repository's Vercel team.

Disclosure: I operate TopxAI.

November 18 SDK and proxy checks

The examples read TOPXAI_API_KEY from the environment and connect to the proxy on localhost. The page identifies the LiteLLM build required for the topxai/ prefix and distinguishes TopxAI's prompt retention policy from each model provider's policy.

kimi-k3.1-pro-Abliterated accepts a named function and tool_choice="required"; tool_choice="none" returns an empty answer, and json_schema works. Kimi model guide

Local validation at 5bb6cb0 covered the three Python SDK examples, all three proxy YAML routes and the outgoing Kimi named-function request against a mock upstream. The page passed the structural and writing checks. All 20 documentation model tests and the full production build passed, and the rendered provider page includes the updated Kimi guidance. Companion implementation

GitHub is waiting for a BerriAI maintainer to approve Docs checks for this commit. The hosted preview requires Vercel team authorization. Docs checks · PR checks

November 18 route merge

On the evening of November 18, 2026, TopxAI merged its shared-pool and official-line routes: Claude, GPT and Grok are each sold on one route at 80% of the lab's list price in every lane, long-context tiers included. GLM, Kimi and DeepSeek keep their fixed private-deployment prices. ef5fd625 updates the table to the live Auto-route prices: Sonnet 5.5 $1.60 / $8, Opus 5.5 $3.20 / $16, Fable 5.2 $6.40 / $32, GPT-6.2 Astra $6.40 / $32, GPT-6.2 Sol $1.60 / $8, GPT-6.1 Terra $0.80 / $4 and Grok 4.7 $1.60 / $4.80, with the GPT and Grok whole-request tiers at the same 80%. The paragraph about official-line keys paying 90% is replaced by the one-route rule, linked to routes and prices, and the Messages note now says Anthropic's list price is 25% above TopxAI's Claude price. ffc316cb adds the <SinceVersion v="1.112.0" /> badge that check-docs.py --only=version-missing requires on a new page; 1.112.0 is the first release after the current 1.111.0 candidate. The merge 4f4bd6aa brings in upstream eae2fb05 (25 commits) without conflicts.

Local checks on ffc316cb: scripts/check-docs.py docs and the PR-only --base=<merge base> --only=version-missing report no problems; the writing-style check passes with no warning on the page; scripts/test_docs_models.py, scripts/test_check_docs_version_note.py and node --test scripts/docs-models.test.cjs pass; the retired master-key grep finds nothing. All twelve table IDs and their input and output prices match /api/pricing.

@vercel

vercel Bot commented Sep 19, 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 5, 2026 2:48pm UTC

Request Review

UnbelievableT and others added 2 commits September 28, 2026 22:18
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ices

claude-fable-5, claude-opus-5, gpt-5.6-sol and grok-4.6 were retired on
2026-09-24 and now return HTTP 403. The table and examples use their
successors claude-fable-5-1, claude-opus-5-5, gpt-6-sol and grok-4.7, and
the table adds deepseek-flash and deepseek-v4-pro with off-peak and peak
rates. Prices stay on the Auto-route lanes of
https://ai.topxea.com/api/pricing (read 2026-09-28); the long-context
notes give that catalogue's thresholds and long-lane prices.

The route paragraph covers the 80% Kimi and DeepSeek lines, the DeepSeek
peak windows and GLM's private deployment. The cost tracking paragraph
says where LiteLLM's tracked cost can differ from the TopxAI bill
(DeepSeek holidays and window crossings, official-line keys,
anthropic/ calls priced at Anthropic's list price). The Claude rows say
prompt caching goes through anthropic/, since the topxai/ route drops
cache_control, and the tip is limited to chat models.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TopxAI retired gpt-6-sol on 2026-09-30 with no forwarding alias;
requests for it now answer HTTP 403. The model table and the streaming,
Responses and proxy examples use topxai/gpt-6.1-sol, matching the cost
map in BerriAI/litellm#41919. The Auto-route price stays at $1 input and
$5 output per million tokens, with the whole-request $2 / $7.50 tier
from 272,001 input tokens (https://ai.topxea.com/api/pricing,
2026-09-30).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@UnbelievableT

Copy link
Copy Markdown
Author

@mateo-berri @ryan-crabbe-berri gentle ping: this is the provider page for BerriAI/litellm#41919 (TopxAI as a JSON-configured OpenAI-compatible provider), laid out like the existing Nscale page. It was updated on 2026-09-30 to gpt-6.1-sol, which replaced the retired gpt-6-sol, and the repo's writing-style and docs checks and a full build pass. It can land together with the code PR. Thanks!

TopxAI retired claude-sonnet-5 on 2026-10-02 (requests answer 403) and offers
claude-sonnet-5-5 at the same shared-pool prices
(https://ai.topxea.com/pricing/claude-sonnet-5-5).
sidebars.js conflicted after upstream reformatted it; took upstream's file and
put providers/topxai back after providers/topaz.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 23, 2026

Copy link
Copy Markdown

@UnbelievableT is attempting to deploy a commit to the CLERKIEAI Team on Vercel.

A member of the Team first needs to authorize it.

@UnbelievableT

UnbelievableT commented Oct 25, 2026 •

Copy link
Copy Markdown
Author

Could a BerriAI maintainer approve Docs checks for commit 5bb6cb0? GitHub reports action_required for that run. The Vercel integration also requests team authorization to deploy the preview. Docs checks · PR checks

The full production build and all 20 documentation model tests passed locally. The generated page includes the corrected Kimi tool-choice and JSON guidance. A mock upstream received the expected requests from all three SDK examples and all three proxy model entries, including an additional Kimi request that preserved the named function in tool_choice.

I linked the documentation checks in the companion provider review. The native topxai/ examples require that implementation, so this page can follow the code merge.

…ices

Updates the TopxAI page to the 2026-11-08 catalogue: Kimi K3.1 Pro is a
private deployment like the GLM and DeepSeek models, with no cache-write
price; new Auto-route prices for Kimi, GLM-5.3-Abliterated and
deepseek-flash-Abliterated (now 131,072 output tokens); Kimi's default
effort is low; adds GLM-5.3-Flash-Abliterated and deepseek-flash-fast;
the image model IDs are gpt-image-2.6-sunburst and gpt-image-2.6-flare.
TopxAI repriced its three abliterated private deployments on 2026-11-10
(USD per 1M input / output; cache read): GLM-5.3-Abliterated $3 / $6;
$0.45, GLM-5.3-Flash-Abliterated $0.36 / $1.50; $0.075,
deepseek-flash-Abliterated $0.42 / $1.50; $0.105. The same day Claude Fable
5.2 replaced Fable 5.1 with no forwarding alias, so the table lists
topxai/claude-fable-5-2 at the shared-pool price ($4 / $20) and
claude-fable-5-1 joins the retired IDs. Checked against
https://ai.topxea.com/api/pricing on 2026-11-10.
TopxAI merged its shared and official routes on 2026-11-18. Claude, GPT and
Grok are each sold on one route at 80% of the provider's list price in every
lane, long-context tiers included, so the table now lists those Auto-route
prices from https://api.topxai.xyz/api/pricing and the pinned-key paragraph
about the retired official lines is gone.
check-docs requires the badge on pages added since the base. The topxai/
provider is unreleased, so the badge names the next release, 1.112.0.
…eek-flash-Abliterated reprice

Prices and parameter notes from https://api.topxai.xyz/api/pricing and the
host guide (2026-11-19).

This branch was previously deployed

1 inactive (outdated) deployment
Preview — f8c8b8ab Deployed Oct 5, 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.

1 participant