Right now the API returns a field "api_balance". The field however returns the balance before running the query. I believe it would make more sense to return the balance INCLUDING the query.
It would also be welcome to have an additional field called "cost" which would contain a monetary cost of running the query.
Judging from the documentation, right now there can only be one cost since web_search is disabled so that can be calculated from the tokens value, but in case the pricing or something else changes it would be easier to automate the cost management.