Skip to content

Commit acc3f2e

Browse files
committed
update fireworks to use kimi k2.5
1 parent 6fe8b23 commit acc3f2e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

web/src/llm-api/fireworks.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const FIREWORKS_MODEL_MAP: Record<string, string> = {
3131
'minimax/minimax-m2.5': 'accounts/fireworks/models/minimax-m2p5',
3232
'minimax/minimax-m2.7': 'accounts/fireworks/models/minimax-m2p7',
3333
'z-ai/glm-5.1': 'accounts/fireworks/models/glm-5p1',
34+
'moonshotai/kimi-k2.5': 'accounts/fireworks/models/kimi-k2p5',
3435
}
3536

3637
/** Flag to enable custom Fireworks deployments (set to false to use global API only) */
@@ -163,6 +164,11 @@ const FIREWORKS_PRICING_MAP: Record<string, FireworksPricing> = {
163164
cachedInputCostPerToken: 0.26 / 1_000_000,
164165
outputCostPerToken: 4.40 / 1_000_000,
165166
},
167+
'moonshotai/kimi-k2.5': {
168+
inputCostPerToken: 0.60 / 1_000_000,
169+
cachedInputCostPerToken: 0.10 / 1_000_000,
170+
outputCostPerToken: 3.00 / 1_000_000,
171+
},
166172
}
167173

168174
function getFireworksPricing(model: string): FireworksPricing {

0 commit comments

Comments
 (0)