MCPcopy
hub / github.com/claude-code-best/claude-code / getModelUsage

Function getModelUsage

src/bootstrap/state.ts:808–810  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

806}
807
808export function getModelUsage(): { [modelName: string]: ModelUsage } {
809 return STATE.modelUsage
810}
811
812export function getUsageForModel(model: string): ModelUsage | undefined {
813 return STATE.modelUsage[model]

Callers 3

submitMessageMethod · 0.85
saveCurrentSessionCostsFunction · 0.85
formatModelUsageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected