STUPID-2026-0119

Cline sessions marked "failed" kept burning tokens for 20+ hours, and FREE-labeled models billed credits anyway

4.8medium
September 18, 2026Verified
  1. Instruction given

    None specific to this bug — it is a defect in the Cline Desktop App's session lifecycle and credit-billing accounting, not a task the reporter gave to the agent.

  2. Expected behavior

    A session that has entered `failed` status should stop making API calls, and a model explicitly labeled FREE should never deduct Cline Credits.

  3. Actual behavior

    Of the reporter's 10 non-Anthropic sessions in the local session store, 9 were marked `failed` and several kept consuming tokens for 20-23 hours after the point of failure. One of those sessions alone made 416 API calls and consumed 112,057,985 input tokens, averaging roughly 183,696 input tokens per call because the full growing conversation was resent on every call. Across the reporter's full session set: 1,156 calls, 212,352,674 input tokens, 834,634 output tokens, and 165,124,705 cache-read tokens (77.8%). Separately, the reporter's Cline Credits balance went negative (-$0.26) while the sessions in question used models explicitly labeled FREE (cline-free/deepseek-v4.1-flash, cline-free/muse-spark-1.3-contributor).

  4. Damage

    Large, uncapped token consumption from sessions the app itself had already marked failed — no dollar figure is given for the paid-model portion, but 212M input tokens across 1,156 calls on a single user's machine is the scale involved — plus a billing-integrity bug charging credits against models tagged FREE. Neither is a first report: the reporter links cline/cline#13367 ("same runaway behaviour") and cline/cline#8074 ("FREE-badged model still recording non-zero Credits Used") as prior, still-open reports of the same two defects. As of this incident's publication, #14256 had no visible maintainer response.

A Cline Desktop App user (romemozu) reported that failed sessions were not actually stopping: of their 10 non-Anthropic sessions, 9 were marked `failed` in the local session store, and several continued making API calls for 20 to 23 hours after the point of failure. One session alone racked up 416 API calls and 112,057,985 input tokens — an average of about 183,696 input tokens per call, driven by Cline resending the full, growing conversation on every call. Totaled across all sessions: 1,156 calls, 212,352,674 input tokens, 834,634 output tokens, and 165,124,705 cache-read tokens. A second, separate defect compounded it: the reporter's Cline Credits balance had gone negative (-$0.26) even though the sessions in question used models explicitly labeled FREE, such as `cline-free/deepseek-v4.1-flash` and `cline-free/muse-spark-1.3-contributor`. Neither problem was new — the report links cline/cline#13367, describing the same runaway-after-failure behavior, and cline/cline#8074, describing the same FREE-model billing bug — meaning both defects had already been filed and remained unfixed at the time of this report. As of publication, #14256 had no visible maintainer response.

Classification

Agent
Cline
Failure mode
Infinite Loop
Root cause
Other
Domain
Infra

Related incidents

Get told when an agent breaks something

We document AI agent failures daily, severity-scored against a published scale. When one lands at 7.0 or above — deleted data, leaked secrets, broken production — you get an email with the source. When nothing does, you get nothing.

This database is callable over MCP — query it from inside your agent.