Files
4d7735b483 fix(pricing): price zeroentropyai:zerank-2 reranks so --max-cost runs don't TX2 hard-fail
Fixes #3223: lookupPricing's rerank branch only consulted ANTHROPIC_PRICING
and the free-local set, so the tokenmax-default zerank-2 reranker returned
null pricing and every capped rerank reserve hard-failed. Adds the
zeroentropyai:zerank-2 entry ($0.025/1M) to EMBEDDING_PRICING and makes the
rerank branch fall back to lookupEmbeddingPrice before the free-local check.

Co-authored-by: Masashi-Ono0611 <Masashi-Ono0611@users.noreply.github.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23 10:56:28 -07:00
..