Skip to content

[Bug]: Forge absolutely BURNS the tokens #3076

@Alexx999

Description

@Alexx999

Bug Description

I've been trying out the forge (again), this time on slightly larger task. I haven't been able to finish even the planning phase due to EXTREME (trust me: not overstating here, all caps warranted) token burn.
It burned through two "20x" 5h usage windows in ~1hr (end of one window and fully burned the next one) and about 20% of weekly usage while doing some back-and-forth on plan/docs.
Some absolutely extreme spikes observed (3% weekly usage in single go).

It seems that it's mostly a combination of poor caching strategy and overeager compaction (I've been using the default settings), there's repeated 200k token requests with only 17k tokens cached, turn after turn.

Luckily, I've been trying it with a small personal project, so here's a cutout from the logs/sqlite. I should be able to provide anything else you need.
bug-report-token-burn-2026-04-18.zip

Steps to Reproduce

  1. Start the forge with default settings
  2. Select Opus 4.7 (or 4.6, shouldn't be much different)
  3. Do some long-ish back-and-forth
  4. Watch your usage

Expected Behavior

Usage is roughly the same as the other harnesses

Actual Behavior

It absolutely BURNS the tokens

Forge Version

0.1.0 (latest main)

Operating System & Version

Win11

AI Provider

Anthropic

Model

opus-4-7

Installation Method

Built from source

Configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    severity: criticalSevere impact; system is unusable or data is at risk.type: bugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions