AINewsnow

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

  1. 2026-10-08 19:06 · DEV Community — AI
    Bedrock and LangChain disagree on what input_tokens means — never price it without knowing who counted

More stories

  1. GPT-6 and Intelligent UI for everyone — OpenAI News
  2. Introducing Mistral Large 4 — Mistral AI News
  3. Introducing Claude Haiku 5.5 on AWS — AWS Machine Learning Blog
  4. Anthropic bans ‘abusive or cruel behavior’ toward Claude — The Verge AI
  5. Anthropic launches the Critical Infrastructure Defense Program to provide AI models, threat research, and on-site support, starting with CrowdStrike and others (Sam Sabin/Axios) — Techmeme
  6. Claude Pro vs ChatGPT Plus vs Copilot Premium: which one would you choose for this use case? — r/ChatGPTPro
  7. NInfer6000 - Qwen 3.8 Flash Next @ 400 tg/s & 13K pp/s — r/LocalLLaMA
  8. Claude Haiku 5.5 now available on AI Gateway — Vercel Blog

Get the daily brief of stories like this at 6:30 every morning →