feat(types): add zai-glm-4.7 to Cerebras models (#10500)

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
This commit is contained in:
Seb Duerr 2026-01-07 18:29:54 -08:00 committed by GitHub
parent 1573edf295
commit 710e7dd358
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,19 @@ export const cerebrasModels = {
defaultToolProtocol: "native",
inputPrice: 0,
outputPrice: 0,
description: "Highly intelligent general purpose model with up to 1,000 tokens/s",
description: "Fast general-purpose model on Cerebras (up to 1,000 tokens/s). To be deprecated soon.",
},
"zai-glm-4.7": {
maxTokens: 16384, // Conservative default to avoid premature rate limiting (Cerebras reserves quota upfront)
contextWindow: 131072,
supportsImages: false,
supportsPromptCache: false,
supportsNativeTools: true,
defaultToolProtocol: "native",
inputPrice: 0,
outputPrice: 0,
description:
"Highly capable general-purpose model on Cerebras (up to 1,000 tokens/s), competitive with leading proprietary models on coding tasks.",
},
"qwen-3-235b-a22b-instruct-2507": {
maxTokens: 16384, // Conservative default to avoid premature rate limiting