Fixed#
A call that searched the web was billed as if it had searched for nothing. Anthropic charges $10 per 1,000 web searches on top of the tokens, on every model, and every response counts them in
usage.server_tool_use.web_search_requests. Trazum read the tokens and dropped the count: the Claude Code reader rebuilt each line's usage without it, andfrom-anthropicnamed the searches and priced none of them. Every Claude row now carries the fee (webSearchPerThousandUsd, from the pricing page and the web search tool's page, read 2026-11-05) and a call is billed for its searches, from a logged response, a Claude Code transcript, a batch's results file,from-anthropicandtrazum connect. The fee is flat: the tool's page says a search through the Batches API is "priced the same", and US-only inference and fast mode are stated for token categories. Searches on a model whose row publishes no fee are counted, named, and left out of the total.trazum reconcileunderstated the remainder by the batch calls Trazum had already priced. It took the provider's whole batch charge out of the difference, which was right while Trazum priced no batch call; since 2.7.4 the receipt's total holds its batch calls at the batch rate, so the same calls came out twice. It would have done the same with web searches. A receipt now says apart what its batch calls and searches cost (total.batchUsd,total.webSearchUsd), andreconcilesets each against the provider's own charge: the remainder is the standard-tier tokens, billed against computed. A category the report cannot name (OpenAI's batch, any ungrouped report) is set off on neither side. A receipt without the split is read as one that priced neither, and the run says so: one made by 2.7.4 should be made again.
Added#
- Web search is its own part of every bill.
webSearchRequests,webSearchUsdandwebSearchUnpricedRequestsin a breakdown; a "Web search" row in the terminal, Markdown, MCP and web Bill tab tables; a line on stderr afterbillandreceiptsaying how many searches the total holds and what they came to. A receipt line carrieswebSearchRequestsandmoney.webSearchUsd, so its five money parts still add to its total, and a receipt has the gapunpriced-web-search. The CSV appendsweb_search_requestsandweb_search_usdaftertotal_usd, so the first twelve columns keep their places.trazum connectstores the count with each record (webSearch), and a store written before reads as no searches. - A pricing overlay can state a per-search fee in
webSearchPerThousandUsd, refused unless it is a positive number. price-drift.mjsreads the web search sentence off Anthropic's pricing page every week and compares it with every Claude row.