@blockrun/franklin 3.26.0 → 3.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pricing.js +3 -3
- package/dist/ui/model-picker.js +3 -10
- package/package.json +1 -1
package/dist/pricing.js
CHANGED
|
@@ -88,10 +88,10 @@ export const MODEL_PRICING = {
|
|
|
88
88
|
'moonshot/kimi-k2.5': { input: 0.6, output: 3.0 },
|
|
89
89
|
'nvidia/kimi-k2.5': { input: 0.55, output: 2.5 },
|
|
90
90
|
// PROMOTION (active ~2026-04): flat $0.001/call for all GLM models
|
|
91
|
-
'zai/glm-5': { input: 0, output:
|
|
91
|
+
'zai/glm-5': { input: 0.6, output: 1.92 }, // flat promo ended 2026-06-06 — per-token now
|
|
92
92
|
'zai/glm-5.1': { input: 1.40, output: 4.40 }, // launch promo ended 2026-06-05 — per-token now
|
|
93
|
-
'zai/glm-5-turbo': { input:
|
|
94
|
-
'zai/glm-5.1-turbo': { input:
|
|
93
|
+
'zai/glm-5-turbo': { input: 1.2, output: 4.0 }, // flat promo ended 2026-06-06 — per-token now
|
|
94
|
+
'zai/glm-5.1-turbo': { input: 1.2, output: 4.0 }, // client alias for zai/glm-5-turbo
|
|
95
95
|
};
|
|
96
96
|
/** Opus pricing for savings calculations — tracks the current flagship. */
|
|
97
97
|
export const OPUS_PRICING = MODEL_PRICING['anthropic/claude-opus-4.8'];
|
package/dist/ui/model-picker.js
CHANGED
|
@@ -126,16 +126,6 @@ export function resolveModel(input) {
|
|
|
126
126
|
* edit this one place.
|
|
127
127
|
*/
|
|
128
128
|
export const PICKER_CATEGORIES = [
|
|
129
|
-
{
|
|
130
|
-
// glm-5.1's launch promo ended 2026-06-05 (per-token $1.40/$4.40 now;
|
|
131
|
-
// shortcut `glm` still resolves to it). glm-5 / glm-5-turbo are permanent
|
|
132
|
-
// flat-rate SKUs (gateway billingMode: "flat"), not a promo.
|
|
133
|
-
category: '🔥 Flat rate ($0.001/call)',
|
|
134
|
-
models: [
|
|
135
|
-
{ id: 'zai/glm-5', shortcut: 'glm-5', label: 'GLM-5', price: '$0.001/call', highlight: true },
|
|
136
|
-
{ id: 'zai/glm-5-turbo', shortcut: 'glm-turbo', label: 'GLM-5 Turbo', price: '$0.001/call', highlight: true },
|
|
137
|
-
],
|
|
138
|
-
},
|
|
139
129
|
{
|
|
140
130
|
category: '🧠 Smart routing (auto-pick)',
|
|
141
131
|
models: [
|
|
@@ -188,6 +178,9 @@ export const PICKER_CATEGORIES = [
|
|
|
188
178
|
// Re-aliased to V4 Flash Chat upstream — context 1M, price 30% lower.
|
|
189
179
|
{ id: 'deepseek/deepseek-chat', shortcut: 'deepseek', label: 'DeepSeek V4 Flash Chat', price: '$0.2/$0.4' },
|
|
190
180
|
{ id: 'moonshot/kimi-k2.6', shortcut: 'kimi', label: 'Kimi K2.6', price: '$0.95/$4' },
|
|
181
|
+
// GLM flat-rate promos fully ended 2026-06-06 — whole family per-token
|
|
182
|
+
// now (glm-5 $0.60/$1.92; `glm` shortcut still pins flagship glm-5.1).
|
|
183
|
+
{ id: 'zai/glm-5', shortcut: 'glm-5', label: 'GLM-5', price: '$0.6/$1.92' },
|
|
191
184
|
// Minimax M2.7 hidden to make room for V4 Pro in Reasoning + V4 Flash
|
|
192
185
|
// (free) without exceeding the picker's 24-entry cap. Shortcut `minimax`
|
|
193
186
|
// still resolves to it.
|
package/package.json
CHANGED