-
Notifications
You must be signed in to change notification settings - Fork 2.5k
feat: add GLM-4.6-turbo model to Chutes provider #8518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,6 +34,7 @@ export type ChutesModelId = | |
| | "zai-org/GLM-4.5-FP8" | ||
| | "zai-org/GLM-4.5-turbo" | ||
| | "zai-org/GLM-4.6-FP8" | ||
| | "zai-org/GLM-4.6-turbo" | ||
| | "moonshotai/Kimi-K2-Instruct-75k" | ||
| | "moonshotai/Kimi-K2-Instruct-0905" | ||
| | "Qwen/Qwen3-235B-A22B-Thinking-2507" | ||
|
|
@@ -87,7 +88,8 @@ export const chutesModels = { | |
| supportsPromptCache: false, | ||
| inputPrice: 0.23, | ||
| outputPrice: 0.9, | ||
| 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.", | ||
| 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.", | ||
| }, | ||
| "deepseek-ai/DeepSeek-V3.1-turbo": { | ||
| maxTokens: 32768, | ||
|
|
@@ -96,7 +98,8 @@ export const chutesModels = { | |
| supportsPromptCache: false, | ||
| inputPrice: 1.0, | ||
| outputPrice: 3.0, | ||
| 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.", | ||
| 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.", | ||
| }, | ||
| "deepseek-ai/DeepSeek-V3.2-Exp": { | ||
| maxTokens: 163840, | ||
|
|
@@ -105,7 +108,8 @@ export const chutesModels = { | |
| supportsPromptCache: false, | ||
| inputPrice: 0.25, | ||
| outputPrice: 0.35, | ||
| 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.", | ||
| 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.", | ||
| }, | ||
| "unsloth/Llama-3.3-70B-Instruct": { | ||
| maxTokens: 32768, // From Groq | ||
|
|
@@ -326,6 +330,15 @@ export const chutesModels = { | |
| description: | ||
| "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.", | ||
| }, | ||
| "zai-org/GLM-4.6-turbo": { | ||
| maxTokens: 32768, | ||
| contextWindow: 202752, | ||
| supportsImages: false, | ||
| supportsPromptCache: false, | ||
| inputPrice: 0, | ||
| outputPrice: 0, | ||
| description: "GLM-4.6-turbo model with 200K+ token context window, optimized for fast inference.", | ||
| }, | ||
| "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8": { | ||
| maxTokens: 32768, | ||
| contextWindow: 262144, | ||
|
|
@@ -387,8 +400,9 @@ export const chutesModels = { | |
| contextWindow: 262144, | ||
| supportsImages: true, | ||
| supportsPromptCache: false, | ||
| inputPrice: 0.1600, | ||
| outputPrice: 0.6500, | ||
| 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.", | ||
| inputPrice: 0.16, | ||
| outputPrice: 0.65, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [P3] Same as above for outputPrice; recommend consistent decimal precision across the catalog. |
||
| 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.", | ||
| }, | ||
| } as const satisfies Record<string, ModelInfo> | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[P3] Numeric precision: price fields use mixed formatting across entries. This PR changes 0.1600 to 0.16 here; consider using a consistent precision (e.g., 4 decimals) across all entries for readability and downstream parsing.