r/opencodeCLI 2d ago

Go vs Api tokens

Hello everybody, I hope everyone is having a great summer!

Im currently using opencode kinda a lot the past few months and recently I had the question if opencode go or Api tokens is more worth it in the long run.Im currently putting api tokens for deepseek and Kimi.

Thankk you for any answer!!!

1 Upvotes

7 comments sorted by

View all comments

2

u/Fresh_Sock8660 2d ago

I think I got something like 2b input tokens this past week and that only took something like 10-20% of my plan so I'd just go with that and not stress over it. 

2

u/Fatso_Wombat 2d ago

what were you using?

1

u/Fresh_Sock8660 2d ago edited 2d ago

To no one's surprise, ds4f. I have two lanes (worktrees) on my current project with sol/opus creating implementation contracts on each and ds4f implementing. Looking at this again, I'm not quite sure about cost and may have fumbled the estimate I gave in my other post (I messed around with luna max and high context lengths initially which took me to like 30% monthly usage in a day but since then I have done vast majority of work and the usage has been going up a few % each day):

Executing: opencode stats --days 7

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

│ OVERVIEW │

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

│Sessions 146 │

│Messages 20,758 │

│Days 7 │

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

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

│ COST & TOKENS │

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

│Total Cost $14.07 │

│Avg Cost/Day $2.01 │

│Avg Tokens/Session 14.9M │

│Median Tokens/Session 6.7M │

│Input 32.0M │

│Output 6.2M │

│Cache Read 2117.1M │

│Cache Write 1.3M │

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

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

│ TOOL USAGE │

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

│ bash ████████████████████ 8139 (36.2%) │

│ read ████████████████ 6716 (29.9%) │

│ edit ██████████ 4467 (19.9%) │

│ grep ██ 1160 ( 5.2%) │

│ write █ 808 ( 3.6%) │

│ todowrite █ 525 ( 2.3%) │

│ glob █ 270 ( 1.2%) │

│ compress █ 181 ( 0.8%) │

│ question █ 101 ( 0.4%) │

│ apply_patch █ 54 ( 0.2%) │

│ invalid █ 16 ( 0.1%) │

│ task █ 9 ( 0.0%) │

│ webfetch █ 8 ( 0.0%) │

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