factor_agent.web.run_view.Tokens#
- class Tokens(input, output, cache_hits, reasoning)[source]#
Bases:
objectTokens of LLM calls as the providers report them; a count no reply reported is
None.cache_hitsare input tokens the provider read from its cache, andreasoningoutput tokens the model spent reasoning.
Attributes#
- Tokens.input#
- Tokens.output#
- Tokens.cache_hits#
- Tokens.reasoning#