How to Verify Claude thinking_signature & Catch Hidden Cache Markups (2026-12-05)
Technical teardown of Anthropic thinking_signature verification, SSE signature_delta streaming, model-substitution red flags, and two-pass prompt-cache markup detection.
Why thinking_signature Is Harder to Spoof Than Model Names
Anthropic’s extended thinking API emits structured content blocks containing a thinking trace and a cryptographic signature field (streamed incrementally as signature_delta events and echoed back on multi-turn tool calls). If a gateway silently downgrades a request to a non-reasoning model or translates Anthropic calls through an incompatible OpenAI wrapper, the signature block is either absent, truncated, or rejected on subsequent turns with 400 Invalid signature in thinking block.
{
"type": "content_block_delta",
"index": 0,
"delta": {
"type": "signature_delta",
"signature": "EqoBCkYICxgCKkB...<hundreds of base64/url-safe characters>"
}
} How Our Stateless Probe Evaluates Gateway Integrity
APIPick’s /probe/ endpoint executes a single lightweight diagnostic request (1,024-token thinking budget) using either your browser directly (BYO CORS) or our stateless Cloudflare Pages Function with strict Cache-Control: no-store headers and zero persistence.
- › PASS: A thinking content block is returned alongside a non-empty signature (>= 64 characters without whitespace corruption).
- › WARN: A thinking block appears with an unusually short (< 64 chars) signature or only redacted_thinking blocks.
- › FAIL (Stripped): The upstream accepted thinking: { type: "enabled" } without erroring, yet returned plain text with zero thinking or signature blocks.
Detecting Silent Prompt-Cache Markups ("Cache Tax")
Official labs steeply discount repeated input prefixes: 0.05x on Claude 5.5, GPT-6.2, and Gemini 4; 0.02x–0.033x on DeepSeek V4 off-peak. In our two-pass cache probe, APIPick sends an identical >1,250-token deterministic technical prefix twice (350ms apart) and inspects cache_read_input_tokens (Anthropic), prompt_tokens_details.cached_tokens (OpenAI), or cachedContentTokenCount (Gemini).
If Pass 2 reports 0 cached tokens—or if your provider billing ledger deducts >0.10x of uncached input pricing on cached tokens—you are paying an invisible cache tax that can double real monthly bills.