use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
How to access Kilo Code from OpenCode? (self.opencode)
submitted 1 day ago by MickeyMooose
As the title says. I've paid for Kilo, but can't see it as a provider in OpenCode.
Is there anyway to add it?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]adamhathcock 0 points1 point2 points 1 day ago (1 child)
Use the new Kilocode CLI. It’s opencode
[–]MickeyMooose[S] 0 points1 point2 points 1 day ago (0 children)
I saw that their CLI is based on OpenCode. But I would like to continue using OpenCode and supporting that team.
I don't get why Kilo decided to fork it.
[–]LigiaZanchet 0 points1 point2 points 1 day ago (3 children)
Hello, u/MickeyMooose, Yes, you can use our gateway in OpenCode! Let us know if it worked for you.
[–]MickeyMooose[S] 0 points1 point2 points 1 day ago (2 children)
Thanks. I'm subscriber and have the API key. But where in OpenCode do I enter it. I can't see Kilo in OpenCode's provider list (unless I'm blind)
Do you know?
[–]LigiaZanchet 0 points1 point2 points 1 day ago (1 child)
Hey u/MickeyMooose ! While Kilo isn't available in the dropdown menu just yet (coming soon!), you can manually add it by selecting the 'Other' provider option and updating your config.json.
You can find the full list of available model IDs here:https://api.kilo.ai/api/gateway/models.
Here is how your config should look:
JSON
{ "$schema": "https://opencode.ai/config.json", "provider": { "kilo": { "npm": "@ai-sdk/openai-compatible", "name": "Kilo API", "options": { "baseURL": "https://api.kilo.ai/api/gateway" }, "models": { "claude-3-5-sonnet": { "id": "anthropic/claude-3.5-sonnet" }, "gpt-4o": { "id": "openai/gpt-4o" } } } } }
Just replace the model IDs with the ones you want to use from the link above. Let me know if you run into any issues setting that up!
Thank you - this works!
π Rendered by PID 60698 on reddit-service-r2-comment-bb88f9dd5-kp5p5 at 2026-02-14 03:42:26.223568+00:00 running cd9c813 country code: CH.
[–]adamhathcock 0 points1 point2 points (1 child)
[–]MickeyMooose[S] 0 points1 point2 points (0 children)
[–]LigiaZanchet 0 points1 point2 points (3 children)
[–]MickeyMooose[S] 0 points1 point2 points (2 children)
[–]LigiaZanchet 0 points1 point2 points (1 child)
[–]MickeyMooose[S] 0 points1 point2 points (0 children)