chore(release): bump to v0.7.2 — 高级设置 + WebUI 快捷入口 + loop_control 兼容 + macOS 安装脚本
Release / Attach macOS install script (push) Canceled after 0s
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
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
This commit is contained in:
1 parent
24d37fbbf4
commit
fc09a29b9f
21 files changed
+492
-230
No files matched your search
@@ -24,7 +24,18 @@ const PERMISSION_LABELS: Record<(typeof PERMISSION_DECISIONS)[number], Translati
|
||||
ask: "permissionAsk",
|
||||
};
|
||||
|
||||
const COMMON_EVENTS = ["PreToolUse", "PostToolUse"] as const;
|
||||
// kimi-code 0.33+ added TurnStarted / UserPromptQueued / TaskStarted /
|
||||
// SessionHeartbeat hook events (plus SessionStart / SessionEnd).
|
||||
const COMMON_EVENTS = [
|
||||
"PreToolUse",
|
||||
"PostToolUse",
|
||||
"TurnStarted",
|
||||
"UserPromptQueued",
|
||||
"TaskStarted",
|
||||
"SessionHeartbeat",
|
||||
"SessionStart",
|
||||
"SessionEnd",
|
||||
] as const;
|
||||
|
||||
export function AgentSettingsPanel({ rawOther, onChange }: AgentSettingsPanelProps) {
|
||||
const { t } = useTranslation();
|
||||
@@ -91,9 +102,18 @@ export function AgentSettingsPanel({ rawOther, onChange }: AgentSettingsPanelPro
|
||||
|
||||
<Card title={t("loopControlSettings")}>
|
||||
<NumberField
|
||||
label={t("maxRetriesPerStep")}
|
||||
value={settings.loop_control?.max_retries_per_step ?? 3}
|
||||
onChange={(v) => updateLoopControl({ max_retries_per_step: v })}
|
||||
label={t("maxAttemptsPerStep")}
|
||||
value={
|
||||
settings.loop_control?.max_attempts_per_step ??
|
||||
settings.loop_control?.max_retries_per_step ??
|
||||
3
|
||||
}
|
||||
onChange={(v) =>
|
||||
updateLoopControl({
|
||||
max_attempts_per_step: v,
|
||||
max_retries_per_step: v,
|
||||
})
|
||||
}
|
||||
/>
|
||||
<NumberField
|
||||
label={t("reservedContextSize")}
|
||||
|
||||
@@ -161,6 +161,24 @@ export function SubagentSettingsPage({
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Kimi Code WebUI quick open */}
|
||||
<Card title={t("webuiSection")}>
|
||||
<p className="text-xs text-content-muted">{t("webuiDesc")}</p>
|
||||
<button
|
||||
type="button"
|
||||
onClick={async () => {
|
||||
try {
|
||||
await invoke("open_kimi_web");
|
||||
} catch (err) {
|
||||
alert(err instanceof Error ? err.message : String(err));
|
||||
}
|
||||
}}
|
||||
className="mt-3 px-3 py-1.5 text-sm rounded bg-blue-600 text-white hover:bg-blue-500 focus:ring-2 focus:ring-blue-500 focus:outline-none"
|
||||
>
|
||||
{t("openWebUI")}
|
||||
</button>
|
||||
</Card>
|
||||
|
||||
{/* Subagent: secondary model picker + inherited settings */}
|
||||
<Card title={t("secondaryModelSection")}>
|
||||
<label className="flex items-center gap-3 text-sm text-content-primary">
|
||||
|
||||
+9
-3
@@ -136,7 +136,7 @@ export const enTranslations: Record<TranslationKey, string> = {
|
||||
thinkingMax: "Max",
|
||||
thinkingContextHint: "Thinking uses more context. Ensure the model context length and reserved size are sufficient.",
|
||||
loopControlSettings: "Loop Control",
|
||||
maxRetriesPerStep: "Max retries per step",
|
||||
maxAttemptsPerStep: "Max attempts per step",
|
||||
reservedContextSize: "Reserved context size",
|
||||
backgroundSettings: "Background Tasks",
|
||||
maxRunningTasks: "Max running tasks",
|
||||
@@ -449,8 +449,8 @@ export const enTranslations: Record<TranslationKey, string> = {
|
||||
trendLineTooltip: "{date}\nTokens: {tokens}\nCache hit: {cache}\nRequests: {req}",
|
||||
trendLineNoData: "No data",
|
||||
|
||||
// Subagent settings page (experimental flags + secondary model)
|
||||
subagentSettings: "Subagent Settings",
|
||||
// Advanced settings page (WebUI quick open + experimental flags + secondary model)
|
||||
subagentSettings: "Advanced Settings",
|
||||
experimentalFlags: "Experimental Features",
|
||||
otherExperimentalFlags: "Other Experimental Features",
|
||||
experimentalFlagsHint:
|
||||
@@ -478,4 +478,10 @@ export const enTranslations: Record<TranslationKey, string> = {
|
||||
"Second model config bound to subagents by default; when unset, subagents inherit the primary model. Only the model reference is stored; subagents inherit all of that model's settings",
|
||||
secondaryModelPriorityHint:
|
||||
"Priority: explicit tool model param > profile model_preference > this config > inherit primary model",
|
||||
|
||||
// Kimi Code WebUI quick open
|
||||
webuiSection: "Kimi Code WebUI",
|
||||
webuiDesc:
|
||||
"Launch `kimi web` to open the new Web UI in your browser (built into kimi-code 0.33+). Requires the kimi CLI on PATH.",
|
||||
openWebUI: "Open WebUI",
|
||||
};
|
||||
+9
-3
@@ -134,7 +134,7 @@ export const zhTranslations = {
|
||||
thinkingMax: "最大",
|
||||
thinkingContextHint: "启用思考会占用更多上下文,请确保模型上下文长度和预留空间足够。",
|
||||
loopControlSettings: "循环控制",
|
||||
maxRetriesPerStep: "单步重试次数",
|
||||
maxAttemptsPerStep: "单步最大尝试次数",
|
||||
reservedContextSize: "上下文预留大小",
|
||||
backgroundSettings: "后台任务",
|
||||
maxRunningTasks: "最大并发数",
|
||||
@@ -444,8 +444,8 @@ export const zhTranslations = {
|
||||
trendLineTooltip: "{date}\nToken: {tokens}\n命中率: {cache}\n请求: {req}",
|
||||
trendLineNoData: "暂无数据",
|
||||
|
||||
// Subagent settings page (experimental flags + secondary model)
|
||||
subagentSettings: "子代理设置",
|
||||
// Advanced settings page (WebUI quick open + experimental flags + secondary model)
|
||||
subagentSettings: "高级设置",
|
||||
experimentalFlags: "实验功能开关",
|
||||
otherExperimentalFlags: "其他实验功能",
|
||||
experimentalFlagsHint:
|
||||
@@ -473,6 +473,12 @@ export const zhTranslations = {
|
||||
"子代理默认绑定的第二份模型配置;未配置时子代理继承主模型;仅保存模型引用,子代理继承该模型的全部设置",
|
||||
secondaryModelPriorityHint:
|
||||
"优先级:工具显式 model 参数 > 子代理 profile 的 model_preference > 本配置 > 继承主模型",
|
||||
|
||||
// Kimi Code WebUI quick open
|
||||
webuiSection: "Kimi Code WebUI",
|
||||
webuiDesc:
|
||||
"启动 kimi web,在浏览器中打开新版 Web 界面(kimi-code 0.33+ 内置 code-app)。需要 kimi 命令在 PATH 中。",
|
||||
openWebUI: "打开 WebUI",
|
||||
} as const;
|
||||
|
||||
export type TranslationKey = keyof typeof zhTranslations;
|
||||
@@ -7,7 +7,7 @@ const DEFAULT_SETTINGS: AgentSettings = {
|
||||
keep: "all",
|
||||
},
|
||||
loop_control: {
|
||||
max_retries_per_step: 3,
|
||||
max_attempts_per_step: 3,
|
||||
reserved_context_size: 50000,
|
||||
},
|
||||
background: {
|
||||
@@ -32,15 +32,29 @@ function getSection<T>(rawOther: unknown, key: string): T | undefined {
|
||||
}
|
||||
|
||||
export function getAgentSettings(rawOther: unknown): AgentSettings {
|
||||
const sectionLoop = getSection<AgentSettings["loop_control"]>(
|
||||
rawOther,
|
||||
"loop_control"
|
||||
);
|
||||
const loop: AgentSettings["loop_control"] = {
|
||||
...DEFAULT_SETTINGS.loop_control,
|
||||
...sectionLoop,
|
||||
};
|
||||
// kimi-code 0.33+ (v2 engine) renamed max_retries_per_step →
|
||||
// max_attempts_per_step; migrate legacy values so they still show and edit.
|
||||
if (
|
||||
sectionLoop &&
|
||||
sectionLoop.max_attempts_per_step === undefined &&
|
||||
sectionLoop.max_retries_per_step !== undefined
|
||||
) {
|
||||
loop.max_attempts_per_step = sectionLoop.max_retries_per_step;
|
||||
}
|
||||
return {
|
||||
thinking: {
|
||||
...DEFAULT_SETTINGS.thinking,
|
||||
...getSection<AgentSettings["thinking"]>(rawOther, "thinking"),
|
||||
},
|
||||
loop_control: {
|
||||
...DEFAULT_SETTINGS.loop_control,
|
||||
...getSection<AgentSettings["loop_control"]>(rawOther, "loop_control"),
|
||||
},
|
||||
loop_control: loop,
|
||||
background: {
|
||||
...DEFAULT_SETTINGS.background,
|
||||
...getSection<AgentSettings["background"]>(rawOther, "background"),
|
||||
|
||||
+108
-102
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"last_updated": "2026-08-06",
|
||||
"last_updated": "2026-08-07",
|
||||
"providers": {
|
||||
"zhipuai": {
|
||||
"id": "zhipuai",
|
||||
@@ -14497,9 +14497,9 @@
|
||||
"id": "inclusionai/ling-3.0-flash",
|
||||
"name": "Ling 3.0 Flash",
|
||||
"cost": {
|
||||
"input": 0.06,
|
||||
"output": 0.18,
|
||||
"cache_read": 0.012
|
||||
"input": 0.075,
|
||||
"output": 0.22,
|
||||
"cache_read": 0.015
|
||||
},
|
||||
"context": 262144,
|
||||
"input_limit": 262144,
|
||||
@@ -14539,9 +14539,9 @@
|
||||
"id": "inclusionai/ling-3.0-flash:thinking",
|
||||
"name": "Ling 3.0 Flash Thinking",
|
||||
"cost": {
|
||||
"input": 0.06,
|
||||
"output": 0.18,
|
||||
"cache_read": 0.012
|
||||
"input": 0.075,
|
||||
"output": 0.22,
|
||||
"cache_read": 0.015
|
||||
},
|
||||
"context": 262144,
|
||||
"input_limit": 262144,
|
||||
@@ -20788,9 +20788,9 @@
|
||||
"id": "qwen3.8-max",
|
||||
"name": "Qwen3.8 Max Preview",
|
||||
"cost": {
|
||||
"input": 2,
|
||||
"output": 6,
|
||||
"cache_read": 0.25,
|
||||
"input": 1.815,
|
||||
"output": 5.4461,
|
||||
"cache_read": 0.21,
|
||||
"cache_write": 2.5
|
||||
},
|
||||
"context": 1000000,
|
||||
@@ -22668,19 +22668,6 @@
|
||||
"tool_call": true,
|
||||
"structured_output": true
|
||||
},
|
||||
{
|
||||
"id": "Qwen/Qwen3-235B-A22B-Instruct-2507",
|
||||
"name": "Qwen3 235B A22B Instruct 2507",
|
||||
"cost": {
|
||||
"input": 0.2,
|
||||
"output": 0.8
|
||||
},
|
||||
"context": 262144,
|
||||
"output_limit": 262144,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"structured_output": true
|
||||
},
|
||||
{
|
||||
"id": "MiniMaxAI/MiniMax-M2.5",
|
||||
"name": "MiniMax-M2.5",
|
||||
@@ -30135,6 +30122,20 @@
|
||||
"output_limit": 8192,
|
||||
"reasoning": true,
|
||||
"tool_call": true
|
||||
},
|
||||
{
|
||||
"id": "solar-pro4",
|
||||
"name": "Solar Pro 4",
|
||||
"cost": {
|
||||
"input": 0.3,
|
||||
"output": 1.2,
|
||||
"cache_read": 0.06
|
||||
},
|
||||
"context": 524288,
|
||||
"output_limit": 131072,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"structured_output": true
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -43640,6 +43641,21 @@
|
||||
"tool_call": true,
|
||||
"image": true
|
||||
},
|
||||
{
|
||||
"id": "kimi-k2.7-code",
|
||||
"name": "Kimi K2.7 Code",
|
||||
"cost": {
|
||||
"input": 0.95,
|
||||
"output": 4,
|
||||
"cache_read": 0.19
|
||||
},
|
||||
"context": 262144,
|
||||
"output_limit": 262144,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"structured_output": true,
|
||||
"image": true
|
||||
},
|
||||
{
|
||||
"id": "gpt-5.1",
|
||||
"name": "GPT-5.1",
|
||||
@@ -55392,7 +55408,7 @@
|
||||
},
|
||||
{
|
||||
"id": "meta/muse-spark-1.2",
|
||||
"name": "Meta: Muse Spark 1.2",
|
||||
"name": "Muse Spark 1.2",
|
||||
"cost": {
|
||||
"input": 1.25,
|
||||
"output": 4.25,
|
||||
@@ -55426,7 +55442,7 @@
|
||||
"cache_read": 0.015
|
||||
},
|
||||
"context": 131072,
|
||||
"output_limit": 16384,
|
||||
"output_limit": 32768,
|
||||
"reasoning": true,
|
||||
"tool_call": true
|
||||
},
|
||||
@@ -56737,8 +56753,8 @@
|
||||
"output": 4.4,
|
||||
"cache_read": 0.26
|
||||
},
|
||||
"context": 262144,
|
||||
"output_limit": 262144,
|
||||
"context": 1024000,
|
||||
"output_limit": 128000,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"structured_output": true
|
||||
@@ -60699,9 +60715,9 @@
|
||||
"id": "glm-5",
|
||||
"name": "GLM-5",
|
||||
"cost": {
|
||||
"input": 0.82,
|
||||
"output": 2.548,
|
||||
"cache_write": 0.41
|
||||
"input": 0.85,
|
||||
"output": 2.742,
|
||||
"cache_write": 0.425
|
||||
},
|
||||
"context": 202752,
|
||||
"output_limit": 20275,
|
||||
@@ -60740,9 +60756,9 @@
|
||||
"id": "kimi-k2.5",
|
||||
"name": "Kimi K2.5",
|
||||
"cost": {
|
||||
"input": 0.558,
|
||||
"output": 2.94,
|
||||
"cache_write": 0.279
|
||||
"input": 0.55,
|
||||
"output": 2.89,
|
||||
"cache_write": 0.275
|
||||
},
|
||||
"context": 262144,
|
||||
"output_limit": 26214,
|
||||
@@ -60754,9 +60770,9 @@
|
||||
"id": "minimax-m2.7",
|
||||
"name": "MiniMax-M2.7",
|
||||
"cost": {
|
||||
"input": 0.436,
|
||||
"output": 1.72,
|
||||
"cache_write": 0.218
|
||||
"input": 0.41,
|
||||
"output": 1.52,
|
||||
"cache_write": 0.205
|
||||
},
|
||||
"context": 262100,
|
||||
"output_limit": 6553,
|
||||
@@ -60823,9 +60839,9 @@
|
||||
"id": "llama-4-maverick-17b-128e-instruct-fp8",
|
||||
"name": "Llama 4 Maverick 17B Instruct",
|
||||
"cost": {
|
||||
"input": 0.284,
|
||||
"output": 0.934,
|
||||
"cache_write": 0.142
|
||||
"input": 0.274,
|
||||
"output": 0.8992,
|
||||
"cache_write": 0.137
|
||||
},
|
||||
"context": 430000,
|
||||
"output_limit": 43000,
|
||||
@@ -60850,7 +60866,7 @@
|
||||
"name": "Gemma 4 26B A4B IT",
|
||||
"cost": {
|
||||
"input": 0.124,
|
||||
"output": 0.4,
|
||||
"output": 0.42,
|
||||
"cache_write": 0.062
|
||||
},
|
||||
"context": 256000,
|
||||
@@ -60896,7 +60912,8 @@
|
||||
"context": 1000000,
|
||||
"output_limit": 65536,
|
||||
"reasoning": true,
|
||||
"tool_call": true
|
||||
"tool_call": true,
|
||||
"image": true
|
||||
},
|
||||
{
|
||||
"id": "deepseek-v4-flash-0731",
|
||||
@@ -60916,9 +60933,9 @@
|
||||
"id": "gpt-oss-120b",
|
||||
"name": "GPT OSS 120B",
|
||||
"cost": {
|
||||
"input": 0.166,
|
||||
"output": 0.632,
|
||||
"cache_write": 0.083
|
||||
"input": 0.188,
|
||||
"output": 0.73,
|
||||
"cache_write": 0.094
|
||||
},
|
||||
"context": 131072,
|
||||
"output_limit": 13107,
|
||||
@@ -62461,6 +62478,7 @@
|
||||
"output_limit": 1048576,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"structured_output": true,
|
||||
"image": true
|
||||
},
|
||||
{
|
||||
@@ -63787,21 +63805,6 @@
|
||||
"tool_call": true,
|
||||
"image": true
|
||||
},
|
||||
{
|
||||
"id": "anthropic/claude-opus-5-fast",
|
||||
"name": "Claude Opus 5 (Fast)",
|
||||
"cost": {
|
||||
"input": 10,
|
||||
"output": 50,
|
||||
"cache_read": 1,
|
||||
"cache_write": 12.5
|
||||
},
|
||||
"context": 1000000,
|
||||
"output_limit": 128000,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"image": true
|
||||
},
|
||||
{
|
||||
"id": "anthropic/claude-sonnet-4",
|
||||
"name": "Claude Sonnet 4",
|
||||
@@ -67652,8 +67655,8 @@
|
||||
"id": "nvidia/nemotron-3-super-120b-a12b",
|
||||
"name": "Nemotron 3 Super 120B A12B",
|
||||
"cost": {
|
||||
"input": 0.085,
|
||||
"output": 0.4
|
||||
"input": 0.3,
|
||||
"output": 0.9
|
||||
},
|
||||
"context": 1000000,
|
||||
"output_limit": 16384,
|
||||
@@ -67895,7 +67898,7 @@
|
||||
"cache_write": 0.083333
|
||||
},
|
||||
"context": 1048576,
|
||||
"output_limit": 65535,
|
||||
"output_limit": 65536,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"structured_output": true,
|
||||
@@ -68390,7 +68393,8 @@
|
||||
"name": "Qwen3.6 35B-A3B",
|
||||
"cost": {
|
||||
"input": 0.14,
|
||||
"output": 1
|
||||
"output": 1,
|
||||
"cache_read": 0.05
|
||||
},
|
||||
"context": 262144,
|
||||
"output_limit": 262144,
|
||||
@@ -68849,8 +68853,8 @@
|
||||
"id": "qwen/qwen3-vl-235b-a22b-thinking",
|
||||
"name": "Qwen3 VL 235B A22B Thinking",
|
||||
"cost": {
|
||||
"input": 0.98,
|
||||
"output": 3.95
|
||||
"input": 0.4,
|
||||
"output": 4
|
||||
},
|
||||
"context": 131072,
|
||||
"output_limit": 32768,
|
||||
@@ -68932,11 +68936,11 @@
|
||||
"id": "qwen/qwen3.5-122b-a10b",
|
||||
"name": "Qwen3.5 122B-A10B",
|
||||
"cost": {
|
||||
"input": 0.26,
|
||||
"output": 2.08
|
||||
"input": 0.29,
|
||||
"output": 2.4
|
||||
},
|
||||
"context": 262144,
|
||||
"output_limit": 65536,
|
||||
"output_limit": 81920,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"structured_output": true,
|
||||
@@ -69484,16 +69488,28 @@
|
||||
"output_limit": 4096,
|
||||
"structured_output": true
|
||||
},
|
||||
{
|
||||
"id": "inclusionai/ling-3.0-tiny:free",
|
||||
"name": "Ling 3.0 Tiny (free)",
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0
|
||||
},
|
||||
"context": 262144,
|
||||
"output_limit": 32768,
|
||||
"reasoning": true,
|
||||
"tool_call": true
|
||||
},
|
||||
{
|
||||
"id": "inclusionai/ling-3.0-flash",
|
||||
"name": "Ling-3.0-flash",
|
||||
"cost": {
|
||||
"input": 0.075,
|
||||
"output": 0.22,
|
||||
"cache_read": 0.015
|
||||
"input": 0.021,
|
||||
"output": 0.063,
|
||||
"cache_read": 0.0042
|
||||
},
|
||||
"context": 131072,
|
||||
"output_limit": 16384,
|
||||
"context": 262144,
|
||||
"output_limit": 32768,
|
||||
"reasoning": true,
|
||||
"tool_call": true
|
||||
},
|
||||
@@ -69536,18 +69552,6 @@
|
||||
"tool_call": true,
|
||||
"structured_output": true
|
||||
},
|
||||
{
|
||||
"id": "inclusionai/ling-3.0-flash:free",
|
||||
"name": "Ling-3.0-flash (free)",
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0
|
||||
},
|
||||
"context": 262144,
|
||||
"output_limit": 32768,
|
||||
"reasoning": true,
|
||||
"tool_call": true
|
||||
},
|
||||
{
|
||||
"id": "cognitivecomputations/dolphin-mistral-24b-venice-edition",
|
||||
"name": "Uncensored",
|
||||
@@ -70425,7 +70429,6 @@
|
||||
"output_limit": 32000,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"structured_output": true,
|
||||
"image": true
|
||||
},
|
||||
{
|
||||
@@ -70770,12 +70773,12 @@
|
||||
"id": "z-ai/glm-5.2",
|
||||
"name": "GLM-5.2",
|
||||
"cost": {
|
||||
"input": 0.76,
|
||||
"output": 2.42,
|
||||
"cache_read": 0.14
|
||||
"input": 0.546,
|
||||
"output": 1.716,
|
||||
"cache_read": 0.1014
|
||||
},
|
||||
"context": 1048576,
|
||||
"output_limit": 262144,
|
||||
"output_limit": 131072,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"structured_output": true
|
||||
@@ -70940,9 +70943,9 @@
|
||||
"id": "moonshotai/kimi-k2.6",
|
||||
"name": "Kimi K2.6",
|
||||
"cost": {
|
||||
"input": 0.589,
|
||||
"output": 2.48,
|
||||
"cache_read": 0.0992
|
||||
"input": 0.57,
|
||||
"output": 2.4,
|
||||
"cache_read": 0.096
|
||||
},
|
||||
"context": 262144,
|
||||
"output_limit": 262144,
|
||||
@@ -74341,9 +74344,9 @@
|
||||
"id": "MiniMaxAI/MiniMax-M3",
|
||||
"name": "MiniMax-M3",
|
||||
"cost": {
|
||||
"input": 0.3,
|
||||
"output": 1.2,
|
||||
"cache_read": 0.06
|
||||
"input": 0.28,
|
||||
"output": 1.1,
|
||||
"cache_read": 0.056
|
||||
},
|
||||
"context": 524288,
|
||||
"output_limit": 128000,
|
||||
@@ -74500,9 +74503,9 @@
|
||||
"id": "moonshotai/Kimi-K2.7-Code",
|
||||
"name": "Kimi K2.7 Code",
|
||||
"cost": {
|
||||
"input": 0.74,
|
||||
"output": 3.5,
|
||||
"cache_read": 0.15
|
||||
"input": 0.68,
|
||||
"output": 3.4,
|
||||
"cache_read": 0.136
|
||||
},
|
||||
"context": 262144,
|
||||
"output_limit": 262144,
|
||||
@@ -80523,7 +80526,8 @@
|
||||
"cost": {
|
||||
"input": 5.5,
|
||||
"output": 32.998,
|
||||
"cache_read": 0.55
|
||||
"cache_read": 0.55,
|
||||
"cache_write": 6.879
|
||||
},
|
||||
"context": 1050000,
|
||||
"input_limit": 922000,
|
||||
@@ -81277,7 +81281,8 @@
|
||||
"cost": {
|
||||
"input": 1.1,
|
||||
"output": 6.599,
|
||||
"cache_read": 0.11
|
||||
"cache_read": 0.11,
|
||||
"cache_write": 1.38
|
||||
},
|
||||
"context": 1050000,
|
||||
"input_limit": 922000,
|
||||
@@ -81600,7 +81605,8 @@
|
||||
"cost": {
|
||||
"input": 2.749,
|
||||
"output": 16.498,
|
||||
"cache_read": 0.275
|
||||
"cache_read": 0.275,
|
||||
"cache_write": 3.437
|
||||
},
|
||||
"context": 1050000,
|
||||
"input_limit": 922000,
|
||||
|
||||
+97
-91
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"last_updated": "2026-08-06",
|
||||
"last_updated": "2026-08-07",
|
||||
"zhipuai/glm-5": {
|
||||
"name": "GLM-5",
|
||||
"context": 204800,
|
||||
@@ -11718,9 +11718,9 @@
|
||||
"context": 262144,
|
||||
"tool_call": true,
|
||||
"cost": {
|
||||
"input": 0.06,
|
||||
"output": 0.18,
|
||||
"cache_read": 0.012
|
||||
"input": 0.075,
|
||||
"output": 0.22,
|
||||
"cache_read": 0.015
|
||||
}
|
||||
},
|
||||
"nano-gpt/inclusionai/ring-2.6-1t": {
|
||||
@@ -11752,9 +11752,9 @@
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"cost": {
|
||||
"input": 0.06,
|
||||
"output": 0.18,
|
||||
"cache_read": 0.012
|
||||
"input": 0.075,
|
||||
"output": 0.22,
|
||||
"cache_read": 0.015
|
||||
}
|
||||
},
|
||||
"nano-gpt/inclusionai/ling-2.6-flash": {
|
||||
@@ -16830,9 +16830,9 @@
|
||||
"tool_call": true,
|
||||
"image": true,
|
||||
"cost": {
|
||||
"input": 2,
|
||||
"output": 6,
|
||||
"cache_read": 0.25,
|
||||
"input": 1.815,
|
||||
"output": 5.4461,
|
||||
"cache_read": 0.21,
|
||||
"cache_write": 2.5
|
||||
}
|
||||
},
|
||||
@@ -18411,17 +18411,6 @@
|
||||
"cache_read": 0.26
|
||||
}
|
||||
},
|
||||
"friendli/Qwen/Qwen3-235B-A22B-Instruct-2507": {
|
||||
"name": "Qwen3 235B A22B Instruct 2507",
|
||||
"context": 262144,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"structured_output": true,
|
||||
"cost": {
|
||||
"input": 0.2,
|
||||
"output": 0.8
|
||||
}
|
||||
},
|
||||
"friendli/MiniMaxAI/MiniMax-M2.5": {
|
||||
"name": "MiniMax-M2.5",
|
||||
"context": 196608,
|
||||
@@ -24532,6 +24521,18 @@
|
||||
"output": 0.25
|
||||
}
|
||||
},
|
||||
"upstage/solar-pro4": {
|
||||
"name": "Solar Pro 4",
|
||||
"context": 524288,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"structured_output": true,
|
||||
"cost": {
|
||||
"input": 0.3,
|
||||
"output": 1.2,
|
||||
"cache_read": 0.06
|
||||
}
|
||||
},
|
||||
"cline-pass/cline-pass/qwen3.7-plus": {
|
||||
"name": "Qwen3.7 Plus",
|
||||
"context": 1000000,
|
||||
@@ -35797,6 +35798,19 @@
|
||||
"cache_read": 0.03
|
||||
}
|
||||
},
|
||||
"azure/kimi-k2.7-code": {
|
||||
"name": "Kimi K2.7 Code",
|
||||
"context": 262144,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"structured_output": true,
|
||||
"image": true,
|
||||
"cost": {
|
||||
"input": 0.95,
|
||||
"output": 4,
|
||||
"cache_read": 0.19
|
||||
}
|
||||
},
|
||||
"azure/gpt-5.1": {
|
||||
"name": "GPT-5.1",
|
||||
"context": 400000,
|
||||
@@ -45606,7 +45620,7 @@
|
||||
}
|
||||
},
|
||||
"kilo/meta/muse-spark-1.2": {
|
||||
"name": "Meta: Muse Spark 1.2",
|
||||
"name": "Muse Spark 1.2",
|
||||
"context": 1048576,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
@@ -46746,7 +46760,7 @@
|
||||
},
|
||||
"kilo/z-ai/glm-5.2": {
|
||||
"name": "GLM-5.2",
|
||||
"context": 262144,
|
||||
"context": 1024000,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"structured_output": true,
|
||||
@@ -50064,9 +50078,9 @@
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"cost": {
|
||||
"input": 0.82,
|
||||
"output": 2.548,
|
||||
"cache_write": 0.41
|
||||
"input": 0.85,
|
||||
"output": 2.742,
|
||||
"cache_write": 0.425
|
||||
}
|
||||
},
|
||||
"hyper/glm-5.1": {
|
||||
@@ -50100,9 +50114,9 @@
|
||||
"tool_call": true,
|
||||
"structured_output": true,
|
||||
"cost": {
|
||||
"input": 0.558,
|
||||
"output": 2.94,
|
||||
"cache_write": 0.279
|
||||
"input": 0.55,
|
||||
"output": 2.89,
|
||||
"cache_write": 0.275
|
||||
}
|
||||
},
|
||||
"hyper/minimax-m2.7": {
|
||||
@@ -50111,9 +50125,9 @@
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"cost": {
|
||||
"input": 0.436,
|
||||
"output": 1.72,
|
||||
"cache_write": 0.218
|
||||
"input": 0.41,
|
||||
"output": 1.52,
|
||||
"cache_write": 0.205
|
||||
}
|
||||
},
|
||||
"hyper/glm-5.2": {
|
||||
@@ -50169,9 +50183,9 @@
|
||||
"context": 430000,
|
||||
"tool_call": true,
|
||||
"cost": {
|
||||
"input": 0.284,
|
||||
"output": 0.934,
|
||||
"cache_write": 0.142
|
||||
"input": 0.274,
|
||||
"output": 0.8992,
|
||||
"cache_write": 0.137
|
||||
}
|
||||
},
|
||||
"hyper/minimax-m3": {
|
||||
@@ -50194,7 +50208,7 @@
|
||||
"structured_output": true,
|
||||
"cost": {
|
||||
"input": 0.124,
|
||||
"output": 0.4,
|
||||
"output": 0.42,
|
||||
"cache_write": 0.062
|
||||
}
|
||||
},
|
||||
@@ -50225,6 +50239,7 @@
|
||||
"context": 1000000,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"image": true,
|
||||
"cost": {
|
||||
"input": 2,
|
||||
"output": 6,
|
||||
@@ -50250,9 +50265,9 @@
|
||||
"tool_call": true,
|
||||
"structured_output": true,
|
||||
"cost": {
|
||||
"input": 0.166,
|
||||
"output": 0.632,
|
||||
"cache_write": 0.083
|
||||
"input": 0.188,
|
||||
"output": 0.73,
|
||||
"cache_write": 0.094
|
||||
}
|
||||
},
|
||||
"hyper/kimi-k2.7-code": {
|
||||
@@ -51504,6 +51519,7 @@
|
||||
"context": 1048576,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"structured_output": true,
|
||||
"image": true,
|
||||
"cost": {
|
||||
"input": 1.25,
|
||||
@@ -52618,19 +52634,6 @@
|
||||
"cache_write": 0.3
|
||||
}
|
||||
},
|
||||
"vercel/anthropic/claude-opus-5-fast": {
|
||||
"name": "Claude Opus 5 (Fast)",
|
||||
"context": 1000000,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"image": true,
|
||||
"cost": {
|
||||
"input": 10,
|
||||
"output": 50,
|
||||
"cache_read": 1,
|
||||
"cache_write": 12.5
|
||||
}
|
||||
},
|
||||
"vercel/anthropic/claude-sonnet-4": {
|
||||
"name": "Claude Sonnet 4",
|
||||
"context": 1000000,
|
||||
@@ -55837,8 +55840,8 @@
|
||||
"tool_call": true,
|
||||
"structured_output": true,
|
||||
"cost": {
|
||||
"input": 0.085,
|
||||
"output": 0.4
|
||||
"input": 0.3,
|
||||
"output": 0.9
|
||||
}
|
||||
},
|
||||
"openrouter/nvidia/nemotron-3-nano-30b-a3b:free": {
|
||||
@@ -56474,7 +56477,8 @@
|
||||
"video": true,
|
||||
"cost": {
|
||||
"input": 0.14,
|
||||
"output": 1
|
||||
"output": 1,
|
||||
"cache_read": 0.05
|
||||
}
|
||||
},
|
||||
"openrouter/qwen/qwen3-30b-a3b": {
|
||||
@@ -56864,8 +56868,8 @@
|
||||
"structured_output": true,
|
||||
"image": true,
|
||||
"cost": {
|
||||
"input": 0.98,
|
||||
"output": 3.95
|
||||
"input": 0.4,
|
||||
"output": 4
|
||||
}
|
||||
},
|
||||
"openrouter/qwen/qwen3.6-max-preview": {
|
||||
@@ -56936,8 +56940,8 @@
|
||||
"image": true,
|
||||
"video": true,
|
||||
"cost": {
|
||||
"input": 0.26,
|
||||
"output": 2.08
|
||||
"input": 0.29,
|
||||
"output": 2.4
|
||||
}
|
||||
},
|
||||
"openrouter/qwen/qwen3.5-plus-20260420": {
|
||||
@@ -57399,15 +57403,25 @@
|
||||
"output": 0.11
|
||||
}
|
||||
},
|
||||
"openrouter/inclusionai/ling-3.0-flash": {
|
||||
"name": "Ling-3.0-flash",
|
||||
"context": 131072,
|
||||
"openrouter/inclusionai/ling-3.0-tiny:free": {
|
||||
"name": "Ling 3.0 Tiny (free)",
|
||||
"context": 262144,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"cost": {
|
||||
"input": 0.075,
|
||||
"output": 0.22,
|
||||
"cache_read": 0.015
|
||||
"input": 0,
|
||||
"output": 0
|
||||
}
|
||||
},
|
||||
"openrouter/inclusionai/ling-3.0-flash": {
|
||||
"name": "Ling-3.0-flash",
|
||||
"context": 262144,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"cost": {
|
||||
"input": 0.021,
|
||||
"output": 0.063,
|
||||
"cache_read": 0.0042
|
||||
}
|
||||
},
|
||||
"openrouter/inclusionai/ring-2.6-1t": {
|
||||
@@ -57443,16 +57457,6 @@
|
||||
"cache_read": 0.002
|
||||
}
|
||||
},
|
||||
"openrouter/inclusionai/ling-3.0-flash:free": {
|
||||
"name": "Ling-3.0-flash (free)",
|
||||
"context": 262144,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0
|
||||
}
|
||||
},
|
||||
"openrouter/cognitivecomputations/dolphin-mistral-24b-venice-edition": {
|
||||
"name": "Uncensored",
|
||||
"context": 128000,
|
||||
@@ -58183,7 +58187,6 @@
|
||||
"context": 200000,
|
||||
"reasoning": true,
|
||||
"tool_call": true,
|
||||
"structured_output": true,
|
||||
"image": true,
|
||||
"cost": {
|
||||
"input": 15,
|
||||
@@ -58493,9 +58496,9 @@
|
||||
"tool_call": true,
|
||||
"structured_output": true,
|
||||
"cost": {
|
||||
"input": 0.76,
|
||||
"output": 2.42,
|
||||
"cache_read": 0.14
|
||||
"input": 0.546,
|
||||
"output": 1.716,
|
||||
"cache_read": 0.1014
|
||||
}
|
||||
},
|
||||
"openrouter/z-ai/glm-4.6": {
|
||||
@@ -58638,9 +58641,9 @@
|
||||
"structured_output": true,
|
||||
"image": true,
|
||||
"cost": {
|
||||
"input": 0.589,
|
||||
"output": 2.48,
|
||||
"cache_read": 0.0992
|
||||
"input": 0.57,
|
||||
"output": 2.4,
|
||||
"cache_read": 0.096
|
||||
}
|
||||
},
|
||||
"openrouter/moonshotai/kimi-k2.7-code": {
|
||||
@@ -61473,9 +61476,9 @@
|
||||
"image": true,
|
||||
"video": true,
|
||||
"cost": {
|
||||
"input": 0.3,
|
||||
"output": 1.2,
|
||||
"cache_read": 0.06
|
||||
"input": 0.28,
|
||||
"output": 1.1,
|
||||
"cache_read": 0.056
|
||||
}
|
||||
},
|
||||
"deepinfra/deepseek-ai/DeepSeek-V3": {
|
||||
@@ -61610,9 +61613,9 @@
|
||||
"image": true,
|
||||
"video": true,
|
||||
"cost": {
|
||||
"input": 0.74,
|
||||
"output": 3.5,
|
||||
"cache_read": 0.15
|
||||
"input": 0.68,
|
||||
"output": 3.4,
|
||||
"cache_read": 0.136
|
||||
}
|
||||
},
|
||||
"deepinfra/moonshotai/Kimi-K3": {
|
||||
@@ -66506,7 +66509,8 @@
|
||||
"cost": {
|
||||
"input": 5.5,
|
||||
"output": 32.998,
|
||||
"cache_read": 0.55
|
||||
"cache_read": 0.55,
|
||||
"cache_write": 6.879
|
||||
}
|
||||
},
|
||||
"cortecs/glm-5.1": {
|
||||
@@ -67148,7 +67152,8 @@
|
||||
"cost": {
|
||||
"input": 1.1,
|
||||
"output": 6.599,
|
||||
"cache_read": 0.11
|
||||
"cache_read": 0.11,
|
||||
"cache_write": 1.38
|
||||
}
|
||||
},
|
||||
"cortecs/gemma-4-31b-it": {
|
||||
@@ -67421,7 +67426,8 @@
|
||||
"cost": {
|
||||
"input": 2.749,
|
||||
"output": 16.498,
|
||||
"cache_read": 0.275
|
||||
"cache_read": 0.275,
|
||||
"cache_write": 3.437
|
||||
}
|
||||
},
|
||||
"cortecs/claude-sonnet-5": {
|
||||
|
||||
@@ -97,6 +97,11 @@ export interface ThinkingConfig {
|
||||
}
|
||||
|
||||
export interface LoopControlConfig {
|
||||
/** v2 engine key (kimi-code 0.33+): `max_retries_per_step` was renamed. */
|
||||
max_attempts_per_step?: number;
|
||||
/** v2 engine key (kimi-code 0.33+): `max_steps_per_run` was renamed. */
|
||||
max_steps_per_turn?: number;
|
||||
/** Legacy v1 key — written in sync so KIMI_CODE_LEGACY_FLAG=1 still works. */
|
||||
max_retries_per_step?: number;
|
||||
reserved_context_size?: number;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user