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

Function getModelUsage

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

Source from the content-addressed store, hash-verified

824}
825
826export function getModelUsage(): { [modelName: string]: ModelUsage } {
827 return STATE.modelUsage
828}
829
830export function getUsageForModel(model: string): ModelUsage | undefined {
831 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