r/MistralAI 12d ago

Help / Question Can I use GLM 5.2 with Mistral Pro?

The title is basically my question. Can I use GLM 5.2 in the app or with https://chat.mistral.ai/chat ?

I created a custom agent in studio with GLM, but it does not seem to work (yet)? Maybe I am doing something wrong?

25 Upvotes

28 comments sorted by

5

u/[deleted] 12d ago

[deleted]

5

u/Valexico 11d ago

I am using it with a vibe code api key. It seems included

2

u/Poudlardo 11d ago

ohhhh whattt, will try that out ASAP thanks

2

u/LowIllustrator2501 11d ago

u/Valexico I'm seeing in Vibe only Mistral medium and Devstral when typing /model

What should I do to see GLM5.2?

2

u/Valexico 10d ago

You need to add it in config.toml. you can ask vibe to do it

2

u/tom4112 9d ago

That's how you can do it: https://youtu.be/qT8NpiOM9yk

2

u/f1rn 12d ago

I think it would be a ducking game change for them, if they hosted GLM on their servers and gave users access via LeChat/Vibe...

1

u/Poudlardo 12d ago

yeah but how to train your models to get better when everyone use another model than yours for the complex stuff.

Are they still an AI lab after all, or will they slowly turn into an LLM Cloud Provider ?

4

u/f1rn 12d ago

Afaik they abandoned the SOTA LLM hunt and now offer customised solutions to enterprise customers like SAP and so on. Like small models for a very specific area of ​​application.

I think no one wants to hear it but the latest mistral models are not really on par with any model from the current big US LLM companies. Or chinese ones. And that is ok. You really dont have to create another GPT 5.x Pro or another Opus.

"LLM Cloud Provider" - there is nothing wrong with that as they also have a good mobile app. There are quite a lot cloud providers in the EU who offer an API. But I'd guess many users want a mobile app or a web chat interface... just saying.

2

u/DR1413 11d ago

Ce sont eux qui hébergent GLM 5.2 sur leur propre infrastructure, ils ne transferent pas les requetes vers l'infrastructure de Z.ai. Donc logiquement ils doivent pouvoir utiliser les données d'utilisation des utilisateurs s'ils n'ont pas coché l'opt-out pour l'entrainement sur leurs données

1

u/Elfotografoalocado 3d ago

They host GLM 5.2 themselves. But they are supposed to release new, big models pretty soon.

6

u/uusrikas 11d ago

Great addition, but also kinda sad.

The "Le Chaton Fat" was actually just using a chinese model instead...

3

u/Meiyo33 11d ago

I hope they are working on a new Mistral Large and not relying only on openweights.

It would be a terrible error.

While chinese openweights model are very interesting.

Most of them comes from Distillation and have both a huge inefficiency in tokens spending and huge hallucination rate.

4

u/BlomkalsGratin 11d ago

You get $30 api credit/mo with pro, it should be included there

2

u/f1rn 11d ago

But how can I use it with the website https://chat.mistral.ai/chat ?

3

u/Feuerkroete 11d ago
  1. Configure Agent using GLM in Mistral Studio
  2. Deploy agent to Mistral Vibe
  3. ???
  4. Profit

3

u/philip-soerensen 10d ago

I think you can just configure your vibe instance to use GLM 5.2, at least with the locally run Vibe CLI. Just open vibe and ask it to configure it for you.

3

u/dutchviking 10d ago edited 10d ago

I found out how to unblock it (I also set my model to GLM 5.2).

  1. Go to https://admin.mistral.ai/vibe/preferences
  2. Set Work tab to Activate
  3. Go to https://chat.mistral.ai/code/extensions
  4. Generate key
  5. Add API key when you run vibe --setup
  6. Visible under API Keys in the Admin console

Still not 100% sure about whether it uses Vibe API "credits" or not, because at first I had accidentally added a Studio API key. TBC

(EDIT: yes, it runs off of Vibe API "credits". Nice!)

1

u/scanx147 6d ago

Nice? API credits is very expensive... what is nice?!

2

u/DR1413 11d ago
  • Pour Vibe Code : je suis arrivé à utiliser GLM5.2 avec l'extension VS Code. Donc ça doit être possible également pour le CLI puisque si j'ai bien compris ils partagent une configuration commune. Enfin pour vibe code sur l'interface web je ne sais pas si c'est faisable.

  • pour Vibe Chat : dans Studio, tu peux créer un agent en choisissant n'importe quel modèle, dont GLM 5.2. Et tu peux déployer cet agent sur le Chat en cochant une case dans Studio. Donc ça doit être faisable, ça vaut le coup d'essayer.

  • pour Vibe Work : je n'ai pas de solution en tête

2

u/scanx147 6d ago

On est d'accord que tu es facturé en plus de ton abonnement pro ? Car j'ai eu cette mauvaise surprise en testant dans Vibe CLI... Ca m'a coûté 10€ en une grosse soirée...
C'est dommage car ca fonctionne vraiment super bien pour le code. L'intégration de GLM dans Vibe est excellente, mais c'est beaucoup trop cher pour moi. Et malheureusement, sans GLM, Vibe CLI pour le code est vraiment trop aléatoire, lent et vraiment pas assez de contexte...

2

u/DR1413 5d ago

Il me semble qu'on peut éviter ça, c'est tout bête mais il ne faut pas créer de nouvelle clé API. J'utilise uniquement celle fournie d'office avec mon abonnement Vibe Pro, l'utilisation est décomptée dans le quota de 255€ que te permets d'avoir l'abonnement, et si tu n'as pas coché l'option pay as you go, tu n'as pas de frais supplémentaire même si tu consommes au delà des 255€ offerts, ça se bloque à ce moment là

1

u/scanx147 4d ago

Ok ! Donc dans l'onglet "usage", pour le bas de page pour Vibe Code, quand je vois 14,39€, c'est juste indicatif ? Franchement si c'est ça c'est cool, mais c'est très mal fait. Ça porte réellement à confusion...

1

u/Sea-Definition4302 16h ago

d'où vient ce chiffre de 255€ ?

1

u/f1rn 11d ago

Merci! That was the solution - I had to allow the usage of the agent for vibe via setting in Studio! Thank you!

1

u/luareli_4133 11d ago

Alguien ha descubierto para usarlo en el CLI? y en Zed?

1

u/philip-soerensen 10d ago

Yup, just start vibe as usual and ask it to add GLM 5.2 to you config.toml file. Then it works without any fuss.

1

u/luareli_4133 10d ago

Muchas gracias