Hello- a strange bug: it appears was billed by the agent by work i didn’t commission- even more strangely it was work I did myself that the agent then charged for.
It was only $0.14 worth of work but its a very strange behaviour .
Something to look out for!
I think the credit model “per checkpoint” is generally a fair one. But there is a massive lack of transparency to us the client.
I daresay your charge was valid. But there is zero way to really dig into it and see exactly what work it did. We are having to take an awful lot on trust.
I’ve checked. It definitely charged me for my code change. (As confirmed in GIT)
Cc @kody-replit
can you send me the repl please?
The way I could see this happening would be you made some changes then didn’t commit them, then asked agent something and it did some other changes, then when it git adds + git commits your uncommitted changes get included in the commit with its own uncommitted changes. It wouldn’t actually charge for any of those things you did though because the charges are done in agentsitter not in workspace, the line changes would just be included in the commit and would show up as +X-Y in green/red along with agent’s changes
Thanks have messaged you!
Confirmed: Agent at the end of a session does a check to see if there are uncommitted changes then makes a commit (also does this before you deploy), but the user wasn’t charged for those changes, they were just lumped in with the agent session where it read files.
Structurally, charges for line edits and file edits are done and tracked through the AI service (agentsitter), not calculated locally in the editor, to avoid this exact issue.
does this mean talking to the agent about the code base is now charged?
if it moves or blinks, charge for it 
Talking with Agent when it doesn’t modify lines of code is charged based on token usage / tool calls, when it reads files those are tool calls.
Assistant you’re not charged unless you accept file edits it makes.
1 Like
Cool. That’s a new change which is quite unclear. Thanks for clearing up, appreciate it.
1 Like
Yes. Everything is charged now.