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 confirm that, today 14-Aug-2026, this connection problem between OpenCode and Ollama-cloud models still remains the same. OpenCode simply cannot authenticate with the API key in Ollama-cloud.
To work, I needed to configure a provider for Ollama, directly in OpenCode.json,
pointing to the model stored in the cloud. Before using in OpenCode; I first need to start Ollama locally, so it can serve as a proxy for the cloud connection:
ollama pull qwen3.5:397b-cloud
ollama run qwen3.5:397b-cloud
carry out all work within OpenCode, and at the end of all:
ollama stop qwen3.5:397b-cloud
It's a lot of work, but it's the only way I found to use the credits I put into Ollama Cloud without knowing about this problem.
I have already canceled my subscription to Ollama Cloud.
Activity
rekram1-node commentedon Nov 22, 2025
Yeah we just need to add it to models.dev
rekram1-node commentedon Nov 22, 2025
It's pretty easy to do so, if you are up for it a PR would be welcome
rekram1-node commentedon Nov 22, 2025
Then we can document how to do it here in
provider.mdxfilefifthfrankie commentedon Nov 22, 2025
PR raised for this in models.dev: anomalyco/models.dev#419
rekram1-node commentedon Nov 22, 2025
Okay I merged it
hemangjoshi37a commentedon Nov 23, 2025
ollama cloud model kimi k2 thinking not working . just not getting any response from the ollama what so ever . please resolve this issue .
I am getting this error :
OllamaError : Unable to connect. is the computer able to access the url ?hemangjoshi37a commentedon Nov 23, 2025
I resolved the issue by adding
/v1to the provider url to the ollama one and the problem got resolved.bf-frieder commentedon Nov 30, 2025
Tryed the ollama cloud access with api-key today. I get the following error on all models.
Is it a me problem or is the ollama cloud option currently broken?
fifthfrankie commentedon Dec 2, 2025
You need to pull the model information first:
ollama pull gpt-oss:20b-cloud
Full info here: https://opencode.ai/docs/providers/#ollama-cloud
621625 commentedon Jan 12, 2026
Where do I add the ollama api key and in which format? export something?
itsthekidash3 commentedon Feb 5, 2026
Hey is this issue solved?
AJIredale commentedon Feb 27, 2026
Hey, just wanted to flag that this looks like it's already been resolved. Ollama Cloud was added to models.dev back in November (via anomalyco/models.dev#419), so
/connectwill show it in the provider list when you search for it. The docs are also live at https://opencode.ai/docs/providers/#ollama-cloud with full setup steps.Might be worth closing this one out if the maintainers agree everything is working as expected.
github-actions commentedon Apr 29, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.
fllsilva commentedon Aug 14, 2026
I confirm that, today 14-Aug-2026, this connection problem between OpenCode and Ollama-cloud models still remains the same. OpenCode simply cannot authenticate with the API key in Ollama-cloud.
To work, I needed to configure a provider for Ollama, directly in OpenCode.json,
pointing to the model stored in the cloud. Before using in OpenCode; I first need to start Ollama locally, so it can serve as a proxy for the cloud connection:
It's a lot of work, but it's the only way I found to use the credits I put into Ollama Cloud without knowing about this problem.
I have already canceled my subscription to Ollama Cloud.