MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / TokenUsage

Class TokenUsage

mini_agent/schema/schema.py:40–45  ·  view source on GitHub ↗

Token usage statistics from LLM API response.

Source from the content-addressed store, hash-verified

38
39
40class TokenUsage(BaseModel):
41 """Token usage statistics from LLM API response."""
42
43 prompt_tokens: int = 0
44 completion_tokens: int = 0
45 total_tokens: int = 0
46
47
48class LLMResponse(BaseModel):

Callers 2

_parse_responseMethod · 0.85
_parse_responseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected