AINewsnow

How to count tokens across every major LLM provider in JavaScript

This story is from 2026-09-04. It is preserved in the archive; the latest stories are on the live feed.

A friend of mine sent me a screenshot last month. His OpenAI bill for one day was $847. He runs a small SaaS product doing maybe $12,000 a month in revenue. The bill wasn't a bug, it wasn't a hack, and he hadn't shipped anything new for two weeks. What changed was that he was sending 1,800-token sy…

Read the full story at DEV Community — AI ↗

Timeline · 1 report

  1. 2026-09-04 08:04 · DEV Community — AI
    How to count tokens across every major LLM provider in JavaScript

More stories

  1. Novo Nordisk Will Use Anthropic’s Claude for Drug Research — Wall Street Journal Technology
  2. Introducing Astra for Law — OpenAI News
  3. Gemini Hacked Three Companies in First Known Breakout by Google’s AI — Wall Street Journal Technology
  4. OpenAI reveals cases of ‘concerning’ AI behaviour as it announces new disclosure system — The Guardian AI
  5. Anthropic, OpenAI, SpaceXAI, Google sued over call to ‘pace’ AI development — Politico Technology
  6. Meet the Data Agent in ChatGPT Work — OpenAI YouTube
  7. Google Joins OpenAI, Anthropic, Meta in Disclosing AI Hacks — Bloomberg AI
  8. OpenAI discloses six new safety incidents — Axios AI+

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