kimi: add low,high to k3 and remove k2p7 references

This commit is contained in:
David Brailovsky
2026-07-20 09:00:15 +00:00
parent 85f89db9bc
commit 8b93737078
16 changed files with 24 additions and 26 deletions
+2 -3
View File
@@ -245,9 +245,9 @@ const DEEPSEEK_V4_THINKING_LEVEL_MAP = {
const KIMI_K3_THINKING_LEVEL_MAP = {
off: null,
minimal: null,
low: null,
low: "low",
medium: null,
high: null,
high: "high",
xhigh: null,
max: "max",
} as const;
@@ -261,7 +261,6 @@ const KIMI_K3_COST = {
// Kimi Coding is subscription-backed, so models.dev reports zero cost. Use the
// equivalent Moonshot API rates to estimate the value of subscription usage.
const KIMI_CODING_IMPLIED_COSTS: Record<string, Model<Api>["cost"]> = {
k2p7: { input: 0.95, output: 4, cacheRead: 0.19, cacheWrite: 0 },
k3: KIMI_K3_COST,
"kimi-for-coding": { input: 0.95, output: 4, cacheRead: 0.19, cacheWrite: 0 },
"kimi-for-coding-highspeed": { input: 1.9, output: 8, cacheRead: 0.38, cacheWrite: 0 },