Requests for background shells

For legacy (request based) pricing, how many requests count for background tasks that the agent decides to create at its own will?

Notice the “Will resume when background shell exits”. Also notice the request is complete already.

However if/when I close the background shell, some new messages appear in the agent chat, something like below. I have not made any new request at this point, but if I go to cursor usage I see additoinal requests showing up at the time of closing the background shell.

Is this intended? Is this a bug? How can I disable it so my requests are not eaten up? I have noticed this may be happening more often recently and ends up exhausing a lot of requests. Imagine you are running a request with Opus thinking that has 2x cost and simple shell closure costs 2x more, ending up utilising 4x requests per prompt. Sometimes some chats have multiple background tasks. Not to mention if you choose to use fast mode that is 6x.

My team has reported similar high usage recently, anyone else seen this behavior?

3 posts were merged into an existing topic: Token/Request usage after responding to “AskQuestion” or after session end