feat(usage): v0.7.6 — OpenCode Go 套餐用量查询(5h/7天/30天三窗口)+ 插件市场入口暂时隐藏(功能保留)
Release / Version consistency (push) Canceled after 0s
Release / Build (macos-latest) (push) Canceled after 0s
Release / Build (ubuntu-latest) (push) Canceled after 0s
Release / Build (windows-latest) (push) Canceled after 0s
Release / Attach macOS install script (push) Canceled after 0s

This commit is contained in:
KimiSwitch Dev committed 2026-08-18 19:09:54 +08:00
1 parent 9a3875d990
commit 6b761251bc
24 files changed
+3353 -77

No files matched your search

+46 -18
View File
@@ -13005,6 +13005,21 @@
"input_limit": 16384,
"output_limit": 8192
},
{
"id": "zai-org/glm-5.3:thinking",
"name": "GLM 5.3 Preview Thinking",
"cost": {
"input": 1.4,
"output": 4.4,
"cache_read": 0.26
},
"context": 1048576,
"input_limit": 1048576,
"output_limit": 131072,
"reasoning": true,
"tool_call": true,
"structured_output": true
},
{
"id": "zai-org/glm-5-original:thinking",
"name": "GLM 5 Original Thinking",
@@ -13206,6 +13221,21 @@
"tool_call": true,
"structured_output": true
},
{
"id": "zai-org/glm-5.3",
"name": "GLM 5.3 Preview",
"cost": {
"input": 1.4,
"output": 4.4,
"cache_read": 0.26
},
"context": 1048576,
"input_limit": 1048576,
"output_limit": 131072,
"reasoning": true,
"tool_call": true,
"structured_output": true
},
{
"id": "zai-org/glm-4.7-flash-original:thinking",
"name": "GLM 4.7 Flash Original Thinking",
@@ -24348,9 +24378,8 @@
"id": "qwen/qwen-plus-2025-07-28:thinking",
"name": "Qwen Plus 0728 (thinking)",
"cost": {
"input": 0.4,
"output": 1.2,
"cache_write": 0.5
"input": 0.26,
"output": 0.78
},
"context": 1000000,
"output_limit": 32768,
@@ -56152,10 +56181,10 @@
"id": "gemini-3.1-flash-lite@eu",
"name": "Gemini 3.1 Flash Lite (EU)",
"cost": {
"input": 0.25,
"output": 1.5,
"cache_read": 0.025,
"cache_write": 0.08333
"input": 0.275,
"output": 1.65,
"cache_read": 0.0275,
"cache_write": 0.091663
},
"context": 1048576,
"output_limit": 65535,
@@ -56357,10 +56386,10 @@
"id": "gemini-3.5-flash@eu",
"name": "Gemini 3.5 Flash (EU)",
"cost": {
"input": 1.5,
"output": 9,
"cache_read": 0.15,
"cache_write": 1.583
"input": 1.65,
"output": 9.9,
"cache_read": 0.165,
"cache_write": 1.7413
},
"context": 1048576,
"output_limit": 65535,
@@ -56409,7 +56438,7 @@
"input": 5.5,
"output": 27.5,
"cache_read": 0.55,
"cache_write": 6.88
"cache_write": 6.875
},
"context": 1000000,
"output_limit": 128000,
@@ -56590,9 +56619,9 @@
"id": "gemini-3.7-flash@eu",
"name": "Gemini 3.7 Flash (EU)",
"cost": {
"input": 0.75,
"output": 3.75,
"cache_read": 0.075
"input": 0.825,
"output": 4.125,
"cache_read": 0.0825
},
"context": 1048576,
"output_limit": 65535,
@@ -81769,9 +81798,8 @@
"id": "qwen/qwen-plus-2025-07-28:thinking",
"name": "Qwen: Qwen Plus 0728 (thinking)",
"cost": {
"input": 0.4,
"output": 1.2,
"cache_write": 0.5
"input": 0.26,
"output": 0.78
},
"context": 1000000,
"output_limit": 32768,
+40 -18
View File
@@ -10428,6 +10428,18 @@
"cache_read": 0.2465
}
},
"nano-gpt/zai-org/glm-5.3:thinking": {
"name": "GLM 5.3 Preview Thinking",
"context": 1048576,
"reasoning": true,
"tool_call": true,
"structured_output": true,
"cost": {
"input": 1.4,
"output": 4.4,
"cache_read": 0.26
}
},
"nano-gpt/zai-org/glm-5-original:thinking": {
"name": "GLM 5 Original Thinking",
"context": 200000,
@@ -10587,6 +10599,18 @@
"cache_read": 0.078
}
},
"nano-gpt/zai-org/glm-5.3": {
"name": "GLM 5.3 Preview",
"context": 1048576,
"reasoning": true,
"tool_call": true,
"structured_output": true,
"cost": {
"input": 1.4,
"output": 4.4,
"cache_read": 0.26
}
},
"nano-gpt/zai-org/glm-4.7-flash-original:thinking": {
"name": "GLM 4.7 Flash Original Thinking",
"context": 200000,
@@ -19817,9 +19841,8 @@
"tool_call": true,
"structured_output": true,
"cost": {
"input": 0.4,
"output": 1.2,
"cache_write": 0.5
"input": 0.26,
"output": 0.78
}
},
"openrouter/qwen/qwen3-235b-a22b-thinking-2507": {
@@ -46199,10 +46222,10 @@
"image": true,
"video": true,
"cost": {
"input": 0.25,
"output": 1.5,
"cache_read": 0.025,
"cache_write": 0.08333
"input": 0.275,
"output": 1.65,
"cache_read": 0.0275,
"cache_write": 0.091663
}
},
"requesty/gpt-5@eu": {
@@ -46375,10 +46398,10 @@
"image": true,
"video": true,
"cost": {
"input": 1.5,
"output": 9,
"cache_read": 0.15,
"cache_write": 1.583
"input": 1.65,
"output": 9.9,
"cache_read": 0.165,
"cache_write": 1.7413
}
},
"requesty/claude-sonnet-5@eu": {
@@ -46420,7 +46443,7 @@
"input": 5.5,
"output": 27.5,
"cache_read": 0.55,
"cache_write": 6.88
"cache_write": 6.875
}
},
"requesty/claude-opus-4-7@eu": {
@@ -46578,9 +46601,9 @@
"image": true,
"video": true,
"cost": {
"input": 0.75,
"output": 3.75,
"cache_read": 0.075
"input": 0.825,
"output": 4.125,
"cache_read": 0.0825
}
},
"requesty/gpt-5.4@eu": {
@@ -67604,9 +67627,8 @@
"tool_call": true,
"structured_output": true,
"cost": {
"input": 0.4,
"output": 1.2,
"cache_write": 0.5
"input": 0.26,
"output": 0.78
}
},
"kilo/qwen/qwen3-235b-a22b-thinking-2507": {
+5 -3
View File
@@ -11,9 +11,9 @@ type TranslateFn = (
*
* Coverage note: ALL plan-type (套餐) queries flow through
* src-tauri/src/services/coding_plan.rs::percent_tier, whose names come only
* from TIER_FIVE_HOUR / TIER_WEEKLY_LIMIT — so this mapping covers every
* current and future plan provider automatically. If a new tier id is ever
* added there, add a case here too.
* from TIER_FIVE_HOUR / TIER_WEEKLY_LIMIT / TIER_MONTHLY_LIMIT — so this
* mapping covers every current and future plan provider automatically. If a
* new tier id is ever added there, add a case here too.
*/
export function planLabel(name: string, t: TranslateFn): string {
switch (name) {
@@ -21,6 +21,8 @@ export function planLabel(name: string, t: TranslateFn): string {
return t("usageTier5h");
case "weekly_limit":
return t("usageTierWeekly");
case "monthly_limit":
return t("usageTierMonthly");
default:
return name;
}