MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getModelUsage

Function getModelUsage

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

Source from the content-addressed store, hash-verified

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