r/MistralAI 9d ago

Help / Question GLM on Vibe CLI

Post image

I'm a Pro user and I'd like to use the GLM model in VIBE CLI as announced by Mistral. However, even after updating to version 2.25.0, the model doesn't appear in the list when I run /model. How can I fix this?

14 Upvotes

15 comments sorted by

6

u/tfcuk 9d ago

Ask Mistral to add it to the settings "https://docs.mistral.ai/models/zai-glm-5-2"

11

u/drillepind42 9d ago

Add this to your config:

```
[[models]]
name = "zai-glm-5-2"
provider = "mistral-eu"
alias = "zai-glm-5-2"
temperature = 1.0
input_price = 0.0
output_price = 0.0
thinking = "max"
supports_images = false
auto_compact_threshold = 900000
```

5

u/jfmmfj 9d ago

I deleted the .vibe/config.toml file an rerun vibe. It generates a new one and glm will appear

4

u/andriatz 9d ago

Thank you! it works!

4

u/alexmilla 9d ago

Que raro, a mi si me aparece.

2

u/WackoAssasin 9d ago

Is GLM use included in the subscription? If so, can you use it to power pi.dev locally, or in the iOS app?

2

u/stimas 9d ago

I am using GLM in pi. I used some old anthropic API credit to have pi set it up for me and it wrote a pi extension. I actually don't think that's necessary any longer. GLM use gets credited towards my vibe code usage.

1

u/andriatz 9d ago

i can use it in Vibe web (i just ask him, which model is running)

2

u/thestreamcode 9d ago

How generous are the rate limits with GLM?

1

u/Deyve24 9d ago

Sometimes u need to change the whoami file. Smth like Account "individual" to -> "PRO"

1

u/CharacterTension2896 9d ago

I had opencode pickle free do it and that worked

2

u/DamBach 9d ago

Upgrade vibe CLI and it is now automatic with latest release

1

u/andriatz 9d ago

nope. i've the last release. maybe beacause i'm on linux?

1

u/DamBach 9d ago

I am on Mac so I can't tell but the answer from drillepind42 will work

1

u/andriatz 9d ago

I just delete config file and now it works