MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / total_tokens

Method total_tokens

atomic-repository/src/git_binding/summary.rs:54–56  ·  view source on GitHub ↗

Total tokens across all categories for this model.

(&self)

Source from the content-addressed store, hash-verified

52impl SummaryModelUsage {
53 /// Total tokens across all categories for this model.
54 pub fn total_tokens(&self) -> u64 {
55 self.input_tokens + self.output_tokens + self.cache_read_tokens + self.cache_write_tokens
56 }
57}
58
59/// The allowlisted attestation summary carried in a binding tree.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected