Skip to content

Add zai-org/GLM-4.5-Air model to Chutes AI provider #6376

@matbgn

Description

@matbgn

What specific problem does this solve?

The Roo Code extension currently lacks support for the zai-org/GLM-4.5-Air model on the Chutes AI provider, which offers 151,329 token context window. This model performs on par with SOTA models.

Impact: All Roo Code users who need to process complex coding tasks.

Additional context (optional)

The zai-org/GLM-4.5-Air model offers:

151,329 token context window
106B total parameters with 12B activated
Free to use (no input/output pricing)

This model is particularly valuable for:

Complex reasoning tasks

Roo Code Task Links (Optional)

#6050

Request checklist

  • I've searched existing Issues and Discussions for duplicates
  • This describes a specific problem with clear impact and context

Interested in implementing this?

  • Yes, I'd like to help implement this feature

Implementation requirements

  • I understand this needs approval before implementation begins

How should this be solved? (REQUIRED if contributing, optional otherwise)

Add zai-org/GLM-4.5-Air to the ChutesModelId type
Add model configuration with 151,329 token context window to chutesModels

How will we know it works? (Acceptance Criteria - REQUIRED if contributing, optional otherwise)

Add test case to verify the new model configuration based on src/api/providers/tests/chutes.spec.ts

Technical considerations (REQUIRED if contributing, optional otherwise)

See upwards

Trade-offs and risks (REQUIRED if contributing, optional otherwise)

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or requestIssue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.proposal

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions