You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I checked around in the source files, ran some raw web requests against the endpoint, and saw exactly what's going on. The 402 Payment Required error is only happening on the DeepSeek models.
opencode free models have limits too. and they reset within 5 hours i think.
so just wait for 5 hours and come back. it works again for me too
but do aware, that in the opencode docs, it says free models are free for a limited time.
they are using the free models usage as a training ground for their models. when the
training ends, it probably will no longer be free :(
Activity
github-actions commentedon Jul 3, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is the same, please add a comment there instead so we can track it in one place.
PHDiniiz commentedon Jul 3, 2026
Same here
fintantopton commentedon Jul 3, 2026
just happened to me too. guess our fun just ended 😭
PHDiniiz commentedon Jul 3, 2026
IA bubble is breaking? .-.
Crqptx commentedon Jul 3, 2026
Having the same issue as we speak...
CoreBedtime commentedon Jul 3, 2026
DeepSeek V4 Pro in OpenCode Go getting "Bad Gateway" error
Em-Ant commentedon Jul 3, 2026
Deepseek V4 Flash Free and Big Pickle (on Ubuntu 24.04)
Internal error: Insufficient Balance: {
"service": "session",
"errorName": "APIError"
}
other free models work
PHDiniiz commentedon Jul 3, 2026
Someone using Big Pickle too?
CopperEagle commentedon Jul 3, 2026
Same behavior here too, DeepSeek V4 Flash Free and Big Pickle return "Insufficient Balance"...
Crqptx commentedon Jul 3, 2026
Deepseek V4 Flash Free - Not working
Big Pickle - Not working
North Mini Code Free - Working
MiMo V2.5 Free - Working
Nemotron 3 Ultra Free - Working
PHDiniiz commentedon Jul 3, 2026
whilmarbitoco commentedon Jul 3, 2026
guess we cant have it free forever
CopperEagle commentedon Jul 3, 2026
Sure... still let's keep an eye on the docs, the affected models are still denoted "free" right now...
Omitze commentedon Jul 3, 2026
indeed
12 remaining items
ammarfitwalla commentedon Jul 3, 2026
alot of us are building something using ai which is great! can we open to discuss on what are we all building as developers?
Unamelable commentedon Jul 3, 2026
Self-esteem fund (its empty)
Crqptx commentedon Jul 3, 2026
I checked around in the source files, ran some raw web requests against the endpoint, and saw exactly what's going on. The
402 Payment Requirederror is only happening on the DeepSeek models.Here is what the endpoint returns:
{ "error": { "message": "Error from provider (DeepSeek): Insufficient Balance", "type": "unknown_error", "param": null, "code": "invalid_request_error" } }HTTP Status: 402
Quick Status Breakdown
200 OK402 Payment Required(Upstream wallet empty)200 OK402 Payment Required(Upstream wallet empty)200 OKSteps to Reproduce
Linux & macOS (Bash / Zsh)
Windows 11 (PowerShell)
Windows 11 (Command Prompt / CMD)
romain-ai commentedon Jul 3, 2026
other free models are failing to, maybe from the load of deepseek users finding alternatives
Crqptx commentedon Jul 3, 2026
Not sure I haven't had any issues testing just now. Could be a possibility of course.
297jun commentedon Jul 3, 2026
You can use it now.
297jun commentedon Jul 3, 2026
Crqptx commentedon Jul 3, 2026
Seems to be working for me again as well.
297jun commentedon Jul 3, 2026
Opencode is really great
PHDiniiz commentedon Jul 3, 2026
Is back again! \o/
Opencode is really great!!!!
ammarfitwalla commentedon Jul 3, 2026
YAAAAAAAAAAAYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
whilmarbitoco commentedon Jul 3, 2026
opencode the GOAT
emirBytes commentedon Jul 3, 2026
opencode free models have limits too. and they reset within 5 hours i think.
so just wait for 5 hours and come back. it works again for me too
but do aware, that in the opencode docs, it says free models are free for a limited time.
they are using the free models usage as a training ground for their models. when the
training ends, it probably will no longer be free :(
fwang commentedon Jul 5, 2026
should be working now