Skip to content

Commit 27b3314

Browse files
committed
feat: add GLM-4.6-turbo model to Chutes provider
- Added zai-org/GLM-4.6-turbo to ChutesModelId type definition - Added model configuration with 200K context window and turbo pricing - Maintains consistency with existing GLM-4.5-turbo pricing model Fixes #8515
1 parent 97f9686 commit 27b3314

File tree

1 file changed

+21
-6
lines changed

1 file changed

+21
-6
lines changed

packages/types/src/providers/chutes.ts

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export type ChutesModelId =
3434
| "zai-org/GLM-4.5-FP8"
3535
| "zai-org/GLM-4.5-turbo"
3636
| "zai-org/GLM-4.6-FP8"
37+
| "zai-org/GLM-4.6-turbo"
3738
| "moonshotai/Kimi-K2-Instruct-75k"
3839
| "moonshotai/Kimi-K2-Instruct-0905"
3940
| "Qwen/Qwen3-235B-A22B-Thinking-2507"
@@ -87,7 +88,8 @@ export const chutesModels = {
8788
supportsPromptCache: false,
8889
inputPrice: 0.23,
8990
outputPrice: 0.9,
90-
description: "DeepSeek‑V3.1‑Terminus is an update to V3.1 that improves language consistency by reducing CN/EN mix‑ups and eliminating random characters, while strengthening agent capabilities with notably better Code Agent and Search Agent performance.",
91+
description:
92+
"DeepSeek‑V3.1‑Terminus is an update to V3.1 that improves language consistency by reducing CN/EN mix‑ups and eliminating random characters, while strengthening agent capabilities with notably better Code Agent and Search Agent performance.",
9193
},
9294
"deepseek-ai/DeepSeek-V3.1-turbo": {
9395
maxTokens: 32768,
@@ -96,7 +98,8 @@ export const chutesModels = {
9698
supportsPromptCache: false,
9799
inputPrice: 1.0,
98100
outputPrice: 3.0,
99-
description: "DeepSeek-V3.1-turbo is an FP8, speculative-decoding turbo variant optimized for ultra-fast single-shot queries (~200 TPS), with outputs close to the originals and solid function calling/reasoning/structured output, priced at $1/M input and $3/M output tokens, using 2× quota per request and not intended for bulk workloads.",
101+
description:
102+
"DeepSeek-V3.1-turbo is an FP8, speculative-decoding turbo variant optimized for ultra-fast single-shot queries (~200 TPS), with outputs close to the originals and solid function calling/reasoning/structured output, priced at $1/M input and $3/M output tokens, using 2× quota per request and not intended for bulk workloads.",
100103
},
101104
"deepseek-ai/DeepSeek-V3.2-Exp": {
102105
maxTokens: 163840,
@@ -105,7 +108,8 @@ export const chutesModels = {
105108
supportsPromptCache: false,
106109
inputPrice: 0.25,
107110
outputPrice: 0.35,
108-
description: "DeepSeek-V3.2-Exp is an experimental LLM that introduces DeepSeek Sparse Attention to improve long‑context training and inference efficiency while maintaining performance comparable to V3.1‑Terminus.",
111+
description:
112+
"DeepSeek-V3.2-Exp is an experimental LLM that introduces DeepSeek Sparse Attention to improve long‑context training and inference efficiency while maintaining performance comparable to V3.1‑Terminus.",
109113
},
110114
"unsloth/Llama-3.3-70B-Instruct": {
111115
maxTokens: 32768, // From Groq
@@ -326,6 +330,16 @@ export const chutesModels = {
326330
description:
327331
"GLM-4.6 introduces major upgrades over GLM-4.5, including a longer 200K-token context window for complex tasks, stronger coding performance in benchmarks and real-world tools (such as Claude Code, Cline, Roo Code, and Kilo Code), improved reasoning with tool use during inference, more capable and efficient agent integration, and refined writing that better matches human style, readability, and natural role-play scenarios.",
328332
},
333+
"zai-org/GLM-4.6-turbo": {
334+
maxTokens: 32768,
335+
contextWindow: 202752,
336+
supportsImages: false,
337+
supportsPromptCache: false,
338+
inputPrice: 1,
339+
outputPrice: 3,
340+
description:
341+
"GLM-4.6-turbo model with 200K token context window, optimized for fast inference with GLM-4.6 capabilities.",
342+
},
329343
"Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8": {
330344
maxTokens: 32768,
331345
contextWindow: 262144,
@@ -387,8 +401,9 @@ export const chutesModels = {
387401
contextWindow: 262144,
388402
supportsImages: true,
389403
supportsPromptCache: false,
390-
inputPrice: 0.1600,
391-
outputPrice: 0.6500,
392-
description: "Qwen3‑VL‑235B‑A22B‑Thinking is an open‑weight MoE vision‑language model (235B total, ~22B activated) optimized for deliberate multi‑step reasoning with strong text‑image‑video understanding and long‑context capabilities.",
404+
inputPrice: 0.16,
405+
outputPrice: 0.65,
406+
description:
407+
"Qwen3‑VL‑235B‑A22B‑Thinking is an open‑weight MoE vision‑language model (235B total, ~22B activated) optimized for deliberate multi‑step reasoning with strong text‑image‑video understanding and long‑context capabilities.",
393408
},
394409
} as const satisfies Record<string, ModelInfo>

0 commit comments

Comments
 (0)