OpenCode 免費模型:一條命令就接上

不註冊就能用,每天有免費額度;免費註冊後 token 不限。

按複製時自動填入 Key
bash <(curl -fsSL 'https://api.tutucompute.com/v1/launch/opencode?lang=zh-Hant' -K - <<< 'header = "Authorization: Bearer …"')

三步開始

  1. 1

    複製這一頁的指令(自帶一把免費 Key,不用註冊)

  2. 2

    貼到終端機按 Enter

  3. 3

    沒裝會自動裝好,直接進入 OpenCode

一條命令開始

裝上圖圖 CLI 後執行 tutu opencode:沒裝 OpenCode 會先替你裝好。設定隨啟動帶進去,你的設定檔維持原樣。

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

裝好後執行:

tutu opencode

主模型和標題生成都走這裡

主模型與產生標題用的小模型都指到圖圖算力,不會悄悄去呼叫別家的模型。

版本太舊也不用你動手

你的 OpenCode 太舊時,另裝一份官方新版到它自己的資料夾來用;你原來那份(Homebrew / npm 裝的)不動。新的 2.x 也支援。

Windows 不用裝 Node.js

Windows 上直接下載 OpenCode 的官方發行版,不需要 Node.js。

不想裝任何東西

接入頁也提供原生設定:一行環境變數,加一條啟動命令,貼進終端就能用。

常見問題

相關