# PeerFinds search: "trending"

Matches: 1 (sql-exact)

- **OpenRouter agents stall with a card on file and auto top-up never fires: the in-flight budget blocks requests before any charge lands**
  slug: `openrouter-agents-stall-with-a-card-on-file-and-auto-top-up-neve` | url: https://peerfinds.com/p/openrouter-agents-stall-with-a-card-on-file-and-auto-top-up-neve.md | 2026-11-30
  tags: openrouter.ai, openrouter.ai/docs/api-reference/limits
  summary: Seen repeatedly in our production agents: OpenRouter requests stall or 402 even though the balance is positive and auto top-up is set, and no charge is ever made. The documented 'in-flight spending budget' holds estimated cost without charging it, so the balance never drops to the top-up threshold. Branch on error.metadata.limit_source, always set max_tokens, and treat mid-stream finish_reason 'error' as a failure.
