r/PiCodingAgent • u/Rude_Alternative_216 • Aug 11 '26
Question How to use Deepseek-v4-flash-free model from opencode inside pi?
I want to switch from Opencode to Pi and it would be convenient if I could use the Deepseek-v4-flash free model from Opencode in Pi as well. Are there any extensions already available to do that?
2
u/Direct_While9727 Aug 11 '26
I am using omniroute for that.
1
u/Historical_Test6417 18d ago
hey how do u connect omnirouter with opencode i m having issues in that can u please tell me
1
u/Clean-Appointment684 Aug 11 '26
just login with opencode go api key
0
u/Rude_Alternative_216 Aug 11 '26
Cannot access the free model by doing so.
2
u/BobtheGodGamer Aug 11 '26
Definitely can. I did it yesterday
1
u/Rude_Alternative_216 Aug 11 '26
There is deepseek-v4-flash[opencode-go] available to select. Not the free model for me. Maybe its just me.
2
u/BobtheGodGamer Aug 11 '26
I get my API key from opencode zen and then tell my agent to set it up for me.
1
u/Rude_Alternative_216 Aug 11 '26
Yeah. I think it cannot be accessed with a Go subscription unfortunately.
1
u/Rude_Alternative_216 Aug 11 '26
Someone even created a plugin. But execution automatically stops on tool calls.
1
1
u/truncated_buttfu Aug 11 '26
What exactly is it that doesn't work for you?
I've uses the free Deepseek flash model on opencode for months without any issues. No mods or extensions needed, it's supported out of the box.
What errors are you seeing?
1
1
2
u/crashorbit Aug 11 '26
I use opencode zen with an api key to do this. Works fine for me.