Cost Summary • AI Agent SDK
cost_summary: Summary of cost and token usage.
cost_summary
Method
</div>
Summary of cost and token usage.
Signature
def cost_summary() -> dictReturns
ResponseField
dicttokens_in, tokens_out, cost, llm_calls
Source
View on GitHubpraisonaiagents/agent/agent.py at line 3675