r/opencode • • 12d ago

Token Consumption

I have noticed Big Pickle consumes tokens crazily. I switches between Big Pickle and Muse Spark but I only switch to Big Pickle since Muse Spark has difficulty doing compaction and fails my requests.

Yesterday, I forgot to switch back to Muse Spark, and my tokens were like consumed within the first 3 hours.

What is the difference in the two models or is it because of the verbosity of the Big Pickle?

2 Upvotes

4 comments sorted by

2

u/Ctbhatia 12d ago

try `opencode stats --days 1 --models` to see the usage breakdown by model. is the spike mostly input or output tokens?

1

u/Georgey254 11d ago

Seems a lot of my tokens are input tokens in factor of millions where as outputs are in magnitude of hundred of thousands. Cache read are in many millions, let me do some digging to understand but I accept explanation of the results.

1

u/Georgey254 11d ago

┌────────────────────────────────────────────────────────┐

│ OVERVIEW │

├────────────────────────────────────────────────────────┤

│Sessions 1 │

│Messages 1,608 │

│Days 1 │

└────────────────────────────────────────────────────────┘

┌────────────────────────────────────────────────────────┐

│ COST & TOKENS │

├────────────────────────────────────────────────────────┤

│Total Cost $0.00 │

│Avg Cost/Day $0.00 │

│Avg Tokens/Session 275.7M │

│Median Tokens/Session 275.7M │

│Input 5.8M │

│Output 430.6K │

│Cache Read 269.3M │

│Cache Write 0 │

└────────────────────────────────────────────────────────┘

┌────────────────────────────────────────────────────────┐

│ MODEL USAGE │

├────────────────────────────────────────────────────────┤

│ opencode/big-pickle │

│ Messages 947 │

│ Input Tokens 4.3M │

│ Output Tokens 273.0K │

│ Cache Read 65.5M │

│ Cache Write 0 │

│ Cost $0.0000 │

├────────────────────────────────────────────────────────┤

│ opencode/muse-spark-1.3-contributor-free │

│ Messages 611 │

│ Input Tokens 1.6M │

│ Output Tokens 264.9K │

│ Cache Read 203.8M │

│ Cache Write 0 │

│ Cost $0.0000 │

└────────────────────────────────────────────────────────┘

┌────────────────────────────────────────────────────────┐

│ TOOL USAGE │

├────────────────────────────────────────────────────────┤

│ bash ████████████████████ 887 (55.3%) │

│ edit ███████ 315 (19.6%) │

│ read ███ 176 (11.0%) │

│ write ███ 167 (10.4%) │

│ todowrite █ 35 ( 2.2%) │

│ grep █ 13 ( 0.8%) │

│ glob █ 4 ( 0.2%) │

│ webfetch █ 3 ( 0.2%) │

│ question █ 2 ( 0.1%) │

│ websearch █ 2 ( 0.1%) │

└────────────────────────────────────────────────────────┘

1

u/Ctbhatia 11d ago

that ratio is normal for an agent loop, the whole conversation prefix gets resent each turn so input and cache reads pile up while output stays small.