feat: declare cerebras and mistral model catalogs

This commit is contained in:
Shakker
2026-04-28 03:10:21 +01:00
parent 7f87593548
commit a30632eb28
2 changed files with 173 additions and 0 deletions

View File

@@ -15,6 +15,73 @@
}
}
},
"modelCatalog": {
"providers": {
"cerebras": {
"baseUrl": "https://api.cerebras.ai/v1",
"api": "openai-completions",
"models": [
{
"id": "zai-glm-4.7",
"name": "Z.ai GLM 4.7",
"input": ["text"],
"reasoning": true,
"contextWindow": 128000,
"maxTokens": 8192,
"cost": {
"input": 2.25,
"output": 2.75,
"cacheRead": 2.25,
"cacheWrite": 2.75
}
},
{
"id": "gpt-oss-120b",
"name": "GPT OSS 120B",
"input": ["text"],
"reasoning": true,
"contextWindow": 128000,
"maxTokens": 8192,
"cost": {
"input": 0.35,
"output": 0.75,
"cacheRead": 0.35,
"cacheWrite": 0.75
}
},
{
"id": "qwen-3-235b-a22b-instruct-2507",
"name": "Qwen 3 235B Instruct",
"input": ["text"],
"contextWindow": 128000,
"maxTokens": 8192,
"cost": {
"input": 0.6,
"output": 1.2,
"cacheRead": 0.6,
"cacheWrite": 1.2
}
},
{
"id": "llama3.1-8b",
"name": "Llama 3.1 8B",
"input": ["text"],
"contextWindow": 128000,
"maxTokens": 8192,
"cost": {
"input": 0.1,
"output": 0.1,
"cacheRead": 0.1,
"cacheWrite": 0.1
}
}
]
}
},
"discovery": {
"cerebras": "static"
}
},
"providerAuthEnvVars": {
"cerebras": ["CEREBRAS_API_KEY"]
},

View File

@@ -15,6 +15,112 @@
}
}
},
"modelCatalog": {
"providers": {
"mistral": {
"baseUrl": "https://api.mistral.ai/v1",
"api": "openai-completions",
"models": [
{
"id": "codestral-latest",
"name": "Codestral (latest)",
"input": ["text"],
"contextWindow": 256000,
"maxTokens": 4096,
"cost": {
"input": 0.3,
"output": 0.9,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "devstral-medium-latest",
"name": "Devstral 2 (latest)",
"input": ["text"],
"contextWindow": 262144,
"maxTokens": 32768,
"cost": {
"input": 0.4,
"output": 2,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "magistral-small",
"name": "Magistral Small",
"input": ["text"],
"reasoning": true,
"contextWindow": 128000,
"maxTokens": 40000,
"cost": {
"input": 0.5,
"output": 1.5,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "mistral-large-latest",
"name": "Mistral Large (latest)",
"input": ["text", "image"],
"contextWindow": 262144,
"maxTokens": 16384,
"cost": {
"input": 0.5,
"output": 1.5,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "mistral-medium-2508",
"name": "Mistral Medium 3.1",
"input": ["text", "image"],
"contextWindow": 262144,
"maxTokens": 8192,
"cost": {
"input": 0.4,
"output": 2,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "mistral-small-latest",
"name": "Mistral Small (latest)",
"input": ["text", "image"],
"reasoning": true,
"contextWindow": 128000,
"maxTokens": 16384,
"cost": {
"input": 0.1,
"output": 0.3,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "pixtral-large-latest",
"name": "Pixtral Large (latest)",
"input": ["text", "image"],
"contextWindow": 128000,
"maxTokens": 32768,
"cost": {
"input": 2,
"output": 6,
"cacheRead": 0,
"cacheWrite": 0
}
}
]
}
},
"discovery": {
"mistral": "static"
}
},
"providerAuthEnvVars": {
"mistral": ["MISTRAL_API_KEY"]
},