{
 "about": "The model ledger's daily totals: the model calls made through tools/llm.mjs, counted. One ledger line per call (when, task, agent, model asked and served, tokens, the cost the provider reported, latency, status); the lines and the raw requests and responses are kept outside git. No prompt or answer text here. The models named are the third-party models that were called.",
 "by": "incident.models@web-summit.dinis",
 "updated": "2026-11-11T03:06:05Z",
 "currency": "USD",
 "source": "tools/llm.mjs --summary (the ledger at ~/.incident-ledger/<day>.jsonl in this agent's session)",
 "shape": "days[]: one per UTC day of THIS agent's ledger { day, calls, cost_usd, cap_usd, tokens_in, tokens_out, by_model, by_agent, by_task, by_status, by_hour }, each by_* a map of name -> { calls, cost_usd, tokens_in, tokens_out } (by_hour: 'HH:00' -> { calls, cost_usd }). other_desks[]: one per other agent { desk, file, day?, calls?, cost_usd, by_model?, by_task? }; reported: true means the figure is the one that agent's status file gives, not a ledger summary. budgets: models/budgets.json as it stood. team_today_usd: this agent's last day plus other_desks. total: over days[] only.",
 "note": "A ledger lives in the session that made the calls, so this file is this agent's ledger in full and the other agents' as they report it. An agent that calls a model writes `node tools/llm.mjs --summary > <its folder>/ledger-summary.json` after each round and it is read here.",
 "budgets": {
  "team_cap_usd": 20,
  "agents": {
   "incident.models@web-summit.dinis": {
    "usd": 6,
    "for": "the evals"
   },
   "incident.perplexity@web-summit.dinis": {
    "usd": 4,
    "for": "research through an answer engine with search"
   },
   "incident.shadow@web-summit.dinis": {
    "usd": 1,
    "for": "shadow reporting"
   }
  },
  "any_other_agent_usd": 1,
  "file": "models/budgets.json"
 },
 "days": [
  {
   "day": "2026-11-11",
   "calls": 4927,
   "cost_usd": 0.872425,
   "cap_usd": 20,
   "tokens_in": 1039681,
   "tokens_out": 559894,
   "by_model": {
    "google/gemma-3-4b-it": {
     "calls": 337,
     "cost_usd": 0.003034,
     "tokens_in": 58344,
     "tokens_out": 10623
    },
    "openai/gpt-6-luna": {
     "calls": 447,
     "cost_usd": 0.010588,
     "tokens_in": 78218,
     "tokens_out": 9772
    },
    "qwen/qwen3.5-9b": {
     "calls": 444,
     "cost_usd": 0.043096,
     "tokens_in": 152023,
     "tokens_out": 174932
    },
    "google/gemma-4-31b-it": {
     "calls": 439,
     "cost_usd": 0.03214,
     "tokens_in": 178156,
     "tokens_out": 26849
    },
    "mistralai/ministral-8b-2512": {
     "calls": 327,
     "cost_usd": 0.021906,
     "tokens_in": 147329,
     "tokens_out": 9559
    },
    "openai/gpt-oss-20b": {
     "calls": 330,
     "cost_usd": 0.010256,
     "tokens_in": 47437,
     "tokens_out": 50322
    },
    "meta-llama/llama-4-maverick": {
     "calls": 327,
     "cost_usd": 0.039934,
     "tokens_in": 115362,
     "tokens_out": 5657
    },
    "deepseek/deepseek-v4.1-flash": {
     "calls": 439,
     "cost_usd": 0.054061,
     "tokens_in": 118218,
     "tokens_out": 54808
    },
    "google/gemini-3.5-flash-lite": {
     "calls": 335,
     "cost_usd": 0.012306,
     "tokens_in": 19361,
     "tokens_out": 2649
    },
    "mistralai/mistral-large-4-0": {
     "calls": 179,
     "cost_usd": 0.201783,
     "tokens_in": 18737,
     "tokens_out": 86661
    },
    "anthropic/claude-haiku-5.5": {
     "calls": 439,
     "cost_usd": 0.011117,
     "tokens_in": 50133,
     "tokens_out": 12431
    },
    "qwen/qwen3.5-397b-a17b": {
     "calls": 444,
     "cost_usd": 0.383451,
     "tokens_in": 38229,
     "tokens_out": 110374
    },
    "openai/gpt-6.1-terra": {
     "calls": 439,
     "cost_usd": 0.043734,
     "tokens_in": 18111,
     "tokens_out": 5213
    },
    "perplexity/sonar": {
     "calls": 1,
     "cost_usd": 0.005019,
     "tokens_in": 23,
     "tokens_out": 44
    }
   },
   "by_agent": {
    "incident.models@web-summit.dinis": {
     "calls": 4927,
     "cost_usd": 0.872425,
     "tokens_in": 1039681,
     "tokens_out": 559894
    }
   },
   "by_task": {
    "WS-214/models/smoke": {
     "calls": 1,
     "cost_usd": 0.000001,
     "tokens_in": 16,
     "tokens_out": 3
    },
    "WS-214/eval/extract-warning": {
     "calls": 771,
     "cost_usd": 0.143341,
     "tokens_in": 73440,
     "tokens_out": 84686
    },
    "WS-214/eval/extract-decision": {
     "calls": 456,
     "cost_usd": 0.131139,
     "tokens_in": 115387,
     "tokens_out": 75687
    },
    "WS-214/eval/label": {
     "calls": 2055,
     "cost_usd": 0.212353,
     "tokens_in": 89938,
     "tokens_out": 139766
    },
    "WS-214/eval/translate": {
     "calls": 1041,
     "cost_usd": 0.239129,
     "tokens_in": 29661,
     "tokens_out": 138359
    },
    "WS-214/models/ask-smoke": {
     "calls": 1,
     "cost_usd": 0.005019,
     "tokens_in": 23,
     "tokens_out": 44
    },
    "WS-214/models/probe-reasoning": {
     "calls": 24,
     "cost_usd": 0.000555,
     "tokens_in": 460,
     "tokens_out": 321
    },
    "WS-214/eval/warnings-in-force": {
     "calls": 577,
     "cost_usd": 0.140888,
     "tokens_in": 730756,
     "tokens_out": 121028
    },
    "WS-214/models/credit-check": {
     "calls": 1,
     "cost_usd": 0,
     "tokens_in": 0,
     "tokens_out": 0
    }
   },
   "by_status": {
    "ok": {
     "calls": 1291,
     "cost_usd": 0.872425,
     "tokens_in": 1039681,
     "tokens_out": 559894
    },
    "http_400": {
     "calls": 73,
     "cost_usd": 0,
     "tokens_in": 0,
     "tokens_out": 0
    },
    "http_402": {
     "calls": 3557,
     "cost_usd": 0,
     "tokens_in": 0,
     "tokens_out": 0
    },
    "error": {
     "calls": 1,
     "cost_usd": 0,
     "tokens_in": 0,
     "tokens_out": 0
    },
    "account_out_of_credit": {
     "calls": 5,
     "cost_usd": 0,
     "tokens_in": 0,
     "tokens_out": 0
    }
   },
   "by_hour": {
    "02:00": {
     "calls": 4922,
     "cost_usd": 0.872425
    },
    "03:00": {
     "calls": 5,
     "cost_usd": 0
    }
   }
  }
 ],
 "total": {
  "calls": 4927,
  "cost_usd": 0.872425,
  "tokens_in": 1039681,
  "tokens_out": 559894
 },
 "other_desks": [
  {
   "desk": "shadow",
   "reported": true,
   "file": "agents/shadow/status.json",
   "updated": "2026-11-11T02:40:00Z",
   "cost_usd": 0.19,
   "says": "spend today: 0.19 US dollars of 1 (0.02 on three test calls, 0.17 on the first round with both engines and the zoom-in set; an hourly round of the fixed set on Sonar alone is about 0.06)"
  }
 ],
 "team_today_usd": 1.0624
}
