feat: Pi models.json from live

API keys stay $DEEPSEEK_API_KEY / $ZAI_API_KEY env references.
This commit is contained in:
bcherb2 committed 2026-11-18 01:25:43 -05:00
1 parent afbd45bab5
commit 3c7468e113
1 file changed
+121
+121
View File
@@ -0,0 +1,121 @@
{
"providers": {
"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
}
]
}
}
}