AI NewsInfrastructureAnnouncement
LiteLLM 1.100.0 removes prompt_token_calculator and adds Bing search grounding
LiteLLM released v1.100.0 on 6 September 2026 with two changes marked breaking, including the deletion of the prompt_token_calculator utility, and added Grounding with Bing Search as a search provider.

Why it mattersTeams that route model calls through LiteLLM get its breaking changes on the gateway's release schedule, and this one removes a token-counting function that mis-counted Claude models without any error.
BerriAI published LiteLLM v1.100.0 on 6 September 2026. The release carries two entries marked as breaking changes in the changelog, and the version list runs to 412 linked pull requests since v1.99.0, which was released five days earlier on 1 September. LiteLLM is an open-source gateway that offers a single OpenAI-style interface for many model providers, and the repository has 58,129 stars.
The function that counted Claude models wrong
The first breaking entry deletes prompt_token_calculator from litellm.utils. The pull request describes it as a second token-counting entry point that duplicated token_counter, and gives the reason for removing it rather than fixing it: the function passed Claude model IDs straight through, so most Claude IDs were counted with OpenAI tokenization instead of Claude's own. The stated migration is to call token_counter instead. The pull request text says it directly: "keeping a second entry point only preserves a trap."
That is worth reading twice if any billing estimate, budget check, or context-fitting logic in your codebase calls it. The failure gave no warning. Code that used it did not error, it just returned counts computed with the wrong tokenizer, and for a Claude model the number would have been wrong in every call.
The second breaking entry is narrower. It adds max_retries and extra_headers to the supported OpenAI parameters reported for Cerebras.
Search becomes a provider option
The release also adds Grounding with Bing Search, registered as bing_grounding, to LiteLLM's search provider system. The pull request says it connects the provider to the unified search runtime, the proxy interception path, pricing metadata, tests, and the dashboard provider list, so it is reachable through the /v1/search endpoint, through chat websearch interception, through the SDK, and through the admin UI. It supports API keys, Entra tokens, and Azure identity for authentication, and it carries separate per-query pricing for the free and paid modes.
This continues a pattern worth noticing: search is being treated the same way model calls already are, as an option with interchangeable providers behind one interface, alongside the existing Tavily option.
A gateway is useful because it handles provider differences so your application code does not have to know about them. The cost of that arrangement is that the gateway's own interface becomes a dependency with its own release schedule, and here that schedule is five days between minor versions with 412 pull requests inside them. A deleted utility function is the cheap version of that cost. The expensive version is finding out months later that a number you trusted was computed with the wrong tokenizer the whole time, which is the specific thing this release fixes by taking the function away rather than repairing it.
Source
LiteLLM v1.100.0 release notes, with the two changes detailed in PR #38132 and PR #38119.
This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.
Get AI News in your inbox
New developer tools, model and agent releases, and how teams are actually using them to release software. Short, and only when there is something worth reading.
