Bedrock and LangChain disagree on what input_tokens means — never price it without knowing who counted
This story is from 2026-10-08. It is preserved in the archive; the latest stories are on the live feed.
I was adding cache-read and cache-write columns to a usage ledger, and I put two usage payloads side by side to get the parsing right. Both came from Claude on Bedrock. Both had input_tokens and both reported prompt-cache activity. In one, input_tokens was what was left after the cache. In the othe…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-08 19:06 · DEV Community — AI
Bedrock and LangChain disagree on what input_tokens means — never price it without knowing who counted