Skip to main content

Module obol

Module obol 

Source
Expand description

The obol house dialect: a provider-tagged raw-usage sidecar (usage.jsonl) that in-house harnesses emit. One row per billable LLM call:

{"type":"obol.usage","v":"2026-06-08","provider":"anthropic","model":"…",
 "service_tier":"standard","usage":{ …the SDK's usage object, verbatim… }}

The producer tags (provider / model / tier) and copies the raw usage through — no arithmetic. obol dispatches on provider to a shared normalizer (provider::{anthropic,openai}) and derives the rest. The interpretation — the part naive summers get wrong — lives here, once.

Functions§

parse