arch-dotfiles/.pi/agent/models.json

80 lines
No EOL
1.8 KiB
JSON

{
"providers": {
"crofai": {
"baseUrl": "https://crof.ai/v1",
"api": "openai-completions",
"apiKey": "$CROFAI_API_KEY",
"authHeader": true,
"compat": {
"supportsDeveloperRole": false,
"supportsReasoningEffort": true
},
"models": [
{
"id": "glm-5.2",
"name": "CrofAI: GLM 5.2",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 1000000,
"maxTokens": 131072,
"thinkingLevelMap": {
"off": "none",
"minimal": "low",
"low": "low",
"medium": "medium",
"high": "high",
"xhigh": "high"
},
"cost": {
"input": 0.5,
"output": 2.2,
"cacheRead": 0.08,
"cacheWrite": 0
}
}
]
},
"wafer": {
"baseUrl": "https://pass.wafer.ai/v1",
"api": "openai-completions",
"apiKey": "$WAFER_API_KEY",
"authHeader": true,
"headers": {
"Wafer-ZDR": "required"
},
"compat": {
"supportsDeveloperRole": false,
"supportsReasoningEffort": true,
"maxTokensField": "max_tokens"
},
"models": [
{
"id": "GLM-5.2",
"name": "Wafer: GLM 5.2",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 1048576,
"maxTokens": 131072,
"thinkingLevelMap": {
"off": "none",
"minimal": "low",
"low": "low",
"medium": "medium",
"high": "high",
"xhigh": "max"
},
"cost": {
"input": 1.2,
"output": 4.1,
"cacheRead": 0.2,
"cacheWrite": 0
}
}
]
}
}
}