Free OpenCode models: connect in one command
Works without signing up, with a free daily allowance; after a free sign-up tokens are unlimited.
bash <(curl -fsSL 'https://api.tutucompute.com/v1/launch/opencode?lang=en' -K - <<< 'header = "Authorization: Bearer …"')
Get started in three steps
- 1
Copy the command on this page (it comes with a free key, no sign-up)
- 2
Paste it into a terminal and press Enter
- 3
OpenCode is installed if missing and opens
Start with one command
With the Tutu CLI installed, run tutu opencode: OpenCode is installed first if you don't have it. The config travels with the launch, so your config files stay as they are.
macOS / Linux
curl -fsSL https://api.tutucompute.com/tutu | sh Windows (cmd)
powershell -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor 3072; irm https://api.tutucompute.com/tutu.ps1 | iex" Windows (PowerShell)
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor 3072; irm https://api.tutucompute.com/tutu.ps1 | iex Then run:
tutu opencode Main model and titles both go here
The main model and the small model that writes titles both point to TutuCompute, so nothing quietly calls another provider.
Too old? Nothing for you to do
If your OpenCode is too old, the official new version is installed into its own folder and used instead; your existing copy (Homebrew / npm) is left alone. The new 2.x is supported too.
No Node.js on Windows
On Windows the official OpenCode release is downloaded directly; Node.js isn't needed.
Don't want to install anything
The connect page also gives a native setup: one environment variable plus a launch command, pasted into your terminal.
FAQ
Related
Free OpenCode models: connect in one command