No. 043Filed by The Reporter
Opinion
Make OpenAI's cache alert tell you why the cache broke
Opinion: OpenAI's new prompt cache alerts say the hit rate fell, not why. Keep baseline response IDs so one canary request can name the cause.

Opinion. This is our build-next pick for the week. The pick is ours; every fact in it is linked. We have not built this.
Our read: if you set up OpenAI's new prompt cache hit rate alert, pair it with a small triage worker that turns a falling hit rate into a named cause before anyone opens a dashboard.
Why this week#
OpenAI's API changelog for Dec 3 says it "Released Health alerts which allows platform users to get notified when certain metrics violate thresholds or when certain events are triggered, through the configured notification mechanisms." Our release story covers setup. One rule type stands out: per the guide, it "measures the share of input tokens served from the cache." Our read: a broken cache throws no error, so it can go unnoticed until someone reads the bill.
The gap#
The alert tells you which traffic slipped, not which request changed. The guide says: "An aggregate alert doesn't include the response IDs needed for a request comparison." The webhook is thinner still. Per the guide: "The payload contains event metadata and only the notification ID in data. It doesn't include measurements, thresholds, evaluation windows, or traffic dimensions."
Meanwhile the tool that names a cause needs exactly those IDs. Per OpenAI's diagnostics docs, you set prompt_cache_options.comparison_response_id to a baseline response, and a cache_miss result "includes a reason", such as tools_changed, model_changed or service_tier_changed.
What we'd build#
Our proposal, not an OpenAI feature:
- Baseline log. For each prompt template, store one recent completed response ID with its project, model and service tier, and roll it forward. That supplies the IDs the alert lacks.
- Receiver. Verify the signature, "Persist the event before returning an HTTP 2xx response", and "Use the
webhook-idheader to deduplicate retried deliveries", per the guide. - Fetch the snapshot. A worker retrieves the notification by
data.idand readsdimensionsandwindow. The guide is bold on the key: "Both organization-owned and project-owned notifications require an organization Admin API key." - Canary. For each template in that project and model, send one request that reuses the template with the stored baseline as
comparison_response_id. Post thereasonand the window to on-call. - Close per group. A resolved event "has its own notification ID", and "The resolution applies only to that traffic group", per the guide. Close only that ticket.
Copyable design prompt (ours, untested):
Design, but do not deploy, a cache-alert triage worker for the OpenAI API.
Keep one recent completed response ID per prompt template, with project,
model and service tier. On a health.alert.triggered webhook, verify it,
store it, dedupe on webhook-id, then fetch the notification with an org
Admin API key. For prompt_cache_hit_rate alerts, send one canary per
matching template with prompt_cache_options.comparison_response_id set to
the stored baseline, and post diagnostics.reason with the alert window.
Good to know#
- Webhooks need a purchase level. The allowance table lists webhooks as "Included." only at "At least $500 in qualifying prepaid credit purchases". The guide adds: "Sales-managed organizations and organizations with qualifying postpaid or custom billing arrangements receive the 100-rule allowance." Below that, email only; run the canary by hand.
- Model limits. Per the diagnostics docs: "Diagnostics are available in the Responses API for GPT-5.6 and later supported models."
- Baselines expire. Per the diagnostics docs,
comparison_response_not_foundmeans no usable record is available: "It may be missing or expired." Keep baselines recent. - The canary is a real request. Our read: it is billed like any other call. Per the diagnostics docs, setting the comparison ID "only requests diagnostics" and "does not load the earlier conversation or change caching behavior".
- Test events can't test retrieval. Per the guide: "Test events contain sample notification IDs that don't refer to stored notifications, so they can't demonstrate successful retrieval." Mock the fetch.
- Store what you need. Per the guide: "Notifications remain retrievable for 30 days."
Who it helps (our read): teams with long shared prompt prefixes on GPT-5.6 or later, where a quiet cache break shows up first as a bill.
Last checked: Dec 3, 2026, 3:51 PM ET. What changed: new pick, first filed Thursday afternoon; no earlier version.
Sources#
Sources
- OpenAI API docs: Health alertsdevelopers.openai.com1
- OpenAI API docs: Prompt cache diagnosticsdevelopers.openai.com2
- OpenAI API reference: Retrieve a health alert (organization)developers.openai.com3
- OpenAI API changelog (Dec 3, 2026 entry)developers.openai.com4