AINewsnow

Your Gemini 3.8 Flash Token Counter Is Wrong

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

The Problem You are building a Python service that talks to Gemini 3.8 Flash. To stay under the model’s token limits you count tokens locally before you send the request. Your code looks correct – you are using tiktoken or a Hugging Face tokenizer. Yet the numbers you see are consistently 10‑20 % o…

Read the full story at DEV Community — AI ↗

Timeline · 1 report

  1. 2026-09-03 06:01 · DEV Community — AI
    Your Gemini 3.8 Flash Token Counter Is Wrong

More stories

  1. Google turns off Gemini and Search by default for K-12 school accounts after backlash — Techmeme
  2. Google to cut off Search for schools that ban AI, drawing backlash — Forbes AI
  3. EU court adviser says Google's Gemini chatbot may infringe press copyright rules — Reuters AI
  4. Google expands AI story app Dreambeans to India, its first market outside the US — TechCrunch AI
  5. AI opt-out standard gains backing from OpenAI, Google and Microsoft — The Verge AI
  6. AT&T's smart security system integrates with Gemini for Home — The Verge AI
  7. Google ships Gemini 4 Argon and makes computer use tool generally available — DEV Community — AI
  8. Eight things happened in AI today; the one worth your attention is Re:Build. — DEV Community — AI

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