droid Source
Default location
Section titled “Default location”~/.factory/sessions/**/*.settings.json
Override
Section titled “Override”llm-usage daily --droid-dir /path/to/.factory/sessions# orllm-usage daily --source-dir droid=/path/to/.factory/sessionsParsing notes
Section titled “Parsing notes”- each
*.settings.jsonfile is treated as a session summary - token mapping (from
tokenUsage):inputTokens→inputTokensoutputTokens→outputTokensthinkingTokens→reasoningTokenscacheReadTokens→cacheReadTokenscacheCreationTokens→cacheWriteTokens
totalTokens = input + output + cacheRead + cacheWrite(billable raw tokens; reasoning excluded)- Factory dashboard usage can differ because it applies additional standard-token normalization/multipliers
costModeis alwaysestimatedsessionIdis derived from the filename basename (without.settings.json)- optional sibling JSONL (
same-basename.jsonl) is used only for metadata enrichment:session_start.cwd→repoRoot- fallback timestamp from the first
message.timestamponly whenproviderLockTimestampis missing/invalid