Files
9router/open-sse/providers/registry/cerebras.js
T
decoluaandCursor bb9e9aa91f refactor(open-sse): registry consolidation + DRY media/oauth/adhoc cleanup
- Single-source registry: oauth clientId/tokenUrl, usage URLs, image/embed
  configs, search defaultModel, codex fixedPort, google token url derive.
- Remove 29 unused OmniRoute providers (registry 100→71); media intact.
- De-adhoc: codex literals → registry format/oauth flags; reasoningInject,
  image/embed openrouter headers + xai bodyFields config-driven.
- Add REGISTRY_TEMPLATE.js + expand PROVIDER_DEFAULTS/schema JSDoc.
- Baselines updated; PROVIDERS 62 + alias 90 byte-for-byte, golden snapshots.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-14 13:15:48 +07:00

47 lines
990 B
JavaScript

export default {
"id": "cerebras",
"alias": "cerebras",
display: {
"name": "Cerebras",
"icon": "memory",
"color": "#FF4F00",
"textIcon": "CB",
"website": "https://www.cerebras.ai",
"notice": {
"apiKeyUrl": "https://cloud.cerebras.ai/platform"
}
},
category: "apikey",
"transport": {
"baseUrl": "https://api.cerebras.ai/v1/chat/completions",
"validateUrl": "https://api.cerebras.ai/v1/models",
"quirks": { "dropClientMetadata": true }
},
"models": [
{
"id": "gpt-oss-120b",
"name": "GPT OSS 120B"
},
{
"id": "zai-glm-4.7",
"name": "ZAI GLM 4.7"
},
{
"id": "llama-3.3-70b",
"name": "Llama 3.3 70B"
},
{
"id": "llama-4-scout-17b-16e-instruct",
"name": "Llama 4 Scout"
},
{
"id": "qwen-3-235b-a22b-instruct-2507",
"name": "Qwen3 235B A22B"
},
{
"id": "qwen-3-32b",
"name": "Qwen3 32B"
}
]
};