diff --git a/frontend/src/i18n/locales/en.ts b/frontend/src/i18n/locales/en.ts index aabe29e4..745ba738 100644 --- a/frontend/src/i18n/locales/en.ts +++ b/frontend/src/i18n/locales/en.ts @@ -6677,6 +6677,17 @@ export default { a10Link: 'docs', a10Part2: '. Full model list available in the docs.', }, + modelPricing: { + kicker: '// model pricing', + title: 'Per-model pricing · transparent', + sub: 'Token-based billing with discount included. No monthly fees, no minimum. Prices shown per 1M tokens.', + groupCoding: 'Coding models', + groupPerformance: 'Premium models', + groupBudget: 'Budget-friendly', + inputLabel: 'Input', + outputLabel: 'Output', + unit: '/ 1M tokens', + }, finalCta: { kicker: '// ready to start', title: 'Get your first sk-puro-* key in 5 minutes', diff --git a/frontend/src/i18n/locales/zh.ts b/frontend/src/i18n/locales/zh.ts index b6f9a40c..4d8b2239 100644 --- a/frontend/src/i18n/locales/zh.ts +++ b/frontend/src/i18n/locales/zh.ts @@ -6867,6 +6867,17 @@ export default { a10Link: '文档', a10Part2: '。', }, + modelPricing: { + kicker: '// model pricing', + title: '按模型分级·透明定价', + sub: '按 token 计费,价格已含折扣。无月费、无最低消费。下方数字为每百万 tokens 单价。', + groupCoding: '编程模型', + groupPerformance: '高性能模型', + groupBudget: '低价好用模型', + inputLabel: 'Input', + outputLabel: 'Output', + unit: '/ 百万 tokens', + }, finalCta: { kicker: '// ready to start', title: '5 分钟,拿到你第一个 sk-puro-* key', diff --git a/frontend/src/views/pricing/PricingView.vue b/frontend/src/views/pricing/PricingView.vue index 09834730..98ee88a4 100644 --- a/frontend/src/views/pricing/PricingView.vue +++ b/frontend/src/views/pricing/PricingView.vue @@ -161,6 +161,44 @@ + +
+
+
{{ $t('pricing.modelPricing.kicker') }}
+

{{ $t('pricing.modelPricing.title') }}

+

{{ $t('pricing.modelPricing.sub') }}

+
+ +
+

{{ $t(group.titleKey) }}

+
+
+
+ {{ m.provider }} +

{{ m.name }}

+
+
+
+
{{ $t('pricing.modelPricing.inputLabel') }}
+
+ ${{ m.input }} + {{ m.discount }} +
+
+
+
{{ $t('pricing.modelPricing.outputLabel') }}
+
+ ${{ m.output }} + {{ m.discount }} +
+
+
+
{{ $t('pricing.modelPricing.unit') }}
+
+
+
+
+
@@ -351,6 +389,46 @@ const customBonus = computed(() => { return 21 }) const customCredit = computed(() => Math.round(customAmt.value * (1 + customBonus.value / 100))) + +const modelGroups = [ + { + key: 'coding', + titleKey: 'pricing.modelPricing.groupCoding', + models: [ + { name: 'GPT-5.3 Codex', provider: 'OpenAI', input: '0.179', output: '1.435', discount: '-90%' }, + { name: 'GPT-5.2 Codex', provider: 'OpenAI', input: '0.690', output: '5.520', discount: '-60.6%' }, + { name: 'Claude Opus 4.6', provider: 'Anthropic', input: '0.950', output: '4.750', discount: '-81%' }, + { name: 'Claude Opus 4.5', provider: 'Anthropic', input: '0.950', output: '4.750', discount: '-81%' }, + { name: 'Claude Sonnet 4.5', provider: 'Anthropic', input: '0.570', output: '2.850', discount: '-81%' }, + { name: 'Claude Haiku 4.5', provider: 'Anthropic', input: '0.190', output: '0.950', discount: '-24%' }, + { name: 'Grok Code Fast 1', provider: 'xAI', input: '0.147', output: '1.104', discount: '-26.5%' }, + { name: 'MiniMax m2.1', provider: 'MiniMax', input: '0.230', output: '0.954', discount: '-14.8%' } + ] + }, + { + key: 'performance', + titleKey: 'pricing.modelPricing.groupPerformance', + models: [ + { name: 'Claude Opus 4.6', provider: 'Anthropic', input: '3.680', output: '18.400', discount: '-26.4%' }, + { name: 'Claude Opus 4.5', provider: 'Anthropic', input: '3.680', output: '18.400', discount: '-26.4%' }, + { name: 'Claude Sonnet 4.5', provider: 'Anthropic', input: '2.668', output: '13.340', discount: '-11.1%' }, + { name: 'GPT-5.2', provider: 'OpenAI', input: '0.690', output: '5.520', discount: '-60.6%' }, + { name: 'Gemini 3 Pro', provider: 'Google', input: '0.460', output: '2.760', discount: '-63.2%' }, + { name: 'DeepSeek v3.2', provider: 'DeepSeek', input: '0.207', output: '0.311', discount: '-26.1%' }, + { name: 'Grok 4.1 Fast', provider: 'xAI', input: '0.156', output: '0.391', discount: '-22%' } + ] + }, + { + key: 'budget', + titleKey: 'pricing.modelPricing.groupBudget', + models: [ + { name: 'GPT-5-mini', provider: 'OpenAI', input: '0.069', output: '0.552', discount: '-72.4%' }, + { name: 'GPT-4o-mini', provider: 'OpenAI', input: '0.023', output: '0.092', discount: '-84.7%' }, + { name: 'Gemini 3 Flash', provider: 'Google', input: '0.083', output: '0.662', discount: '-83.4%' }, + { name: 'Xiaomi Mimo v2', provider: 'Xiaomi', input: '0.097', output: '0.290', discount: '-3%' } + ] + } +]