feat(usage): 订阅套餐计价修正 + 识图能力可编辑 + 单套餐用量显示修复

- 订阅套餐零价条目按官方付费模型计价(zhipuai-coding-plan/glm-5.2 → zhipuai/glm-5.2 牌价)
- -highspeed / -free 派生变体自动回退到基础模型价格;Kimi For Coding 无牌价时按旗舰 kimi-k3 估算
- 设置页:image_in 识图能力可手动编辑,原生多模态模型不再提示 kimi-eyes 插件
- 修复仅单个套餐档位时用量卡片不显示的问题
- kimi usages 响应异常时透出原始返回(仅用量数字),便于对照接口排查
- models.dev 价格快照同步
This commit is contained in:
KimiSwitch Dev committed 2026-08-02 17:17:06 +08:00
1 parent 2f75929fda
commit 69f9b8d603
8 files changed
+550 -52

No files matched your search

+225 -21
View File
@@ -1,5 +1,5 @@
{
"last_updated": "2026-08-01",
"last_updated": "2026-08-02",
"providers": {
"zhipuai": {
"id": "zhipuai",
@@ -766,6 +766,20 @@
"tool_call": true,
"structured_output": true
},
{
"id": "accounts/fireworks/models/deepseek-v4-flash-0731",
"name": "DeepSeek V4 Flash 0731",
"cost": {
"input": 0.14,
"output": 0.28,
"cache_read": 0.028
},
"context": 1000000,
"output_limit": 384000,
"reasoning": true,
"tool_call": true,
"structured_output": true
},
{
"id": "accounts/fireworks/models/kimi-k2p7-code",
"name": "Kimi K2.7 Code",
@@ -1630,6 +1644,23 @@
"image": true,
"video": true
},
{
"id": "gemini/gemini-3.5-flash-lite",
"name": "Gemini 3.5 Flash Lite",
"cost": {
"input": 0.3,
"output": 2.5,
"cache_read": 0.03,
"cache_write": 0.3
},
"context": 1048576,
"output_limit": 65536,
"reasoning": true,
"tool_call": true,
"structured_output": true,
"image": true,
"video": true
},
{
"id": "gemini/gemini-3-flash-preview",
"name": "Gemini 3 Flash Preview",
@@ -4720,6 +4751,21 @@
"tool_call": true,
"structured_output": true
},
{
"id": "thinkingmachines/inkling-small",
"name": "Inkling Small",
"cost": {
"input": 0.5,
"output": 1.2,
"cache_read": 0.1
},
"context": 1048576,
"output_limit": 32768,
"reasoning": true,
"tool_call": true,
"structured_output": true,
"image": true
},
{
"id": "thinkingmachines/inkling",
"name": "Inkling",
@@ -4816,6 +4862,20 @@
"reasoning": true,
"tool_call": true
},
{
"id": "deepseek-ai/DeepSeek-V4-Flash-0731",
"name": "DeepSeek V4 Flash 0731",
"cost": {
"input": 0.13,
"output": 0.26,
"cache_read": 0.028
},
"context": 1048576,
"output_limit": 1048576,
"reasoning": true,
"tool_call": true,
"structured_output": true
},
{
"id": "deepseek-ai/DeepSeek-V3.1",
"name": "DeepSeek V3.1",
@@ -7573,7 +7633,7 @@
"tool_call": true
},
{
"id": "glm-5.2-highspeed[1m]",
"id": "glm-5.2-highspeed",
"name": "GLM-5.2 Highspeed",
"cost": {
"input": 0,
@@ -46613,7 +46673,7 @@
"structured_output": true
},
{
"id": "glm-5.2-highspeed[1m]",
"id": "glm-5.2-highspeed",
"name": "GLM-5.2 Highspeed",
"cost": {
"input": 0,
@@ -56446,6 +56506,133 @@
}
]
},
"modelis": {
"id": "modelis",
"name": "Modelis",
"models": [
{
"id": "claude-sonnet-4-6",
"name": "Claude Sonnet 4.6",
"cost": {
"input": 3,
"output": 15
},
"context": 1000000,
"output_limit": 64000,
"reasoning": true,
"tool_call": true,
"image": true
},
{
"id": "gemini-2.5-flash",
"name": "Gemini 2.5 Flash",
"cost": {
"input": 0.3,
"output": 2.5
},
"context": 1048576,
"output_limit": 65536,
"reasoning": true,
"tool_call": true,
"structured_output": true,
"image": true,
"video": true
},
{
"id": "claude-fable-5",
"name": "Claude Fable 5",
"cost": {
"input": 10,
"output": 50
},
"context": 1000000,
"output_limit": 128000,
"reasoning": true,
"tool_call": true,
"image": true
},
{
"id": "deepseek-v4-flash",
"name": "DeepSeek V4 Flash",
"cost": {
"input": 0.0983,
"output": 0.1966
},
"context": 1000000,
"output_limit": 384000,
"reasoning": true,
"tool_call": true,
"structured_output": true
},
{
"id": "claude-opus-4-8",
"name": "Claude Opus 4.8",
"cost": {
"input": 5,
"output": 25
},
"context": 1000000,
"output_limit": 128000,
"reasoning": true,
"tool_call": true,
"image": true
},
{
"id": "deepseek-v4-pro",
"name": "DeepSeek V4 Pro",
"cost": {
"input": 0.435,
"output": 0.87
},
"context": 1000000,
"output_limit": 384000,
"reasoning": true,
"tool_call": true,
"structured_output": true
},
{
"id": "gemini-2.5-pro",
"name": "Gemini 2.5 Pro",
"cost": {
"input": 1.25,
"output": 10
},
"context": 1048576,
"output_limit": 65536,
"reasoning": true,
"tool_call": true,
"structured_output": true,
"image": true,
"video": true
},
{
"id": "qwen/qwen3.7-plus",
"name": "Qwen3.7 Plus",
"cost": {
"input": 0.768,
"output": 3.072
},
"context": 1000000,
"output_limit": 64000,
"reasoning": true,
"tool_call": true,
"image": true,
"video": true
},
{
"id": "qwen/qwen3.7-max",
"name": "Qwen3.7 Max",
"cost": {
"input": 3,
"output": 9
},
"context": 1000000,
"output_limit": 65536,
"reasoning": true,
"tool_call": true
}
]
},
"subconscious": {
"id": "subconscious",
"name": "Subconscious",
@@ -64671,13 +64858,14 @@
"id": "thinkingmachines/inkling-small",
"name": "Inkling Small",
"cost": {
"input": 0.58,
"output": 1.44,
"cache_read": 0.116
"input": 0.5,
"output": 1.2,
"cache_read": 0.1
},
"context": 524288,
"output_limit": 262144,
"reasoning": true,
"tool_call": true,
"image": true
},
{
@@ -64715,6 +64903,20 @@
"output_limit": 128000,
"tool_call": true
},
{
"id": "~deepseek/deepseek-v4-flash-latest",
"name": "DeepSeek V4 Flash Latest",
"cost": {
"input": 0.09,
"output": 0.18,
"cache_read": 0.018
},
"context": 1048576,
"output_limit": 65536,
"reasoning": true,
"tool_call": true,
"structured_output": true
},
{
"id": "perceptron/perceptron-mk1",
"name": "Perceptron Mk1",
@@ -64896,10 +65098,10 @@
"name": "Qwen3-Coder 30B-A3B Instruct",
"cost": {
"input": 0.07,
"output": 0.27
"output": 0.28
},
"context": 262144,
"output_limit": 32768,
"output_limit": 262144,
"tool_call": true,
"structured_output": true
},
@@ -66316,14 +66518,15 @@
"id": "deepseek/deepseek-v4-flash-0731",
"name": "DeepSeek V4 Flash 0731",
"cost": {
"input": 0.14,
"output": 0.28,
"cache_read": 0.0028
"input": 0.09,
"output": 0.18,
"cache_read": 0.018
},
"context": 1048576,
"output_limit": 384000,
"output_limit": 65536,
"reasoning": true,
"tool_call": true
"tool_call": true,
"structured_output": true
},
{
"id": "deepseek/deepseek-v3.2",
@@ -67178,12 +67381,12 @@
"id": "z-ai/glm-5.2",
"name": "GLM-5.2",
"cost": {
"input": 1.12,
"output": 3.52,
"cache_read": 0.208
"input": 0.4186,
"output": 1.3156,
"cache_read": 0.07774
},
"context": 1048576,
"output_limit": 128000,
"output_limit": 131072,
"reasoning": true,
"tool_call": true,
"structured_output": true
@@ -67348,9 +67551,9 @@
"id": "moonshotai/kimi-k2.6",
"name": "Kimi K2.6",
"cost": {
"input": 0.589,
"output": 2.48,
"cache_read": 0.0992
"input": 0.6,
"output": 3.41,
"cache_read": 0.2
},
"context": 262144,
"output_limit": 262144,
@@ -67605,7 +67808,8 @@
"name": "GPT OSS 20B",
"cost": {
"input": 0.03,
"output": 0.14
"output": 0.13,
"cache_read": 0.03
},
"context": 131072,
"output_limit": 131072,
+187 -17
View File
@@ -1,5 +1,5 @@
{
"last_updated": "2026-08-01",
"last_updated": "2026-08-02",
"zhipuai/glm-5": {
"name": "GLM-5",
"context": 204800,
@@ -600,6 +600,18 @@
"cache_read": 0.145
}
},
"fireworks-ai/accounts/fireworks/models/deepseek-v4-flash-0731": {
"name": "DeepSeek V4 Flash 0731",
"context": 1000000,
"reasoning": true,
"tool_call": true,
"structured_output": true,
"cost": {
"input": 0.14,
"output": 0.28,
"cache_read": 0.028
}
},
"fireworks-ai/accounts/fireworks/models/kimi-k2p7-code": {
"name": "Kimi K2.7 Code",
"context": 262000,
@@ -1320,6 +1332,21 @@
"cache_write": 0.3
}
},
"crossmodel/gemini/gemini-3.5-flash-lite": {
"name": "Gemini 3.5 Flash Lite",
"context": 1048576,
"reasoning": true,
"tool_call": true,
"structured_output": true,
"image": true,
"video": true,
"cost": {
"input": 0.3,
"output": 2.5,
"cache_read": 0.03,
"cache_write": 0.3
}
},
"crossmodel/gemini/gemini-3-flash-preview": {
"name": "Gemini 3 Flash Preview",
"context": 1048576,
@@ -3884,6 +3911,19 @@
"cache_read": 0.12
}
},
"baseten/thinkingmachines/inkling-small": {
"name": "Inkling Small",
"context": 1048576,
"reasoning": true,
"tool_call": true,
"structured_output": true,
"image": true,
"cost": {
"input": 0.5,
"output": 1.2,
"cache_read": 0.1
}
},
"baseten/thinkingmachines/inkling": {
"name": "Inkling",
"context": 1048576,
@@ -3966,6 +4006,18 @@
"output": 1.2
}
},
"baseten/deepseek-ai/DeepSeek-V4-Flash-0731": {
"name": "DeepSeek V4 Flash 0731",
"context": 1048576,
"reasoning": true,
"tool_call": true,
"structured_output": true,
"cost": {
"input": 0.13,
"output": 0.26,
"cache_read": 0.028
}
},
"baseten/deepseek-ai/DeepSeek-V3.1": {
"name": "DeepSeek V3.1",
"context": 164000,
@@ -6220,7 +6272,7 @@
"cache_write": 0
}
},
"zhipuai-coding-plan/glm-5.2-highspeed[1m]": {
"zhipuai-coding-plan/glm-5.2-highspeed": {
"name": "GLM-5.2 Highspeed",
"context": 1000000,
"reasoning": true,
@@ -38091,7 +38143,7 @@
"cache_write": 0
}
},
"zai-coding-plan/glm-5.2-highspeed[1m]": {
"zai-coding-plan/glm-5.2-highspeed": {
"name": "GLM-5.2 Highspeed",
"context": 1000000,
"reasoning": true,
@@ -46335,6 +46387,109 @@
"output": 2.92
}
},
"modelis/claude-sonnet-4-6": {
"name": "Claude Sonnet 4.6",
"context": 1000000,
"reasoning": true,
"tool_call": true,
"image": true,
"cost": {
"input": 3,
"output": 15
}
},
"modelis/gemini-2.5-flash": {
"name": "Gemini 2.5 Flash",
"context": 1048576,
"reasoning": true,
"tool_call": true,
"structured_output": true,
"image": true,
"video": true,
"cost": {
"input": 0.3,
"output": 2.5
}
},
"modelis/claude-fable-5": {
"name": "Claude Fable 5",
"context": 1000000,
"reasoning": true,
"tool_call": true,
"image": true,
"cost": {
"input": 10,
"output": 50
}
},
"modelis/deepseek-v4-flash": {
"name": "DeepSeek V4 Flash",
"context": 1000000,
"reasoning": true,
"tool_call": true,
"structured_output": true,
"cost": {
"input": 0.0983,
"output": 0.1966
}
},
"modelis/claude-opus-4-8": {
"name": "Claude Opus 4.8",
"context": 1000000,
"reasoning": true,
"tool_call": true,
"image": true,
"cost": {
"input": 5,
"output": 25
}
},
"modelis/deepseek-v4-pro": {
"name": "DeepSeek V4 Pro",
"context": 1000000,
"reasoning": true,
"tool_call": true,
"structured_output": true,
"cost": {
"input": 0.435,
"output": 0.87
}
},
"modelis/gemini-2.5-pro": {
"name": "Gemini 2.5 Pro",
"context": 1048576,
"reasoning": true,
"tool_call": true,
"structured_output": true,
"image": true,
"video": true,
"cost": {
"input": 1.25,
"output": 10
}
},
"modelis/qwen/qwen3.7-plus": {
"name": "Qwen3.7 Plus",
"context": 1000000,
"reasoning": true,
"tool_call": true,
"image": true,
"video": true,
"cost": {
"input": 0.768,
"output": 3.072
}
},
"modelis/qwen/qwen3.7-max": {
"name": "Qwen3.7 Max",
"context": 1000000,
"reasoning": true,
"tool_call": true,
"cost": {
"input": 3,
"output": 9
}
},
"subconscious/subconscious/glm-5.2": {
"name": "GLM-5.2",
"context": 1000000,
@@ -53164,11 +53319,12 @@
"name": "Inkling Small",
"context": 524288,
"reasoning": true,
"tool_call": true,
"image": true,
"cost": {
"input": 0.58,
"output": 1.44,
"cache_read": 0.116
"input": 0.5,
"output": 1.2,
"cache_read": 0.1
}
},
"openrouter/thinkingmachines/inkling": {
@@ -53200,6 +53356,18 @@
"output": 3
}
},
"openrouter/~deepseek/deepseek-v4-flash-latest": {
"name": "DeepSeek V4 Flash Latest",
"context": 1048576,
"reasoning": true,
"tool_call": true,
"structured_output": true,
"cost": {
"input": 0.09,
"output": 0.18,
"cache_read": 0.018
}
},
"openrouter/perceptron/perceptron-mk1": {
"name": "Perceptron Mk1",
"context": 32768,
@@ -53359,7 +53527,7 @@
"structured_output": true,
"cost": {
"input": 0.07,
"output": 0.27
"output": 0.28
}
},
"openrouter/qwen/qwen3.5-plus-02-15": {
@@ -54560,10 +54728,11 @@
"context": 1048576,
"reasoning": true,
"tool_call": true,
"structured_output": true,
"cost": {
"input": 0.14,
"output": 0.28,
"cache_read": 0.0028
"input": 0.09,
"output": 0.18,
"cache_read": 0.018
}
},
"openrouter/deepseek/deepseek-v3.2": {
@@ -55297,9 +55466,9 @@
"tool_call": true,
"structured_output": true,
"cost": {
"input": 1.12,
"output": 3.52,
"cache_read": 0.208
"input": 0.4186,
"output": 1.3156,
"cache_read": 0.07774
}
},
"openrouter/z-ai/glm-4.6": {
@@ -55442,9 +55611,9 @@
"structured_output": true,
"image": true,
"cost": {
"input": 0.589,
"output": 2.48,
"cache_read": 0.0992
"input": 0.6,
"output": 3.41,
"cache_read": 0.2
}
},
"openrouter/moonshotai/kimi-k2.7-code": {
@@ -55657,7 +55826,8 @@
"structured_output": true,
"cost": {
"input": 0.03,
"output": 0.14
"output": 0.13,
"cache_read": 0.03
}
},
"openrouter/openai/gpt-oss-safeguard-20b": {