Troubleshooting

What went wrong, on which side and how to fix it.

Start with doctor

In the agent's folder:

npx binference doctor

It checks the app, the key and the cockpit, the AI budget, the hooks and whether the last session ran them, the skills, baw, the wallet's sign-in and Binance's MCP Server, and says what to fix. npx binference doctor --fix repairs what failed and keeps your own settings. If it says the hooks are from another version, update the folder:

npx binference@latest doctor --fix

Which side is it?

You seeSideFix
The app can't start or says the key is wrongbInferenceCheck ANTHROPIC_AUTH_TOKEN or BINF_API_KEY. See API keys
402 insufficient_balancebInferenceThe AI budget can't cover the call's reserve. Lower max_tokens or add credit
402 key_limitbInferenceThe key hit its spending limit. It resets at 00:00 UTC, or raise it
429 or 529bInferenceToo many calls at once, or a busy model. The app retries on its own
403 agent_pausedbInferenceYou paused the agent. Resume it in its cockpit
A trade refused: "Your limits on binference.io…"bInferenceYour trade limits blocked it. Change them in the cockpit, or confirm the trade
The agent's sessions or spend don't show in the cockpitbInferenceStart the agent with ./start in its folder, not plain claude or codex
429 or 418 from Binance, "too much request weight" or "IP banned"BinanceThe agent called Binance too often. Wait the time Binance names: calls during a ban make it longer
A trade fails for insufficient balanceBinanceThe Agentic sub-account is empty. Transfer funds into it
Market data works, account or trading doesn'tBinanceReconnect and grant the Account or Trade scope
The server is added but can't be usedBinanceReconnect and authenticate again
The authorization expiredBinanceDisconnect and reconnect the Binance MCP Server

Binance MCP Server

  • The command isn't recognized. Make sure Claude Code or Codex is installed, open a new terminal and try again.
  • You opened the address in a browser. Close it and run the command for your app instead.
  • You pasted the address into the chat. Remove the connection the AI made, then follow the setup steps exactly.
  • Check the address. It must be exactly https://agent.binance.com/mcp/agentic.

bInference

  • Nothing seems to reach bInference. Claude Code needs ANTHROPIC_BASE_URL=https://binference.io/api, without /v1. Codex needs base_url = "https://binference.io/api/v1", with it.
  • Your calls don't show up on the Calls page. Messages calls, which Claude Code makes, appear within a minute, once they're priced.
  • Every error code is on Errors, with what to do.

Still stuck?

For the Binance side, use Binance Customer Support's Live Chat. For bInference, quote the x-binference-call-id from the failing call.

On this page