fix(cliproxy): add kimi-k2 pricing and kimi catalog tests

Address review feedback from PR #585:
- Add missing kimi-k2 pricing entry ($0.60/$2.50, cache $0.15)
  to avoid fallback to unknown model pricing
- Add kimi provider tests to model-catalog.test.js verifying
  catalog structure, default model, and model IDs
This commit is contained in:
Tam Nhu Tran committed 2026-02-19 10:36:42 +07:00
1 parent 3767b95735
commit dd38df6b8d
2 files changed
+33

No files matched your search

+6
View File
@@ -489,6 +489,12 @@ const PRICING_REGISTRY: Record<string, ModelPricing> = {
cacheCreationPerMillion: 0.0,
cacheReadPerMillion: 0.15,
},
'kimi-k2': {
inputPerMillion: 0.6,
outputPerMillion: 2.5,
cacheCreationPerMillion: 0.0,
cacheReadPerMillion: 0.15,
},
'kimi-k2-instruct': {
inputPerMillion: 1.0,
outputPerMillion: 3.0,