Total tokens across all models (input + output + cache).
(&self)
| 263 | |
| 264 | /// Total tokens across all models (input + output + cache). |
| 265 | pub fn total_tokens(&self) -> u64 { |
| 266 | self.models.iter().map(|m| m.total_tokens()).sum() |
| 267 | } |
| 268 | |
| 269 | /// Used tokens across all models (input + output only). |
| 270 | /// |
no test coverage detected