Skip to content

v0.8.0 — Cost attribution (Milestone M)

Choose a tag to compare

@Lothnic Lothnic released this 10 Jul 07:32
149bd96

Meridian v0.8.0

Milestone M — cost attribution with enterprise hardening.

Highlights

  • Opt-in cost: — actual usage from non-stream JSON and stream SSE (last wins)
  • Ledger: memory or sqlite (WAL); per-model $/1M prompt & completion
  • GET /meridian/usage + /meridian/usage.csv
  • Auth required when cost is on; non-admin org/team scoped; cost_admin for all orgs
  • Metrics: meridian_tokens_total{model,kind}
  • Checklist: docs/ENTERPRISE_COST.md

Images

Release workflow publishes:

  • ghcr.io/imv-in/meridian:0.8.0 / :latest
  • Docker Hub when configured: lothnic0801/meridian:0.8.0

Enable carefully

auth: { enabled: true, keys: [...] }
cost:
  enabled: true
  store: sqlite
  sqlite_path: /var/lib/meridian/meridian_cost.db

Do not enable cost with auth.enabled: false (usage API returns 401).

Next

Milestone N — Helm, air-gap bundle, key reload.