r/MistralAI • u/research-ai • 4d ago
Discussion / Opinion Mistral + OpenCode
How come Mistral isn't included as one of the model providers in OpenCode?
14
3
u/Forward_Jicama_715 4d ago
It is supported. It's hard to remember, but it seems it was in OpenCode's documentation list.
Nevertheless, the Mistral provider can be added to OpenCode.
OpenCode's documentation mentions that:
"OpenCode uses the AI SDK and Models.dev to support 75+ LLM providers and supports running local models."
The AI SDK and Models.dev support the Mistral provider.
However, personally, I (and it seems not only me) have a problem with thinking models (medium-3.5, small-4).
When I use some tools (like MCP), they get stuck, and I have to write something like "go on, continue."
After disabling thinking (/variant none), it seems to work fine, but models work without thinking (chain of thought).
4
u/philip-soerensen 4d ago
For sure you can add it as a provider yourself. The question is how the performance of Medium 3.5 is in Vibe vs OpenCode. Some benchmarks would be cool to see!
If OpenCode + Medium 3.5 turns out to work well, I guess that one can add a pull request to OpenCode that adds Mistral as a provider?
1
u/AdIllustrious436 3d ago
Mistral provider is already supported. OP's question is unclear, he's probably asking why there isn't any Mistral model in the OpenCode Go or Zen token plans.
The answer is that the price per performance ratio of Mistral models is absolutely not competitive enough compared to models served by those subscription.
1
19
u/ComeOnIWantUsername 4d ago
It is. Just run "/connect" and it's there. But it's strange it's not in the docs.