pi-cline-free-models
A Pi extension to use Cline models as a provider.
Package details
Install pi-cline-free-models from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-cline-free-models- Package
pi-cline-free-models- Version
0.2.3- Published
- Feb 18, 2026
- Downloads
- 84/mo · 18/wk
- Author
- ditfetzt
- License
- MIT
- Types
- extension
- Size
- 161.9 KB
- Dependencies
- 0 dependencies · 0 peers
Pi manifest JSON
{
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
Pi Cline Free Models
Unlock the full power of the Cline ecosystem directly inside Pi.
Why?
Cline has usually a bunch of free models available that stay usable for some time.
pi-cline-free-models enables you to make use of those models. It acts as a provider extension for Pi, giving you instant access to models like Kimi K2.5, MiniMax and others as long as they stay available. The extension automatically fetches the latest model list on startup. Means if models are not supported anymore, you will notice. OAuth handshake with Cline is handled securely and seamlessly via SSO, just use your desired way of logging in with their platform (Google, Github, Microsoft).
Installation
Install directly via pi:
pi install npm:pi-cline-free-models
Updating
If you already have this extension installed, update and reload Pi:
pi install npm:pi-cline-free-models
Then run /reload (or restart Pi).
Most users do not need to re-authenticate after updating. If you still get 403 access forbidden, run /logout for Cline and then /login again.
Usage
1. Select a Model
Once installed, the models might not right away appear in your Pi model selector under the Cline provider.
If so, authenticate first. Every other time the models will be found via /scoped-models.
2. Authentication
- Use
/loginand pick "Cline" as provider - You will be redirected to the website of Cline
- Log in with your desired SSO method
- Close the tab after authentication
- Pi is now authorized to generate text
Remote/SSH Authentication
If you're running Pi on a remote server (e.g., VPS via SSH), the local callback won't work automatically. Follow these steps:
- Copy the auth URL shown in Pi and open it in a browser on your local machine
- Complete the login with your desired SSO method
- The browser will fail to connect to
localhost(this is expected - the callback only works on the same machine) - Copy the callback URL from the URL bar:
http://127.0.0.1:31234/auth?code=XXX&provider=... - Paste the full callback URL into Pi when prompted (preferred).
- Pasting only
XXXstill works in most cases.
- Pasting only
- Pi is now authorized to generate text
3. Update Models
The extension checks for new models every time Pi starts a new session. If Cline adds a new free model to their list, it will automatically appear in your selector the next time you start Pi or use /reload.
Troubleshooting
403 access forbidden
- Update extension and run
/reload - Ensure a Cline model is selected
- If it still fails, run
/logout(Cline) and/loginagain - For remote/SSH auth, paste the full callback URL (including
provider=...) when prompted
No VS Code extension run is required for normal usage.
Development
- Clone this repository.
- Install dependencies:
npm install - Install locally for development:
pi install .
License
MIT