Xray
daily rollups 1h 6h 24h 48h 3d 5d 7d 14d 30d ‹
Last 14 days▾
Ends now. Anything up to this cluster's 30-day retention.
Start and end times
Cancel
Interpreted in UTC (change it at the right of this bar). Earliest available: 2026-10-19 13:17:34.
› →|
updated 1d ago
Sample data. This database was generated by scripts/seed_dev_db.py — every service, deploy, person and figure on this page is synthetic. Names are sample.*@seed.invalid and image tags are prefixed SEED-. Nothing here happened.
← findings

test27: LiteLLM's OpenAI cost is $2.03 (5.0%) over OpenAI's bill over 7 days (2026-11-10 to 2026-11-16)

warning LLM cost off the provider's bill test27 open impact 19 opened 37d ago · last observed 1d ago · observed 73× · #4438 · 7f8b952d14891315562f

What happened template

Over 7 UTC days (2026-11-10 to 2026-11-16) OpenAI billed test27 $40.21; the LiteLLM log says $42.24, a difference of $2.03 (5.0%, log above the bill), past the 1.0% this alert allows. Largest gaps: gpt-5.6-terra billed $35.26, logged $37.23; gpt-5.4 billed $3.02, logged $3.04; gpt-6.1-terra billed $1.84, logged $1.86. Any charge worked out from the log inherits that difference; OpenAI's bill is the authority.

What the LiteLLM log says a cluster spent on OpenAI no longer matches what OpenAI billed for it — a figure usage is charged from.

The facts

first_day2026-11-10
last_day2026-11-16
days7
billed_usd40.21
logged_usd42.24
diff_usd-2.03
share_pct5.04
tolerance_pct1.00
directionlog above the bill
models_off{'model': 'gpt-5.6-terra', 'billed': 35.26, 'logged': 37.23}, {'model': 'gpt-5.4', 'billed': 3.02, 'logged': 3.04}, {'model': 'gpt-6.1-terra', 'billed': 1.84, 'logged': 1.86}, {'model': 'gpt-5.6-luna', 'billed': 0.0, 'logged': 0.02}, {'model': 'gpt-4o', 'billed': 0.03, 'logged': 0.03}
billed_not_logged_usd0
openai_projecttest27
discriminator

The story — No deploy or hand change is recorded in the hour before this opened.

History

  • 2026-11-17 00:12:03 UTCreopened x-ray · severity=warning was=warning title=test27: LiteLLM's OpenAI cost is $2.03 (5.0%) over OpenAI's bill over 7 days (2026-11-10 to 2026-11-16) level=medium was_level=medium finding={'id': 4438, 'fingerprint': '7f8b952d14891315562f', 'kind': 'llm.cost_drift', 'severity': 'warning', 'cluster': 'test27', 'subject': 'openai-cost', 'title': "test27: LiteLLM's OpenAI cost is $2.03 (5.0%) over OpenAI's bill over 7 days (2026-11-10 to 2026-11-16)", 'facts': {'first_day': '2026-11-10', 'last_day': '2026-11-16', 'days': 7, 'billed_usd': 40.21, 'logged_usd': 42.24, 'diff_usd': -2.03, 'share_pct': 5.04, 'tolerance_pct': 1.0, 'direction': 'log above the bill', 'models_off': [{'model': 'gpt-5.6-terra', 'billed': 35.26, 'logged': 37.23}, {'model': 'gpt-5.4', 'billed': 3.02, 'logged': 3.04}, {'model': 'gpt-6.1-terra', 'billed': 1.84, 'logged': 1.86}, {'model': 'gpt-5.6-luna', 'billed': 0.0, 'logged': 0.02}, {'model': 'gpt-4o', 'billed': 0.03, 'logged': 0.03}], 'billed_not_logged_usd': 0, 'openai_project': 'test27', 'discriminator': ''}, 'evidence': [{'label': 'OpenAI spend', 'href': '/costs/openai?cluster=test27&from=1794268800&to=1794873600'}, {'label': 'AI usage', 'href': '/ai?cluster=test27&from=1794268800&to=1794873600'}], 'provenance': {'source': 'live', 'collected_at': None, 'age_seconds': None, 'stale': False, 'shown': None, 'total': None, 'truncated': False, 'coverage_from': None, 'retain_days': None, 'note': "BigQuery tilda_llm_logs link and OpenAI's organization API (stored copy)"}, 'impact': 14.4, 'status': 'open', 'first_seen': 1791804738, 'last_seen': 1794874323, 'resolved_at': None, 'acked_by': None, 'acked_at': None, 'snoozed_until': None, 'occurrences': 73, 'narrative': "Over 7 UTC days (2026-10-29 to 2026-11-04) OpenAI billed test27 $33.10; the LiteLLM log says $45.00, a difference of $11.89 (35.9%, log above the bill), past the 1.0% this alert allows. Largest gaps: gpt-5.6-terra billed $28.43, logged $38.85; gpt-5.2 billed $0.68, logged $1.39; gpt-5.4 billed $2.47, logged $2.91. Any charge worked out from the log inherits that difference; OpenAI's bill is the authority.", 'narrative_kind': 'template', 'discriminator': '', 'level': 'medium', 'told_level': None, 'episode_at': 1794874323, 'chat_thread': None, 'kind_label': "LLM cost off the provider's bill", 'group': 'AI', 'age_s': 3069619, 'stale_s': 34}

Check it yourself

Every link carries the finding's own time window, so it shows tomorrow what it shows now.

Actions

Sign in (IAP) to acknowledge, snooze or resolve.

Where the numbers come from

sourcelive
collected_atNone
age_secondsNone
staleFalse
shownNone
totalNone
truncatedFalse
coverage_fromNone
retain_daysNone
noteBigQuery tilda_llm_logs link and OpenAI's organization API (stored copy)
detectoropenai_cost_drift