Free models không có số cố định. Opencode trả lời chính thức: “free usage is dynamic, shifting based on capacity vs demand”. Thực tế: quota theo IP, hết thì trả 429 FreeUsageLimitError + header retry-after. Model -free chỉ chạy trong OpenCode thật (cần User-Agent: opencode/x + x-opencode-session + stream:true + tools), còn không sẽ 403 FreeTierError.
/zen/v1/models)Pages không đọc được máy bạn, nên copy lệnh → chạy PowerShell trên máy → dán output vào ô dưới → bấm Phân tích. Key chỉ lưu ở localStorage trình duyệt.
$sid = "ses_" + (-join ((48..57)+(97..102) | Get-Random -Count 24 | % {[char]$_}))
$body = @{model="mimo-v2.5-free"; stream=$true; max_tokens=5; messages=@(@{role="user";content="ping"}); tools=@(@{type="function";function=@{name="ping";description="ping";parameters=@{type="object";properties=@{}}}}})} | ConvertTo-Json -Depth 10
# Thay $env:ZEN_KEY bằng key của bạn, hoặc để "public"
Invoke-RestMethod https://opencode.ai/zen/v1/chat/completions -Method Post -ContentType "application/json" -UserAgent "opencode/1.18.30" -Headers @{Authorization="Bearer public"; "x-opencode-session"=$sid} -Body $body | ConvertTo-Json -Depth 10