- Track billable tool usage (search, code interpreter, file search, etc.) in
Response.usage. - Calculate all-in cost: tokens + tools + images (+ storage/session if applicable).
- Add native LLMDB metadata for tool pricing, with provider-level defaults and model overrides.
- Keep backward compatibility for existing
costtoken pricing.
- LLMDB: add
pricing_defaultsto provider schema; addpricingto model schema.