OpenCode 免費模型:一條命令就接上
不註冊就能用,每天有免費額度;免費註冊後 token 不限。
按複製時自動填入 Key
bash <(curl -fsSL 'https://api.tutucompute.com/v1/launch/opencode?lang=zh-Hant' -K - <<< 'header = "Authorization: Bearer …"')
三步開始
- 1
複製這一頁的指令(自帶一把免費 Key,不用註冊)
- 2
貼到終端機按 Enter
- 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。
不想裝任何東西
接入頁也提供原生設定:一行環境變數,加一條啟動命令,貼進終端就能用。
常見問題
tutu/auto:自動挑一個此刻線上、支援這次請求的模型;也可以在接入頁固定一個。
不會。設定只隨這次啟動帶進去,你自己的設定檔不動。
不用升級它:另裝一份新版到 ~/.opencode/bin 來用,你原來那份照舊。
終端機裡會直接告訴你什麼時候恢復(當地 0 點),並給出註冊連結;註冊後這把 Key 不用改、不用重啟。
有算力儲備或是點燈人就能並行;免費時按順序跑,不會報錯。
不會。它只給你看,經過圖圖算力時會被自動去掉,模型和幫你算的電腦都看不到。
相關
OpenCode 免費模型:一條命令就接上