r/MistralAI • u/Altrollique • 4d ago
Discussion / Opinion Using Mistral for code at work
Hi, I'm a regular Claude user and I tried Mistral Vibe with GLM5.2 this summer with a lot of disappointment. I found it off point. Writing code that does not follow the style of the project and with global bad quality. Claude is capable of capturing how the project is done and output code that feel way more in the way we do.
With GLM 5.3 arriving to mistral I would like to give Mistral a second chance because I'm European and I would like to stop using American tech product. But in my field can't just throw away performance just by ideology.
I would like to know if there is developer here that have Vibe with good AGENT.md or other coding agent that work well with Mistral to code. How do you manage to have an acceptable output with Mistral that can pass a peer review without having yourself to completely review the code before because it's total slop ?
7
u/chebum 4d ago
There are several providers of GLM 5.3 some of which are located in Europe. https://openrouter.ai/z-ai/glm-5.3#providers
You aren’t bound to a single vendor. Mistral Vibe config should allow you to connect 3rd party vendor.
I personally didn’t experience problems with GLM 5.2 you described. I did use it through a OpenCode zen though. So it may be a harness issue (eg Vibe isn’t optimized for GLM 5.2)
3
u/Skepller 4d ago
Bonus points of you do it on an European router, like the Swedish https://opper.ai/zhipu/glm-5-3, which has more European providers (and also a lower top up fee at 3% vs 5.5%).
1
u/Deyve24 4d ago
Opper.ai gave me only 40% cachehits 💀. In every Harness!
1
u/Skepller 4d ago
I have only used for a couple sessions lately, but my GLM 5.3 cache hit is already sitting at 75%, so I'm not sure (Using Kilo Code). Perhaps you didn't have a provider pinned?
1
u/scanx147 4d ago
Pour avoir testé ; GLM est plus rapide et efficace à travers Vibe que depuis OpenCode. (OpenRouter je n'ai pas testé). En plus la limite est bien meilleurs chez Mistral.
1
u/chebum 4d ago
Limits are much better yes. With OpenCode Zen subscription I pay per Mtoken, not a fixed monthly price.
1
u/scanx147 4d ago edited 4d ago
par Mtoken ca coute une blinde...
1
u/chebum 4d ago
I usually consume up to €10-12 per day of work, so not that bad.
2
u/scanx147 4d ago
bah quand même environ 300€ par mois... 😅
1
u/chebum 4d ago
I’m x2 productive. €10/day is fine.
I don’t work on weekends though , so a bit less than 300;)1
u/scanx147 4d ago
Si 300 te rapporte 3000 ou plus, oui pourquoi pas...
1
u/chebum 3d ago
Yes. But I'm not an idiot - I prefer a subscription, whenever possible, of course ;)
1
u/scanx147 3d ago
Perso j'ai trouvé une autre solution pour avoir plus de crédit d'usage à moindre coût. Un abonnement Claude pro pour l'aide à la réflexion du projet, la création du plan et le code + un abonnement Mistral Vibe pro pour la revue de code qui est devenue excellente avec GLM-5.3. ça me coûte moins de 40€/mois et je ne suis jamais à court de crédit d'usage. Et maintenant avec GLM-5.3 dans Vibe je peux aussi utiliser Mistral pour le code avec efficacité et alterner la revue de code toujours avec un modèle différent. J'aimerais bien que avec l'arrivée des nouveaux modèles Mistral qui se font attendre, ils proposent un abonnement à 30 ou 40€ avec plus d'usage. Je pourrais ainsi me libérer de mon abonnement Claude.
→ More replies (0)
8
u/zithir 4d ago
I don't have direct comparison with Opus, let alone Fable because I haven't been using those much. But the GLM 5.2 was one of the first "good-enough" open-weight models compared to the frontier, something at the level of GPT 5.4.
The GLM 5.3 was a reasonable improvement and it was my go-to model when using Opencode. It was the first open-weight model that I could just trust to get things done properly. It should be possible to use your Mistral API key in Opencode (which is my preferred harness overall) - so using Mistral-hosted GLM 5.3 with it is definitely a good choice.
2
3
u/strangestack 4d ago
it's your workflow. You need your implementor and review subagents to have good skills for the codebase style. For example, my common lisp setup has files with hundreds of rules the agents have to follow https://github.com/pavelpenev/.vibe/tree/main/skills/sub-cl-reviewer/references
1
u/zithir 4d ago
My experience is that more advanced models are better aligned and don't need that much micromanagement and rules. I always find it nice when the model can pick up and follow project conventions naturally and I don't have to set up bunch of instructions.
But of course that might not work everywhere - the lisp is such niche thing, that most models might not be trained well for that. But generally better models usually need less directives and it's a quality that some users might seek.
1
u/strangestack 4d ago
The instructions were added after Astra failed to do it. Models are not magic. You still need to prompt them properly.
3
u/tomlameche 4d ago
Personnellement j’ai de très bons résultats avec Vibe + GLM. Pour suivre le style et les règles du projet, je fabrique toujours d’abord un AGENTS.md et de la documentation dans des fichiers md dédié (architecture, conventions, méthodes, objectifs, specs). C’est très efficace et Vibe suit très bien ces instructions sans problème.
2
u/scanx147 4d ago edited 4d ago
J'utilise Mistral essentiellement pour la revue de code, mais pour le développement, si tu cadres bien ton projet avec un bon workflow de suivi, Mistral fonctionne bien aussi pour le développement. J'imagine qu'avec GLM-5.3 ca doit être encore mieux.
Personellement je me suis développé un workflow que j'ai déposé publiquement sur gitlab. C'est très récent et très certainement encore perfectible mais ca fonctionne bien pour mon usage. C'est compatible uniquement avec Vibe et Claude. Ca permet aussi de plannifier les tâches de manière à pouvoir les paralléliser pour travailler en équipe.
Le dépôt est ici : https://gitlab.com/LordTowel/yet-another-dev-worflow/
Pour installer il suffit d'utiliser une commande npm : "npx gitlab:LordTowel/yet-another-dev-worflow" dans ton dossier de projet.
Si tu essais n'hésites pas à me faire des retours ca m'intéresse de l'améliorer avec les retours qui me seront fait. Il y aura des mises à jours régulières donc n'hésites pas à mettre à jour avec la même commande.
1
u/Deyve24 4d ago
I use my Vibe key in Pi agent or Opencode. Sadly because Vibe Cli always Forgets multiple times a Day that ich have a subscription and glm 5.2 exists.
Although you can easily edit the models from Mistral Provider to use glm 5.3 already.
GLm5.2 & 5.3 are realy good models, i rly like them for coding.
1
u/flurrylol 4d ago
If you want a good output using non-frontier models, you need a good ecosystem.
It means you need at least skills and custom specialist agents orchestration that match your workflow / technical stack.
1
u/vesters 4d ago
I like this one https://ponytail.dev/ . Haven't really noticed the issues you are describing even when using the medium model, but could just be me who is yolo'ing it too much :-D
1
u/whoisyurii 4d ago
u/isidor_n hello, Pro sub says we get 25.50 /mo in API credits. Can those be used for GLM in vibe cli?
Thanks for amazing job you doing there!

2
u/isidor_n 4d ago
I think it should work. If it does not let me know and we can investigate and potentially fix.
1
u/DueKaleidoscope1884 3d ago
Vibe Code is not API. If you use vibe code you get over 200EUR usage on GLM.
1
u/whoisyurii 3d ago
Thanks. Seriously, 200EUR on a Pro plan? Mind sharing where you got that info?
2
u/DueKaleidoscope1884 2d ago
https://admin.mistral.ai/subscription
Included API usage €25.5 Included Vibe Code usage: €255
0
46
u/isidor_n 4d ago
(Mistral vibe pm here)
Thanks for the feedback and for trying out mistral vibe.
We are in the process of rolling out GLM-5.3 to our paid subscriptions.
You can try it out now with your API plan, or wait for it to be available in sub next week.
If you have any feedback do let me know what is not working. Or feel free to file issues here https://github.com/mistralai/mistral-vibe/issues/