Skip to content

Conversation

@raulcorreia7
Copy link

@raulcorreia7 raulcorreia7 commented Oct 5, 2025

Adds the zai-org/GLM-4.6-turbo model with 200K+ token context window and pricing information to the Chutes provider integration.


Important

Adds zai-org/GLM-4.6-turbo model to Chutes provider with 200K+ token context window and pricing details.

  • Model Addition:
    • Adds zai-org/GLM-4.6-turbo to ChutesModelId in chutes.ts.
    • Updates chutesModels in chutes.ts with GLM-4.6-turbo specifications: 32768 max tokens, 202752 context window, input price 1.15, output price 3.25.
  • Description:
    • Describes GLM-4.6-turbo as optimized for fast inference with enhanced reasoning and tool use capabilities.

This description was created by Ellipsis for 6c83f94. You can customize this summary. It will automatically update as commits are pushed.

Adds the zai-org/GLM-4.6-turbo model with 200K+ token context window and pricing information to the Chutes provider integration.
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. enhancement New feature or request labels Oct 5, 2025
Updates the GLM-4.6-FP8 model pricing from 0 to correct values: inputPrice: 0.5, outputPrice: 1.75 to match the chutes API pricing information.
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Oct 5, 2025
@raulcorreia7 raulcorreia7 deleted the add-glm-4.6-turbo branch October 5, 2025 00:41
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Oct 5, 2025
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap Oct 5, 2025
Copy link
Contributor

@roomote roomote bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found some issues that need attention. See inline comments.

Comment on lines +340 to +341
description:
"GLM-4.6-turbo model with 200K+ token context window, optimized for fast inference with enhanced reasoning and tool use capabilities.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3: Description says "200K+" while contextWindow is 202752. For consistency and clarity, consider using the exact number in the description (e.g., "202,752-token context window").

Copy link
Contributor

@roomote roomote bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found some issues that need attention. See inline comments.

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": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: Add/update tests to cover this new model ID in the Chutes provider. Include assertions that the model appears in the supported IDs and that its ModelInfo (contextWindow, maxTokens, pricing, image/prompt-cache support) matches expectations, e.g., in src/api/providers/tests/chutes.spec.ts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:M This PR changes 30-99 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant