Skip to main content

Insufficient funds

Prime Inference returns this error when the account billed for the request does not have enough balance. The API key identifies the key owner’s personal account, and the X-Prime-Team-ID header switches billing to that team. The Prime CLI team setting does not apply to direct API requests.
Requests without X-Prime-Team-ID bill the API key owner’s personal account.
  • Add funds to your personal balance in the billing dashboard
  • Check that the API key belongs to the account you funded
  • Retry the request
Requests bill a team only when they include X-Prime-Team-ID, and the key owner must have access to that team.
  • Add funds to the team’s billing balance
  • Include X-Prime-Team-ID on every request, including SDK requests (see team billing)
  • Find the team ID on the team profile page or with prime teams list

Getting help

If your issue isn’t covered here: