OpenCode Zen
OpenCode Zen 是 OpenCode 團隊營運的可選模型閘道。用 OpenCode 並不需要它;它是一份他們真正測過、適合當寫程式代理的模型清單,其中一部分免費。
OpenCode Zen 是 OpenCode 團隊營運的可選模型閘道。用 OpenCode 並不需要它;它是一份他們真正測過、適合當寫程式代理的模型清單,其中一部分免費。
登入、複製金鑰、呼叫 opencode.ai/zen/v1。文件寫明的免費組是六個 id —— Nemotron Ultra、Lightning、MiMo、Ling Flash、big-pickle、Muse Spark。Zen 上的 DeepSeek V4 和 GLM 5.2 是付費的。免費 id 可能是限時的推廣,隨時會消失。
- 免費模型
- 6
- 最大上下文
- 1M
- 免費額度
- 6 個免費模型
- 註冊要求
- 只要電子郵件,不要卡
端點
基底網址
https://opencode.ai/zen/v1環境變數
OPENCODE_API_KEY- OpenAI 相容
- 文字
- 音訊
- 視覺
- 推理
程式碼範例
npm install openaiimport OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://opencode.ai/zen/v1',
apiKey: process.env.OPENCODE_API_KEY
})
const response = await client.chat.completions.create({
model: 'nemotron-3-ultra-free',
messages: [{ role: 'user', content: 'Explain closures in one paragraph.' }]
})
console.log(response.choices[0].message.content)pip install openaiimport os
from openai import OpenAI
client = OpenAI(
base_url="https://opencode.ai/zen/v1",
api_key=os.environ["OPENCODE_API_KEY"],
)
response = client.chat.completions.create(
model="nemotron-3-ultra-free",
messages=[{"role": "user", "content": "Explain closures in one paragraph."}],
)
print(response.choices[0].message.content)curl https://opencode.ai/zen/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENCODE_API_KEY" \
-d '{
"model": "nemotron-3-ultra-free",
"messages": [{"role": "user", "content": "Explain closures in one paragraph."}]
}'值得注意
- 文件寫明的免費組是六個 id。Zen 上的 deepseek-v4-flash 和 glm-5.2 是付費的。
- 免費 id 可能是限時推廣,隨時會消失。
你能免費使用的模型6
- Nemotron 3 Ultra
nemotron-3-ultra-free - Nemotron 3 Lightning
nemotron-3-lightning-free - MiMo
mimo-free - Ling Flash
ling-flash-free - Big Pickle
big-pickle - Muse Spark
muse-spark-free