r/opencode • u/aruthesa • 26d ago
what provider/model combo are you using with opencode these days?
trying to figure out a good setup for opencode and there are way more options than i expected. been looking at a few, io intelligence being one of them, I’d like to know what you all think.
what are you running and why? mostly curious about:
- which models hold up best for longer agentic sessions, especially tool calling
- whether you go for cheap and fast or pay for the best model
- how you deal with rate limits or usage caps when working on something big
if you’ve tried io intelligence specifically, i’d love to hear how it went, good or bad

5
Upvotes
4
u/True_Extreme6205 26d ago
NVIDIA NIM/Minimax M3.1 or Mistral Large 4, becuase DeepSeek V4.1 and other better models are slow. Btw used https://github.com/shivnathtathe/UnlimitedNIM one
1
u/justzlo 26d ago
It really depends on the task. I mainly use gpt-6 sol ($0.3/m with a Russian provider). For big tasks, I use deepseek v4; for research grok 4.7
I don't like subscriptions, but claude / cursor connected to opencode is a better deal
1
u/Ornery_Ice_7820 26d ago
what worked for me is splitting it: a cheap fast model for the bulk of edits and tool calling, and a stronger one only for planning or when it gets stuck in a loop. you can set a small_model in opencode.json and switch the main model per session with /models. for rate limits on big tasks, keep sessions short and compact often, and have a second provider configured as a fallback so you can swap when one hits its cap. long agentic runs mostly fall apart on tool-call reliability, so test a model on a real multi-file task before committing to it.
1
u/for4f 26d ago
i run deepseek v4.1 flash direct in opencode for most stuff, it's cheap and the tool calling holds up fine over long sessions. for the gnarly planning i'll swap to something bigger per session with /models. splitting it that way keeps costs dumb low and i barely hit limits since the small model burns through the bulk work
1
u/openference 25d ago
A popular setup right now in OpenCode is running a multi-model split: a frontier model (like Opus or Sol) for planning, and delegating the heavy tool-calling and code writing to GLM-5.3-Flash or DeepSeek-V4.1-Flash.If you are hitting rate limits or usage caps on other plans, come check us out at https://openference.com. We specifically optimize for coding agent workloads:• Full FP8 precision (no compressed low-bit quants where tool calling and syntax break).• Full 1M token context window supported on GLM-5.3-Flash ($0.15/1M in, $0.50/1M out) and DeepSeek-V4.1-Flash ($0.30/1M in, $1.20/1M out).• Generous usage allowances with fresh quota resets every 5 hours (5 resets/day) plus on-demand paygo so your agent sessions never get choked mid-task.• Drop-in OpenAI-compatible endpoint that plugs straight into OpenCode config.
1
u/xapep 25d ago
I run an inference API (Entrim), so take the provider view with a grain of salt.
For long agentic sessions the thing that breaks first is usually tool-call reliability once context gets big, not raw speed. DeepSeek V4.1 Flash is what I see used through the middle of a session most often, mainly because a retry there is cheap enough that it doesn't hurt. GLM 5.3 Flash tends to get the harder steps. Qwen 3.8 27B is fine for side work (titles, summaries, search preprocessing), I wouldn't drive the main loop with it.
On caps: pick a provider with published per-key limits instead of silent queueing, and keep a second OpenAI-compatible endpoint configured so a cap doesn't end the session. In opencode that's a config change, not a rebuild.
Which side of your sessions actually runs long, the tool loop or the file reads?
1
u/MeliousAI_HQ 24d ago
the split setup is the way to go imo: a cheap fast model like GLM 5.3 Flash or DeepSeek V4.1 Flash for edits and tool calls, a bigger one only for planning or when it loops. for long sessions tool calling usually breaks once context gets big, so compacting or starting fresh around 100-150k helps more than switching models. let me know if I should send you a few providers to try
1
u/Evening_Credit8424 22d ago
On the small_model suggestion above: that setting handles jobs such as session titles; it doesn’t automatically route easy coding work to a cheaper model. Set agent.plan.model and agent.build.model separately in opencode.json, then switch between Plan and Build with Tab. I work with Ofox; `opencode models ofox` gives you the full IDs to use for that provider. This sets up a manual split, not automatic delegation. I haven’t tried io intelligence, so I can’t give you a comparison of their long-session reliability.
1
u/Material_Site_1711 10d ago
Anyone running M3.1 Flash in OpenCode for longer sessions? Curious which provider you’re using and whether tool calls stay reliable as the context grows. Would especially like to hear how it handles a multi-file change through several test/fix cycles, and whether rate limits force you to switch providers mid-task.