Skip to content

How to disable thinking in GLM-4.6? #3259

Closed

Description

@remorses

How to disable thinking in GLM-4.6 from Zen?

Activity

  1. github-actions commented on Oct 18, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. rekram1-node commented on Oct 19, 2025

    @rekram1-node
    Contributor

    @remorses we are gonna make it a lot easier in the future rn you can do this:

    {
      "$schema": "https://opencode.ai/config.json",
      "provider": {
        "opencode": {
          "models": {
            "glm-4.6": {
              "options": {
                "reasoning": {
                  "enabled": false
                }
              }
            }
          }
        }
      }
    }
    
  3. JosXa commented on Nov 20, 2025

    @JosXa
    Contributor

    On the Cerebras provider, this seems to do the trick:

      "provider": {
        "cerebras": {
          "models": {
            "zai-glm-4.6": {
              "name": "Z.AI GLM 4.6",
              "options": {
                "disable_reasoning": true
              }
            }
          }
        },
      }
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions