Skip to content

Add glm-5 to MODEL_MAPPING #90

Description

@Bruteforce-Everything

GLM-5 is a Kiro-supported model (launched 2026-03-31, us-east-1, 200K context, 0.5x credit multiplier — https://kiro.dev/docs/cli/models/#glm-5) but is missing from MODEL_MAPPING in plugin 1.9.0, so requests fail with Unsupported model.

Issue #78 originally listed 5 missing models. Version 1.9.0 added 4 of them (deepseek-3.2, minimax-m2.5, minimax-m2.1, qwen3-coder-next) but glm-5 was not included. Closed PR #81 attempted all 5 but was not merged.

Error message

Unsupported model: glm-5. Supported models: claude-haiku-4-5, claude-haiku-4-5-thinking, claude-sonnet-4-5, claude-sonnet-4-5-thinking, claude-sonnet-4-5-1m, claude-sonnet-4-5-1m-thinking, claude-sonnet-4-6, claude-sonnet-4-6-thinking, claude-sonnet-4-6-1m, claude-sonnet-4-6-1m-thinking, claude-opus-4-5, claude-opus-4-5-thinking, claude-opus-4-6, claude-opus-4-6-thinking, claude-opus-4-6-1m, claude-opus-4-6-1m-thinking, claude-opus-4-7, claude-opus-4-7-thinking, claude-sonnet-4, claude-3-7-sonnet, nova-swe, gpt-oss-120b, minimax-m2, kimi-k2-thinking, auto, deepseek-3.2, minimax-m2.5, minimax-m2.1, qwen3-coder-next

To reproduce

  1. Configure kiro provider in opencode.json with model glm-5.
  2. Run opencode run -m kiro/glm-5 "hi" (or select GLM-5 in the model picker).
  3. Error above.

Environment

  • OS: Linux (WSL)
  • plugin: @zhafron/opencode-kiro-auth@1.9.0
  • opencode version: 1.14.39

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions