Repository navigation
fix(providers): reclassify Cerebras as a one-time $5 signup credit - #12591
Merged
diegosouzapw merged 2 commits intoSep 4, 2026
Merged
diegosouzapw merged 2 commits into
diegosouzapw merged 2 commits into
Conversation
HouMinXi
force-pushed
the
feat/11773-cerebras-free-tier
branch
from
September 3, 2026 12:31
5d47ae7 to
573ec8e
Compare
Contributor
Author
|
Rebased onto Conflict was the free-tier count sentence (provider catalog rows vs recurring-pool budget). Resolution: keep this PR's budget numbers (1.48B / 37 pools / 52 free-forever) and take upstream's catalog row count (437). |
HouMinXi
force-pushed
the
feat/11773-cerebras-free-tier
branch
from
September 3, 2026 16:56
f3ed29f to
61b230c
Compare
Live cerebras.ai/pricing (2026-09-03) is a card-gated $5 signup credit with 30-day validity, not the old no-card 1M tokens/day trial. Keep hasFree true (LongCat-shaped) but drop the recurring monthly grant, hardStopGuaranteed, and LEGACY_FREE_PROVIDERS membership so auto zero-cost routing cannot treat a stored card as free. Closes cheaper-inference#11773 Signed-off-by: Minxi Hou <houminxi@gmail.com>
Catalog reclassification left DEFAULT_PRICING_INFERENCE.cerebras at $0/$0, so classifyTier still marked zai-glm-4.7 as the free routing tier. Fill in published developer-tier $/1M rates so auto zero-cost routing cannot treat a stored card as free.
HouMinXi
force-pushed
the
feat/11773-cerebras-free-tier
branch
from
September 3, 2026 16:59
61b230c to
57c694f
Compare
diegosouzapw
merged commit Sep 4, 2026
109cf0f
into
cheaper-inference:release/v3.8.51
15 of 16 checks passed
This was referenced Sep 4, 2026
muhamadgalihsaputra
pushed a commit
to niyatna/NiyatnaRoute
that referenced
this pull request
Sep 27, 2026
…heaper-inference#12591) Validado sobre o tip de release/v3.8.51 — e o PR ficou completo depois que o autor adicionou a tabela de preços. O que fazia o teste falhar antes não era a lista free (que o PR já tinha corrigido em `LEGACY_FREE_PROVIDERS` e `tierDefaults.json`), e sim que `classifyTier` cai no ramo cost-based e todos os modelos Cerebras estavam declarados com `input: 0, output: 0` — $0/M ≤ threshold devolve 'free' de qualquer jeito. A tabela de preços resolve isso na raiz. Confirmei o `gpt-oss-120b` a $0,35/$0,75 de forma independente contra a fonte pública, o que corrobora o resto da tabela. **4/4** no teste-guarda e **25/25** somando free-tier-catalog e free-models; typecheck:core limpo. Obrigado, @HouMinXi.
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 free
to 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.
Summary
Cerebras dropped the no-card 1M tokens/day trial. The live pricing page (cerebras.ai/pricing, 2026-09-03) is a one-time $5 signup credit: payment method required, 30-day validity.
The provider stays registered (
hasFree: true, same shape as LongCat). It is no longer a recurring free-tier budget, no longer inLEGACY_FREE_PROVIDERS(so auto zero-cost routing will not treat a stored card as free), and no longerhardStopGuaranteed.Closes #11773.
Catalog
recurring-daily+hardStopGuaranteed→one-time-initial,monthlyTokens: 0,creditTokens: 0. Cerebras publishes dollars, not a token grant, so the first-month headline does not invent a token number for that $5.FREE_TIER_BUDGETS.cerebras(30M/mo) removed.LEGACY_FREE_PROVIDERSno longer listscerebras.freeNote/ onboarding copy:$5card-gated credit, not1M tokens/day.computeFreeModelTotals()after this: ~1.48B steady / ~2.10B first month, 37 recurring pools, 5 hard-stop entries, 52 free-forever providers.FREE_TIER_BUDGETSis only summed bycomputeFreeTierTotals(and tests). It is not indexed bypoolKey. LeavingpoolKey: "cerebras"on the one-time rows is the same pattern as LongCat.Tests
tierResolver: 31 passed.check:docs-countsSTRICT matches live totals.cerebrasback inLEGACY_FREE_PROVIDERS→ redrecurring-daily+hardStopGuaranteedonzai-glm-4.7→ red1M tokens/dayfreeNote → redNot in this PR
es.jsononboarding notes are updated.creditTokensfor a dollar-denominated credit.