feat: add anthropic model profiles for main and automation

This commit is contained in:
William Valentin
2026-03-20 10:33:14 -07:00
parent 4b1afb1073
commit 8c6b54b827
5 changed files with 280 additions and 251 deletions

View File

@@ -22,6 +22,11 @@
"type": "token",
"provider": "github-copilot",
"token": "ghu_W2o2vG3eZ7czyzgCEvSbJArq3EYyuv0SKRYw"
},
"anthropic:manual": {
"type": "token",
"provider": "anthropic",
"token": "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"
}
},
"lastGood": {
@@ -29,16 +34,25 @@
},
"usageStats": {
"openai-codex:default": {
"lastUsed": 1773619245145,
"lastUsed": 1774000692808,
"errorCount": 0
},
"litellm:default": {
"lastUsed": 1773864926071,
"lastUsed": 1773982845794,
"errorCount": 0
},
"github-copilot:github": {
"errorCount": 0,
"lastUsed": 1773913526239
"lastUsed": 1773807909397
},
"anthropic:manual": {
"errorCount": 1,
"lastUsed": 1773970767473,
"failureCounts": {
"rate_limit": 1
},
"lastFailureAt": 1773975162710,
"cooldownUntil": 1773975222710
}
}
}

View File

@@ -1,79 +1,13 @@
{
"providers": {
"zai": {
"baseUrl": "https://api.z.ai/api/coding/paas/v4",
"api": "openai-completions",
"models": [
{
"id": "glm-5",
"name": "GLM-5",
"reasoning": true,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 204800,
"maxTokens": 131072,
"api": "openai-completions"
},
{
"id": "glm-4.7",
"name": "GLM-4.7",
"reasoning": true,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 204800,
"maxTokens": 131072,
"api": "openai-completions"
},
{
"id": "glm-4.7-flash",
"name": "GLM-4.7 Flash",
"reasoning": true,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 204800,
"maxTokens": 131072,
"api": "openai-completions"
},
{
"id": "glm-4.7-flashx",
"name": "GLM-4.7 FlashX",
"reasoning": true,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 204800,
"maxTokens": 131072,
"api": "openai-completions"
}
],
"apiKey": "ZAI_API_KEY"
"openai-codex": {
"baseUrl": "https://chatgpt.com/backend-api",
"api": "openai-codex-responses",
"models": []
},
"github-copilot": {
"baseUrl": "https://api.individual.githubcopilot.com",
"models": []
},
"litellm": {
"baseUrl": "http://192.168.153.113:18804/v1",
@@ -1426,127 +1360,76 @@
"cacheWrite": 0
},
"api": "openai-completions"
}
]
},
"liteproxy": {
"baseUrl": "http://192.168.153.113:18804/v1",
"apiKey": "secretref-managed",
"api": "openai-completions",
"models": [
},
{
"id": "claude-haiku-4-5",
"name": "Claude Haiku 4.5",
"id": "anthropic-sub/claude-sonnet-4-6",
"name": "anthropic-sub/claude-sonnet-4-6",
"reasoning": false,
"input": [
"text"
],
"reasoning": false,
"contextWindow": 200000,
"maxTokens": 64000,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 200000,
"maxTokens": 8192,
"api": "openai-completions"
},
{
"id": "gemini-2.5-flash",
"name": "Gemini 2.5 Flash",
"id": "anthropic-sub/claude-opus-4-6",
"name": "anthropic-sub/claude-opus-4-6",
"reasoning": false,
"input": [
"text"
],
"reasoning": false,
"contextWindow": 200000,
"maxTokens": 32000,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 200000,
"maxTokens": 8192,
"api": "openai-completions"
},
{
"id": "gemini-2.5-flash-lite",
"name": "Gemini 2.5 Flash Lite",
"id": "anthropic-sub/claude-haiku-4-5",
"name": "anthropic-sub/claude-haiku-4-5",
"reasoning": false,
"input": [
"text"
],
"reasoning": false,
"contextWindow": 200000,
"maxTokens": 64000,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 200000,
"maxTokens": 8192,
"api": "openai-completions"
},
{
"id": "zai-glm-4.7",
"name": "GLM 4.7",
"id": "anthropic-sub/claude-sonnet-4-6-test",
"name": "anthropic-sub/claude-sonnet-4-6-test",
"reasoning": false,
"input": [
"text"
],
"reasoning": false,
"contextWindow": 200000,
"maxTokens": 64000,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 200000,
"maxTokens": 8192,
"api": "openai-completions"
},
{
"id": "gpt-4o",
"name": "gpt-4o",
"input": [
"text"
],
"reasoning": false,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 200000,
"maxTokens": 8192,
"api": "openai-completions"
},
{
"id": "gpt-4o-mini",
"name": "gpt-4o-mini",
"input": [
"text"
],
"reasoning": false,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 200000,
"maxTokens": 8192,
"api": "openai-completions"
}
]
},
"github-copilot": {
"baseUrl": "https://api.githubcopilot.com",
"models": [],
"apiKey": "ghu_IA8psLq1iC0lIBbeDONisMC3MvxFQZ3K3jXV"
},
"openai-codex": {
"baseUrl": "https://chatgpt.com/backend-api",
"api": "openai-codex-responses",
"models": []
}
}
}