HTTP 500 api_error: insufficient balance (1008) when using free model opencode/big-pickle via Clawdbot #7655

Open
opened 2026-02-16 18:07:50 -05:00 by yindo · 1 comment
Owner

Originally created by @tradcathjun on GitHub (Jan 26, 2026).

Originally assigned to: @fwang on GitHub.

Summary

I am consistently seeing this error from OpenCode when using it through Clawdbot:

HTTP 500: api𝘦𝘳𝘳𝘰𝘳: 𝘪𝘯𝘴𝘶𝘧𝘧𝘪𝘤𝘪𝘦𝘯𝘵 𝘣𝘢𝘭𝘢𝘯𝘤𝘦 (1008)

𝘛𝘩𝘪𝘴 𝘩𝘢𝘱𝘱𝘦𝘯𝘴 𝘦𝘷𝘦𝘯 𝘵𝘩𝘰𝘶𝘨𝘩:
• 𝘐 𝘩𝘢𝘷𝘦 𝘢 𝘱𝘰𝘴𝘪𝘵𝘪𝘷𝘦 𝘣𝘢𝘭𝘢𝘯𝘤𝘦 𝘪𝘯 𝘮𝘺 𝘖𝘱𝘦𝘯𝘊𝘰𝘥𝘦 𝘢𝘤𝘤𝘰𝘶𝘯𝘵 (𝘢𝘳𝘰𝘶𝘯𝘥 $20).
• 𝘐 𝘩𝘢𝘷𝘦 𝘪𝘯𝘵𝘦𝘯𝘵𝘪𝘰𝘯𝘢𝘭𝘭𝘺 𝘤𝘰𝘯𝘧𝘪𝘨𝘶𝘳𝘦𝘥 𝘊𝘭𝘢𝘸𝘥𝘣𝘰𝘵 𝘵𝘰 𝘶𝘴𝘦 𝘰𝘯𝘭𝘺 𝘵𝘩𝘦 𝘧𝘳𝘦𝘦 𝘮𝘰𝘥𝘦𝘭 "𝘰𝘱𝘦𝘯𝘤𝘰𝘥𝘦/𝘣𝘪𝘨-𝘱𝘪𝘤𝘬𝘭𝘦".

𝘐𝘵 𝘭𝘰𝘰𝘬𝘴 𝘭𝘪𝘬𝘦 𝘤𝘢𝘭𝘭𝘴 𝘵𝘰 "𝘰𝘱𝘦𝘯𝘤𝘰𝘥𝘦/𝘣𝘪𝘨-𝘱𝘪𝘤𝘬𝘭𝘦" 𝘢𝘳𝘦 𝘣𝘦𝘪𝘯𝘨 𝘵𝘳𝘦𝘢𝘵𝘦𝘥 𝘢𝘴 𝘣𝘪𝘭𝘭𝘢𝘣𝘭𝘦 𝘰𝘳 𝘳𝘰𝘶𝘵𝘦𝘥 𝘵𝘩𝘳𝘰𝘶𝘨𝘩 𝘢 𝘱𝘢𝘪𝘥 𝘱𝘢𝘵𝘩, 𝘤𝘢𝘶𝘴𝘪𝘯𝘨 𝘵𝘩𝘦 "𝘪𝘯𝘴𝘶𝘧𝘧𝘪𝘤𝘪𝘦𝘯𝘵 𝘣𝘢𝘭𝘢𝘯𝘤𝘦 (1008)" 𝘦𝘳𝘳𝘰𝘳. 𝘳𝘦𝘥𝘥𝘪𝘵 (𝘩𝘵𝘵𝘱𝘴://𝘸𝘸𝘸.𝘳𝘦𝘥𝘥𝘪𝘵.𝘤𝘰𝘮/𝘳/𝘰𝘱𝘦𝘯𝘤𝘰𝘥𝘦𝘊𝘓𝘐/𝘤𝘰𝘮𝘮𝘦𝘯𝘵𝘴/1𝘲8𝘰𝘴6𝘴/𝘥𝘰i𝘩𝘢𝘷𝘦to𝘥𝘦𝘱𝘰𝘴𝘪𝘵money𝘪𝘯𝘵𝘰my𝘢𝘤𝘤𝘰𝘶𝘯𝘵to𝘶𝘴𝘦/)

𝘌𝘯𝘷𝘪𝘳𝘰𝘯𝘮𝘦𝘯𝘵

• 𝘖𝘱𝘦𝘯𝘊𝘰𝘥𝘦 𝘢𝘤𝘤𝘰𝘶𝘯𝘵: 𝘱𝘢𝘪𝘥 𝘣𝘢𝘭𝘢𝘯𝘤𝘦 (𝘢𝘣𝘰𝘶𝘵 $20 𝘢𝘷𝘢𝘪𝘭𝘢𝘣𝘭𝘦)
• 𝘔𝘰𝘥𝘦𝘭: 𝘰𝘱𝘦𝘯𝘤𝘰𝘥𝘦/𝘣𝘪𝘨-𝘱𝘪𝘤𝘬𝘭𝘦 (𝘢𝘥𝘷𝘦𝘳𝘵𝘪𝘴𝘦𝘥 𝘢𝘴 𝘢 𝘧𝘳𝘦𝘦/𝘴𝘵𝘦𝘢𝘭𝘵𝘩 𝘮𝘰𝘥𝘦𝘭 𝘧𝘰𝘳 𝘯𝘰𝘸) 𝘳𝘦𝘥𝘥𝘪𝘵 (𝘩𝘵𝘵𝘱𝘴://𝘸𝘸𝘸.𝘳𝘦𝘥𝘥𝘪𝘵.𝘤𝘰𝘮/𝘳/𝘰𝘱𝘦𝘯𝘤𝘰𝘥𝘦𝘊𝘓𝘐/𝘤𝘰𝘮𝘮𝘦𝘯𝘵𝘴/1𝘱𝘳𝘫𝘩𝘶𝘣/𝘪𝘴opencode𝘻𝘦𝘯big𝘱𝘪𝘤𝘬𝘭𝘦free/)
• Client: Clawdbot (local gateway)
• Channel: Telegram bot connected to Clawdbot
• OS: Windows 11 with WSL2 (Ubuntu) running Clawdbot
• Clawdbot version: 2026.1.24-3 (885167d)
• Network: Telegram connectivity from Clawdbot is now working (DNS issue fixed by pinning api.telegram.org to IPv4 in /etc/hosts)

What I did

  1. Set my default model to the free OpenCode model:

clawdbot config set agents.defaults.model.primary "opencode/big-pickle"
clawdbot gateway restart

  1. Verified with "clawdbot logs" that:
    • The gateway starts with: agent model: opencode/big-pickle
    • Telegram provider is ok (my bot username shows correctly)
    • There are no more "fetch failed" or "setMyCommands failed" errors to Telegram

  2. Ran "clawdbot doctor" and then "clawdbot doctor --fix":
    • No critical provider/model warnings were reported
    • Config file ~/.clawdbot/clawdbot.json was updated and Clawdbot appears healthy

  3. Sent a normal chat message to my Telegram bot, which triggers a Clawdbot run with provider "opencode" and model "big-pickle".

Actual behavior

The model run starts and then fails with an error like:

HTTP 500: api𝘦𝘳𝘳𝘰𝘳: 𝘪𝘯𝘴𝘶𝘧𝘧𝘪𝘤𝘪𝘦𝘯𝘵 𝘣𝘢𝘭𝘢𝘯𝘤𝘦 (1008) (𝘳𝘦𝘲𝘶𝘦𝘴𝘵id: 05c6cd5820af43aca312bd84ebc5f963)

From my perspective:
• I have sufficient account balance.
• I am not intentionally using any paid models.
• All agent defaults are set to "opencode/big-pickle". github (https://github.com/anomalyco/opencode/issues/7499)

Expected behavior

• Requests using "opencode/big-pickle" should be treated as free and should not fail due to balance checks, as long as the free tier is active. reddit (https://www.reddit.com/r/opencodeCLI/comments/1q8os6s/do𝘪have𝘵𝘰deposit𝘮𝘰𝘯𝘦𝘺into𝘮𝘺account𝘵𝘰use/)
• If there are specific limits, quotas, or regional restrictions for this model, the error message should explain that instead of a generic "insufficient balance (1008)".

Additional context

• This error started surfacing clearly after I fixed a separate Telegram connectivity issue. Previously, the gateway could not reach api.telegram.org, so responses failed earlier in the chain.
• Now that Telegram connectivity is fixed, the only remaining failure is this "insufficient balance (1008)" from OpenCode when calling "opencode/big-pickle".
• I am happy to run test commands, provide additional log snippets, or confirm organization/project IDs on my account if that helps debug whether this is a routing or billing configuration issue on the backend. github (https://github.com/anomalyco/opencode/issues/7499)

Originally created by @tradcathjun on GitHub (Jan 26, 2026). Originally assigned to: @fwang on GitHub. Summary I am consistently seeing this error from OpenCode when using it through Clawdbot: HTTP 500: api𝘦𝘳𝘳𝘰𝘳: 𝘪𝘯𝘴𝘶𝘧𝘧𝘪𝘤𝘪𝘦𝘯𝘵 𝘣𝘢𝘭𝘢𝘯𝘤𝘦 (1008) 𝘛𝘩𝘪𝘴 𝘩𝘢𝘱𝘱𝘦𝘯𝘴 𝘦𝘷𝘦𝘯 𝘵𝘩𝘰𝘶𝘨𝘩: • 𝘐 𝘩𝘢𝘷𝘦 𝘢 𝘱𝘰𝘴𝘪𝘵𝘪𝘷𝘦 𝘣𝘢𝘭𝘢𝘯𝘤𝘦 𝘪𝘯 𝘮𝘺 𝘖𝘱𝘦𝘯𝘊𝘰𝘥𝘦 𝘢𝘤𝘤𝘰𝘶𝘯𝘵 (𝘢𝘳𝘰𝘶𝘯𝘥 $20). • 𝘐 𝘩𝘢𝘷𝘦 𝘪𝘯𝘵𝘦𝘯𝘵𝘪𝘰𝘯𝘢𝘭𝘭𝘺 𝘤𝘰𝘯𝘧𝘪𝘨𝘶𝘳𝘦𝘥 𝘊𝘭𝘢𝘸𝘥𝘣𝘰𝘵 𝘵𝘰 𝘶𝘴𝘦 𝘰𝘯𝘭𝘺 𝘵𝘩𝘦 𝘧𝘳𝘦𝘦 𝘮𝘰𝘥𝘦𝘭 "𝘰𝘱𝘦𝘯𝘤𝘰𝘥𝘦/𝘣𝘪𝘨-𝘱𝘪𝘤𝘬𝘭𝘦". 𝘐𝘵 𝘭𝘰𝘰𝘬𝘴 𝘭𝘪𝘬𝘦 𝘤𝘢𝘭𝘭𝘴 𝘵𝘰 "𝘰𝘱𝘦𝘯𝘤𝘰𝘥𝘦/𝘣𝘪𝘨-𝘱𝘪𝘤𝘬𝘭𝘦" 𝘢𝘳𝘦 𝘣𝘦𝘪𝘯𝘨 𝘵𝘳𝘦𝘢𝘵𝘦𝘥 𝘢𝘴 𝘣𝘪𝘭𝘭𝘢𝘣𝘭𝘦 𝘰𝘳 𝘳𝘰𝘶𝘵𝘦𝘥 𝘵𝘩𝘳𝘰𝘶𝘨𝘩 𝘢 𝘱𝘢𝘪𝘥 𝘱𝘢𝘵𝘩, 𝘤𝘢𝘶𝘴𝘪𝘯𝘨 𝘵𝘩𝘦 "𝘪𝘯𝘴𝘶𝘧𝘧𝘪𝘤𝘪𝘦𝘯𝘵 𝘣𝘢𝘭𝘢𝘯𝘤𝘦 (1008)" 𝘦𝘳𝘳𝘰𝘳. 𝘳𝘦𝘥𝘥𝘪𝘵 (𝘩𝘵𝘵𝘱𝘴://𝘸𝘸𝘸.𝘳𝘦𝘥𝘥𝘪𝘵.𝘤𝘰𝘮/𝘳/𝘰𝘱𝘦𝘯𝘤𝘰𝘥𝘦𝘊𝘓𝘐/𝘤𝘰𝘮𝘮𝘦𝘯𝘵𝘴/1𝘲8𝘰𝘴6𝘴/𝘥𝘰i𝘩𝘢𝘷𝘦to𝘥𝘦𝘱𝘰𝘴𝘪𝘵money𝘪𝘯𝘵𝘰my𝘢𝘤𝘤𝘰𝘶𝘯𝘵to𝘶𝘴𝘦/) 𝘌𝘯𝘷𝘪𝘳𝘰𝘯𝘮𝘦𝘯𝘵 • 𝘖𝘱𝘦𝘯𝘊𝘰𝘥𝘦 𝘢𝘤𝘤𝘰𝘶𝘯𝘵: 𝘱𝘢𝘪𝘥 𝘣𝘢𝘭𝘢𝘯𝘤𝘦 (𝘢𝘣𝘰𝘶𝘵 $20 𝘢𝘷𝘢𝘪𝘭𝘢𝘣𝘭𝘦) • 𝘔𝘰𝘥𝘦𝘭: 𝘰𝘱𝘦𝘯𝘤𝘰𝘥𝘦/𝘣𝘪𝘨-𝘱𝘪𝘤𝘬𝘭𝘦 (𝘢𝘥𝘷𝘦𝘳𝘵𝘪𝘴𝘦𝘥 𝘢𝘴 𝘢 𝘧𝘳𝘦𝘦/𝘴𝘵𝘦𝘢𝘭𝘵𝘩 𝘮𝘰𝘥𝘦𝘭 𝘧𝘰𝘳 𝘯𝘰𝘸) 𝘳𝘦𝘥𝘥𝘪𝘵 (𝘩𝘵𝘵𝘱𝘴://𝘸𝘸𝘸.𝘳𝘦𝘥𝘥𝘪𝘵.𝘤𝘰𝘮/𝘳/𝘰𝘱𝘦𝘯𝘤𝘰𝘥𝘦𝘊𝘓𝘐/𝘤𝘰𝘮𝘮𝘦𝘯𝘵𝘴/1𝘱𝘳𝘫𝘩𝘶𝘣/𝘪𝘴opencode𝘻𝘦𝘯big𝘱𝘪𝘤𝘬𝘭𝘦free/) • Client: Clawdbot (local gateway) • Channel: Telegram bot connected to Clawdbot • OS: Windows 11 with WSL2 (Ubuntu) running Clawdbot • Clawdbot version: 2026.1.24-3 (885167d) • Network: Telegram connectivity from Clawdbot is now working (DNS issue fixed by pinning api.telegram.org to IPv4 in /etc/hosts) What I did 1) Set my default model to the free OpenCode model: clawdbot config set agents.defaults.model.primary "opencode/big-pickle" clawdbot gateway restart 2) Verified with "clawdbot logs" that: • The gateway starts with: agent model: opencode/big-pickle • Telegram provider is ok (my bot username shows correctly) • There are no more "fetch failed" or "setMyCommands failed" errors to Telegram 3) Ran "clawdbot doctor" and then "clawdbot doctor --fix": • No critical provider/model warnings were reported • Config file ~/.clawdbot/clawdbot.json was updated and Clawdbot appears healthy 4) Sent a normal chat message to my Telegram bot, which triggers a Clawdbot run with provider "opencode" and model "big-pickle". Actual behavior The model run starts and then fails with an error like: HTTP 500: api𝘦𝘳𝘳𝘰𝘳: 𝘪𝘯𝘴𝘶𝘧𝘧𝘪𝘤𝘪𝘦𝘯𝘵 𝘣𝘢𝘭𝘢𝘯𝘤𝘦 (1008) (𝘳𝘦𝘲𝘶𝘦𝘴𝘵id: 05c6cd5820af43aca312bd84ebc5f963) From my perspective: • I have sufficient account balance. • I am not intentionally using any paid models. • All agent defaults are set to "opencode/big-pickle". github (https://github.com/anomalyco/opencode/issues/7499) Expected behavior • Requests using "opencode/big-pickle" should be treated as free and should not fail due to balance checks, as long as the free tier is active. reddit (https://www.reddit.com/r/opencodeCLI/comments/1q8os6s/do𝘪have𝘵𝘰deposit𝘮𝘰𝘯𝘦𝘺into𝘮𝘺account𝘵𝘰use/) • If there are specific limits, quotas, or regional restrictions for this model, the error message should explain that instead of a generic "insufficient balance (1008)". Additional context • This error started surfacing clearly after I fixed a separate Telegram connectivity issue. Previously, the gateway could not reach api.telegram.org, so responses failed earlier in the chain. • Now that Telegram connectivity is fixed, the only remaining failure is this "insufficient balance (1008)" from OpenCode when calling "opencode/big-pickle". • I am happy to run test commands, provide additional log snippets, or confirm organization/project IDs on my account if that helps debug whether this is a routing or billing configuration issue on the backend. github (https://github.com/anomalyco/opencode/issues/7499)
yindo added the zen label 2026-02-16 18:07:50 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 26, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #7499: OpenCode Zen MiniMax M2.1 Insufficient Balance

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 26, 2026): This issue might be a duplicate of existing issues. Please check: - #7499: OpenCode Zen MiniMax M2.1 Insufficient Balance Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7655