Files
benandClaude Opus 5.5 6be7896231 fix: pi OpenRouter models; resync fake-private verbatim copies
- dot_pi/agent/models.json: carry the openrouter provider block from the
  MacBook (DeepSeek V4 Pro/Flash, Kimi K3.1 Pro, Qwen4 Max). Key by env
  reference only. A models entry adds to pi's built-in openrouter catalog
  rather than replacing it.
- .tests/lab/fake-private: 1344c64's private-tier counterpart edited
  .chezmoiignore and dotsecrets, and check-verbatim.sh caught both copies
  drifting. Copied across again; all three match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013FbsgpRXBucM8DAwLARhA6
2026-11-18 23:01:31 -05:00

193 lines
5.2 KiB
JSON

{
"providers": {
"openrouter": {
"apiKey": "$OPENROUTER_API_KEY",
"models": [
{
"id": "deepseek/deepseek-v4-pro",
"name": "DeepSeek V4 Pro (OpenRouter)",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 1048576,
"maxTokens": 384000,
"cost": {
"input": 0.2088,
"output": 0.4176,
"cacheRead": 0.0174,
"cacheWrite": 0
}
},
{
"id": "deepseek/deepseek-v4-flash",
"name": "DeepSeek V4 Flash (OpenRouter)",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 1048576,
"maxTokens": 943717,
"cost": {
"input": 0.091,
"output": 0.182,
"cacheRead": 0.0182,
"cacheWrite": 0
}
},
{
"id": "moonshotai/kimi-k3.1-pro",
"name": "Kimi K3.1 Pro (OpenRouter)",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 1048576,
"maxTokens": 943718,
"cost": {
"input": 2,
"output": 10,
"cacheRead": 0.2,
"cacheWrite": 0
}
},
{
"id": "qwen/qwen4-max",
"name": "Qwen4 Max (OpenRouter)",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 1000000,
"maxTokens": 131072,
"cost": {
"input": 1.425,
"output": 4.275,
"cacheRead": 0.07125,
"cacheWrite": 1.78125
}
}
]
},
"deepseek": {
"baseUrl": "https://api.deepseek.com",
"api": "openai-completions",
"apiKey": "$DEEPSEEK_API_KEY",
"compat": {
"thinkingFormat": "deepseek"
},
"models": [
{
"id": "deepseek-v4-pro",
"name": "DeepSeek V4 Pro",
"reasoning": true,
"input": ["text"],
"contextWindow": 1000000,
"maxTokens": 65536,
"cost": { "input": 1.32, "output": 3.96, "cacheRead": 0.044, "cacheWrite": 0 }
},
{
"id": "deepseek-v4-flash",
"name": "DeepSeek V4 Flash",
"reasoning": true,
"input": ["text"],
"contextWindow": 1000000,
"maxTokens": 65536,
"cost": { "input": 0.14, "output": 0.28, "cacheRead": 0.0028, "cacheWrite": 0 }
}
]
},
"zai": {
"baseUrl": "https://api.z.ai/api/coding/paas/v4",
"api": "openai-completions",
"apiKey": "$ZAI_API_KEY",
"compat": {
"supportsDeveloperRole": false,
"thinkingFormat": "zai"
},
"models": [
{
"id": "glm-4.6",
"name": "GLM-4.6 (Coding)",
"reasoning": true,
"input": ["text"],
"contextWindow": 200000,
"maxTokens": 131072,
"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 }
},
{
"id": "glm-5.3",
"name": "GLM-5.3 (Coding)",
"reasoning": true,
"thinkingLevelMap": {
"off": null,
"minimal": null,
"low": "low",
"medium": null,
"high": "high",
"xhigh": null,
"max": "max"
},
"input": ["text"],
"contextWindow": 1000000,
"maxTokens": 131072,
"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
"compat": {
"supportsStore": false,
"supportsReasoningEffort": true,
"maxTokensField": "max_tokens",
"supportsStrictMode": true,
"zaiToolStream": true
}
},
{
"id": "glm-5.3-flash",
"name": "GLM-5.3 Flash (Coding)",
"reasoning": true,
"thinkingLevelMap": {
"off": null,
"minimal": null,
"low": "low",
"medium": null,
"high": "high",
"xhigh": null,
"max": "max"
},
"input": ["text", "image"],
"contextWindow": 1000000,
"maxTokens": 131072,
"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
"compat": {
"supportsStore": false,
"supportsReasoningEffort": true,
"maxTokensField": "max_tokens",
"supportsStrictMode": true,
"zaiToolStream": true
}
}
]
},
"local-lmstudio": {
"baseUrl": "http://localhost:1234/v1",
"api": "openai-completions",
"apiKey": "lmstudio",
"compat": {
"supportsDeveloperRole": false,
"supportsReasoningEffort": false
},
"models": [
{
"id": "qwen3.6-27b-uncensored-heretic-v2-native-mtp-preserved",
"name": "Qwen 3.6 27B Uncensored Heretic v2 (Local)",
"reasoning": true,
"input": ["text"],
"contextWindow": 38000,
"maxTokens": 32000
}
]
}
}
}