diff --git a/apps/code/src/app/pricing/page.tsx b/apps/code/src/app/pricing/page.tsx index 358f17e549..57fd67ce6e 100644 --- a/apps/code/src/app/pricing/page.tsx +++ b/apps/code/src/app/pricing/page.tsx @@ -15,10 +15,10 @@ import { CodeCTATracker } from "@/components/LandingTracker"; import { PricingPlans } from "@/components/PricingPlans"; import { Button } from "@/components/ui/button"; import { getConfig } from "@/lib/config-server"; -import { formatUsageRatio, formatUsd } from "@/lib/utils"; +import { formatUsageRatio } from "@/lib/utils"; import { - DEV_PLAN_PREMIUM_WEEKLY_LIMITS, + DEV_PLAN_PREMIUM_WEEKLY_PERCENT, DEV_PLAN_PRICES, getDevPlanCreditsLimit, } from "@llmgateway/shared"; @@ -137,9 +137,9 @@ const usageRows: UsageRow[] = [ }, { label: "Frontier flagship fair-use (Opus, GPT Pro, Gemini Pro, Grok)", - lite: `${formatUsd(DEV_PLAN_PREMIUM_WEEKLY_LIMITS.lite)}/wk`, - pro: `${formatUsd(DEV_PLAN_PREMIUM_WEEKLY_LIMITS.pro)}/wk`, - max: `${formatUsd(DEV_PLAN_PREMIUM_WEEKLY_LIMITS.max)}/wk`, + lite: `${Math.round(DEV_PLAN_PREMIUM_WEEKLY_PERCENT.lite * 100)}% of credits`, + pro: `${Math.round(DEV_PLAN_PREMIUM_WEEKLY_PERCENT.pro * 100)}% of credits`, + max: `${Math.round(DEV_PLAN_PREMIUM_WEEKLY_PERCENT.max * 100)}% of credits`, }, { label: "Priority routing on flagship models", diff --git a/apps/code/src/components/Faq.tsx b/apps/code/src/components/Faq.tsx index 774a2f7e13..092db0a39d 100644 --- a/apps/code/src/components/Faq.tsx +++ b/apps/code/src/components/Faq.tsx @@ -90,7 +90,7 @@ const faqData: FaqItem[] = [ { question: "Are there limits on premium models?", answer: - "Premium frontier models — Anthropic Opus, OpenAI Pro/reasoning, Gemini Pro, and Grok 4 — are subject to a weekly fair-use allowance in addition to your monthly allowance: $10/week on Lite, $50/week on Pro, and $140/week on Max. Every other model draws on your full monthly allowance. The exact numbers are published on the plan cards — no hidden throttling.", + "Premium frontier models — Anthropic Opus, OpenAI Pro/reasoning, Gemini Pro, and Grok 4 — are subject to a weekly fair-use allowance in addition to your monthly allowance: 12% of your monthly credits on Lite, 15% on Pro, and 18% on Max. Every other model draws on your full monthly allowance. The exact numbers are published on the plan cards — no hidden throttling.", content: ( <>

@@ -100,13 +100,13 @@ const faqData: FaqItem[] = [

diff --git a/apps/code/src/components/PricingPlans.tsx b/apps/code/src/components/PricingPlans.tsx index a7c666a8e7..cdd55381f0 100644 --- a/apps/code/src/components/PricingPlans.tsx +++ b/apps/code/src/components/PricingPlans.tsx @@ -10,7 +10,7 @@ import { Button } from "@/components/ui/button"; import { formatUsageRatio } from "@/lib/utils"; import { - DEV_PLAN_PREMIUM_WEEKLY_LIMITS, + DEV_PLAN_PREMIUM_WEEKLY_PERCENT, DEV_PLAN_PRICES, MARKETING_STATS, type DevPlanTier, @@ -48,7 +48,7 @@ const plans: PlanContent[] = [ features: [ "Everything in Lite", "Headroom for a full agent session every day", - "5× the frontier fair-use of Lite", + "More frontier fair-use headroom than Lite", "Priority routing on flagship models", ], }, @@ -159,7 +159,10 @@ export function PricingPlans({ credits, paygoUrl }: PricingPlansProps) { Frontier fair-use

- ${DEV_PLAN_PREMIUM_WEEKLY_LIMITS[plan.tier]} / week + {Math.round( + DEV_PLAN_PREMIUM_WEEKLY_PERCENT[plan.tier] * 100, + )} + % of credits
diff --git a/apps/docs/content/learn/model-categories.mdx b/apps/docs/content/learn/model-categories.mdx index a5fb7c2ba7..8e46a3060f 100644 --- a/apps/docs/content/learn/model-categories.mdx +++ b/apps/docs/content/learn/model-categories.mdx @@ -32,13 +32,13 @@ You can browse the full catalog on the [**Supported Models**](https://llmgateway limited only by your credit balance, with no weekly cap. -Premium models are the most expensive to run, so DevPass plans apply a **weekly fair-use cap** on premium usage. This is a rolling 7-day window that resets continuously — it sits on top of the plan's normal monthly credit allowance. +Premium models are the most expensive to run, so DevPass plans apply a **weekly fair-use cap** on premium usage. This is a rolling 7-day window that resets continuously — it sits on top of the plan's normal monthly credit allowance. The cap scales with each plan: it's a share of that plan's total monthly credits, so higher tiers get a larger weekly premium allowance. -| DevPass plan | Premium fair-use cap | -| ------------ | -------------------- | -| **Lite** | 10 credits / week | -| **Pro** | 50 credits / week | -| **Max** | 140 credits / week | +| DevPass plan | Premium fair-use cap (per week) | +| ------------ | ------------------------------- | +| **Lite** | 12% of monthly credits | +| **Pro** | 15% of monthly credits | +| **Max** | 18% of monthly credits | Within DevPass, the weekly cap applies only to **premium** models. Standard diff --git a/apps/ui/src/content/changelog/2026-06-10-chat-plans-service-tiers-product-roundup.md b/apps/ui/src/content/changelog/2026-06-10-chat-plans-service-tiers-product-roundup.md index 792b41063d..82be8345e1 100644 --- a/apps/ui/src/content/changelog/2026-06-10-chat-plans-service-tiers-product-roundup.md +++ b/apps/ui/src/content/changelog/2026-06-10-chat-plans-service-tiers-product-roundup.md @@ -49,7 +49,7 @@ Building on the [embeddable wallets SDK](https://llmgateway.io/blog/embeddable-a ## Model Categories & Fair-Use Caps -Every model is now categorized as **Premium** or **Standard**, powering dashboard filters and analytics. For **DevPass** coding plans, premium models get a rolling weekly fair-use cap (10/50/140 credits for Lite/Pro/Max) so flagship capacity stays available for everyone — the API and pay-as-you-go credits are unaffected. +Every model is now categorized as **Premium** or **Standard**, powering dashboard filters and analytics. For **DevPass** coding plans, premium models get a rolling weekly fair-use cap (12%/15%/18% of monthly credits for Lite/Pro/Max) so flagship capacity stays available for everyone — the API and pay-as-you-go credits are unaffected. [How categories and caps work →](https://docs.llmgateway.io/learn/model-categories) diff --git a/packages/shared/src/dev-plans.ts b/packages/shared/src/dev-plans.ts index d131a85a38..7a3dd9e59f 100644 --- a/packages/shared/src/dev-plans.ts +++ b/packages/shared/src/dev-plans.ts @@ -17,18 +17,20 @@ export function getDevPlanCreditsLimit(tier: DevPlanTier): number { } /** - * Weekly fair-use allowance for premium-category models per tier. - * Premium models (frontier flagships) are subject to this weekly cap in - * addition to the monthly credit allowance. + * Weekly fair-use allowance for premium-category models per tier, expressed as + * a fraction of the tier's total monthly credit allowance. Premium models + * (frontier flagships) are subject to this weekly cap in addition to the + * monthly credit allowance. Deriving from the monthly limit keeps the ratio + * exact regardless of DEV_PLAN_CREDITS_MULTIPLIER. */ -export const DEV_PLAN_PREMIUM_WEEKLY_LIMITS: Record = { - lite: 10, - pro: 50, - max: 140, +export const DEV_PLAN_PREMIUM_WEEKLY_PERCENT: Record = { + lite: 0.12, + pro: 0.15, + max: 0.18, }; export function getDevPlanPremiumWeeklyLimit(tier: DevPlanTier): number { - return DEV_PLAN_PREMIUM_WEEKLY_LIMITS[tier]; + return getDevPlanCreditsLimit(tier) * DEV_PLAN_PREMIUM_WEEKLY_PERCENT[tier]; } export const DEV_PLAN_PREMIUM_WEEK_LENGTH_MS = 7 * 24 * 60 * 60 * 1000; diff --git a/packages/shared/src/index.ts b/packages/shared/src/index.ts index a2793bf34d..0bc9784fec 100644 --- a/packages/shared/src/index.ts +++ b/packages/shared/src/index.ts @@ -23,7 +23,7 @@ export { export { DEV_PLAN_PREMIUM_WEEK_LENGTH_MS, - DEV_PLAN_PREMIUM_WEEKLY_LIMITS, + DEV_PLAN_PREMIUM_WEEKLY_PERCENT, DEV_PLAN_PRICES, type DevPlanCycle, type DevPlanTier,