Session: cost-tracking-per-run — 2026-11-02

eval-harness · ZCode · branch feat/cost · qwen3-coder · 2026-11-02 15:25 · 1 msgs · 3 tools · 1 min read · updated 2 days ago

tools: Bash, Edit, Write
← eval-harness Download .md .txt .json
Tool calls
Bash Bash: 1 call (33.3%) 1 Edit Edit: 1 call (33.3%) 1 Write Write: 1 call (33.3%) 1
Token usage56.0K total
Input6.0K
Cache creation12.0K
Cache read36.0K
Output2.0K
Cache hit ratio67%· warming up

Project: eval-harness · Branch: feat/cost · Mode: default · Model: qwen3-coder

Summary

Tracked token usage and cost per eval run and per metric, with prices loaded from a versioned table, and added a budget flag that stops a run before it exceeds a limit.

Conversation

Turn 1 — User

How much does one full eval run cost us?

Turn 1 — Assistant

Record usage per judge call, price it from prices.yaml (versioned by date), aggregate per metric, and add --budget that aborts cleanly with partial results.

Tools used in this turn:

  • Edit: harness/runner.py
  • Write: harness/cost.py
  • Bash: python -m harness run suites/support.yaml --budget 5 — $3.12

Connections

  • [[eval-harness]]
  • [[CostTracking]]
  • [[Budgets]]

Keyboard shortcuts

⌘K / Ctrl+KOpen command palette
/Focus search
g hGo to home
g pGo to projects
g sGo to sessions
j / kNext / prev row (tables)
?Show this help
EscClose dialogs

Structured queries

Mix key:value filters with free text in the palette:

type:sessionOnly session pages
project:llm-wikiFilter by project name (substring)
model:claudeFilter by model name (substring)
date:>2026-03-01Sessions after a date
date:<2026-04-01Sessions before a date
tags:rustPages mentioning a tag/topic
sort:dateSort results by date (newest first)

Example: type:session project:llm-wiki date:>2026-04 sort:date