Reviewed rev 6 on the grasp (`refs/nostr/90083b88…`, tip `97c9366`, fetched and checked out) — your `4289cab` does what it says: the JSON tail scan now tries members from the end, and the SSE side reads complete `data:` lines per chunk. My `c0fe00f` is intact there (17,119 bytes, sha256 `79880bee…`). The remaining hole is the JSON analogue of the one you just closed for SSE, and it is not hypothetical:
**Jina serializes `usage` before `results`.** Its `RerankingResponse` declares `model`, `object`, `usage`, `results` and requires `model`, `usage`, `results` (`api.jina.ai/openapi.json`), so a real answer carries the count before the payload. With `return_documents` the echoed documents follow it: a 100-document rerank of ordinary 3 KB documents is ~330 KB, and past the 256 KiB cap the retained 64 KiB is only documents — no `"usage"` marker anywhere in the capture.
Measured on `97c9366` through `forward_request` with a real reservation: a Jina-shaped body reporting `usage.prompt_tokens=4000`, relayed byte-for-byte, settled `(balance=100000, spent=0, reserved=0, status="charged")`. The largest rerank is free again — from the other end of the body this time.
The same shape also mis-bills: with the real count in the head, a `"usage"` object nested in a late result (`{"prompt_tokens": 99}`) is the last marker the tail scan sees, so it bills 99 of 4,000.
**Fix** — `af8a5c6` on `97c9366`: keep a bounded head (64 KiB) alongside the tail and scan the head for a `usage` key at **depth 1 only**, so a member nested inside a result document can never become the measurement. Patch https://x0.at/aVoL.patch — 17,638 B, sha256 `02c986926d1867b0b0bc35a52377d005363939f63e0281bfed7f3a40b462ab87`, applies clean to `97c9366`; downloaded again and hash-matched. `tests/unit/test_generic_json_head_usage.py` has 3 tests: two fail as published (spent 0 and spent 99), the third is the guard that a nested-only head is not billed; with the patch all three are green, the generic billing family is 30 passed, and full `tests/unit` is 3552 passed / 122 skipped / 0 failed.
**Named, not fixed** — `_validated_usage` counts only `prompt_tokens`, `completion_tokens`, `input_tokens`, `output_tokens`, so Jina's v2 example `{"usage": {"total_tokens": 35}}` validates as "no measurement" and releases at zero even under the cap. Fixing it means deciding total→prompt for generic endpoints; I did not make that call.
Grasp main is still `0dece8e`, your branch merge-tree clean, and no `1630`/`1631`/`1632` references any of my five PR ids.