# Zero-Storage API Truth & Cache-Tax Probe (Snapshot 2026-12-05)

Run live at [https://api.envpick.com/probe/](https://api.envpick.com/probe/).

## Zero-Storage Guarantee
- Keys and custom gateway base URLs stay strictly in browser memory or a single stateless Cloudflare Pages Function call (`POST /api/probe`).
- All `/api/*` endpoints enforce `Cache-Control: no-store, max-age=0`, `Pragma: no-cache`, `X-Robots-Tag: noindex, nofollow`, and `Referrer-Policy: no-referrer`.
- Zero `localStorage`, `sessionStorage`, cookies, KV, D1, R2, or `console.log` storage of visitor credentials or payloads.

## Supported Diagnostic Checks
1. **Anthropic Messages (`/v1/messages`)**: Reconstructs `thinking` blocks and `signature` / SSE `signature_delta` events (`PASS` >= 64 chars, `WARN` short/redacted, `FAIL` stripped).
2. **OpenAI Chat Completions (`/v1/chat/completions`) & Responses (`/v1/responses`)**: Checks `model` echo, `system_fingerprint`, `reasoning_content`, `tool_calls`, and `cached_tokens`.
3. **Google Gemini (`generateContent`)**: Inspects `thought` parts, `thoughtSignature`, and `usageMetadata.cachedContentTokenCount` using `x-goog-api-key` headers (never URL query keys).
4. **Two-Pass Prompt Cache Audit**: Sends a deterministic >1,250-token prefix twice (`350ms` gap) to verify whether the gateway passes through `cache_read_input_tokens` / `cached_tokens`.
5. **Client-Side Redacted Share Card**: Generates PNG and Markdown summaries locally in-browser with optional host anonymization.
