openhuman icon indicating copy to clipboard operation
openhuman copied to clipboard

Free credit balance shows as depleted — user unable to test the app

Open Giri-Aayush opened this issue 6 months ago • 1 comments

User Tony reported on 19/05/2026 that their credit balance appears exhausted and they are unable to use the app to test it out. The app displays an "out of balance" message.

Team follow-up on 26/05/2026 outlined three possible causes: (1) user may be trying to use cloud API credits with a local Ollama model (local runs don't consume balance), (2) app may be defaulting to a paid cloud model instead of the intended local model, (3) balance may be expired or tied to a plan tier that doesn't apply to the current usage.

No response from user since follow-up. Which model was active when the error occurred has not been confirmed. Resolution status unknown.


Reported by: @hardlygospel Discord ticket: https://discord.com/channels/1470856511193616498/1506461844817317959 Priority: medium Attachments (1): image.webp — ask support team for files

Giri-Aayush avatar May 31 '26 22:05 Giri-Aayush

This appears to be the same root cause as #3088 (Cauê's report), which was fixed by #3121 (merged 2026-06-01, commit e9c38ea61).

Why this is the same: the team triage on this issue listed three possible causes — (1) local Ollama user hitting cloud route, (2) app defaulting to a paid cloud model, (3) expired/wrong-tier balance. All three manifest the same way under the hood: a managed-backend 400 carrying "Insufficient budget" / "Insufficient balance", which previously fell through to the generic "Something went wrong" copy and gave the user no path forward.

What #3121 changed:

  • Widens the budget-error detector (is_inference_budget_exceeded_error in src/openhuman/channels/providers/web_errors.rs) to also recognize the canonical billing_error::is_budget_exhausted_message phrases, so the 400 path now classifies as budget_exhausted instead of generic.
  • Rewrites the user-facing copy to be actionable — it now tells the user they can either top up credits / pick a plan, or switch routing to "Use Your Own Models" in Settings → AI Configuration if they have a local model enabled.

The new message:

You're out of credits, so I can't run the managed (cloud) model right now. You can top up your credits or pick a plan to continue — or, if you've enabled a local model like Ollama, switch routing to "Use Your Own Models" in Settings → AI Configuration.

That covers all three of the diagnosis hypotheses listed above.

Suggest closing as duplicate of #3088 and asking @hardlygospel / Tony to re-test on the next release build.

CodeGhost21 avatar Jun 02 '26 20:06 CodeGhost21