@melodyoftears/opencode-kilo-auth
v1.1.8
Published
OpenCode plugin for Kilo Gateway authentication - access free AI models like z-ai/glm-5:free
Maintainers
Readme
Kilo Auth Plugin for OpenCode
Use Kilo Gateway in OpenCode without using a separate Kilo CLI fork.
Disclaimer: This is an independent community plugin. It is not affiliated with, endorsed by, or sponsored by Kilo.ai or OpenCode.
What is included
- Adds
kiloas an OpenCode provider - Supports OAuth device flow and API key login
- Auto-syncs models from Kilo at plugin load time
- Filters to free model IDs (
:free) and applies a whitelist
Installation
Install the package (optional but recommended):
npm i @melodyoftears/opencode-kilo-auth@latestThen add the plugin to ~/.config/opencode/opencode.json:
{
"plugin": [
"file:///ABSOLUTE_PATH_TO/node_modules/@melodyoftears/opencode-kilo-auth/dist/index.js"
]
}Or use direct npm resolution in config:
{
"plugin": ["@melodyoftears/opencode-kilo-auth@latest"]
}Restart OpenCode after updating config.
Authentication
opencode auth loginThen choose Other and enter kilo.
Links
- npm: https://www.npmjs.com/package/@melodyoftears/opencode-kilo-auth
- GitHub: https://github.com/1579364808/opencode-kilo-auth
- Kilo Gateway: https://kilo.ai
Support
If this project helps you, you can support it here:

License
MIT. See LICENSE.
