HOME | .TXT WEBSITE

BY Remi Louf and the .txt team

Your open model isn't bad at tool calling

Send the exact same tool-calling request to Gemma 4 31B through OpenRouter. Friendli breaks 0.03% of tool calls. Modal breaks 4.5%. SiliconFlow breaks 6.6%. A 200-fold difference for the same model and the same request.

Gemma 4 is not unusual. On gpt-oss-120b the gap runs from 0.07% at Groq to 60% at Nebius. Across the 48 open-weight models served by multiple providers on OpenRouter, the worst provider breaks 25 times more tool calls than the best on a typical model, and one model in four has a hundredfold gap.

Most developers never see these errors directly. Agent harnesses catch an invalid tool call and hand the error back to the model to retry, so a broken provider feels like a slower, pricier, slightly duller model rather than a crash. And for a multi-step agent, small rates compound fast: at 3% per call (the bar above which our index ignores a provider), a 20-step loop has a 46% chance of hitting at least one broken call. At 10%, nine loops in ten do.

Back in April, I used Gemma 4 to argue from bug reports that open-model tool calling is an M×N problem: every model family invents a wire format, and every inference engine reimplements it. This post is the measurement, published daily at providers.dottxt.ai: every provider, every model, every hour since mid-October. Unless noted otherwise, every number below comes from the seven-day window of November 24 to November 30, after OpenRouter stopped counting caller-truncated tool calls as provider errors on November 4.

00-provider-model-matrix.png

Figure 1: Broken tool-call rates across 48 open-weight models and 60 providers on OpenRouter (November 24 to November 30, 2026), ordered by provider ranking.

The M×N problem in production

A tool call is text. The model emits it in a format it learned in training, and something has to turn that text back into a function name and arguments. Gemma 4 uses custom braces and special quote tokens, gpt-oss speaks Harmony, GLM emits XML tag pairs, and DeepSeek has its own markup. Closed models feel more reliable at tool calling largely because one team owns the format, the engine, the grammar and the parser end to end. Open weights split the weights from the serving stack.

So every inference engine ships a chat template and a parser per model family, plus a grammar if it constrains generation. That is the M×N problem: N formats, M engines, each pair written and debugged by hand.

00-wire-formats-same-call.png

Figure 2: The same tool call passes through five stages: JSON Schema, model weights, model-specific wire format, engine parser, and decoded JSON object.

In production, providers run different versions of the same upstream engine, patch or tweak it, and pick their own parser flags, chat template, quantization and serving tier. Any of those choices can break tool calls. On GLM 5.3, Fireworks' standard endpoint breaks 0.22% of tool calls, its spot tier breaks 0.12%, its fast tier breaks 1.02% and its flex tier breaks 7.3%: a sixtyfold gap across four tiers of the same provider and model. On GLM 5.3 Flash, Particle AI's nvfp4 endpoint breaks 0.27% while its nvfp4/flex endpoint breaks 6.8%.

92% of broken tool calls vanish without changing the weights

If tool calling were mostly a property of the model weights, every provider serving the same model would break calls at roughly the same rate. That is not what happens:

  • 92% of broken tool calls disappear by switching providers on the same model. Route every request to each model's best provider and daily failures drop from 2.3 million to under 200,000. Restricting to high-volume providers handling 100,000+ calls a day still eliminates 91%.
  • Picking the provider matters more than picking the model. The median gap between the worst and best provider of the same model is 25×, more than twice the spread across different models.
  • Most open-weight models already call tools cleanly somewhere. Nearly three quarters of open-weight models already run under 0.5% on at least one provider, yet on nearly half of them another provider breaks 3% or more.

Those deployment-specific failures show up even at the best providers. Fireworks sits in our top tier across 14 models and still breaks 1.4% of its 1.1 million daily tool calls on GLM 5.3 Flash. Groq sits in the top tier across 4 models and breaks 4.2% on Llama 3.3 70B Instruct. Nebius sits in the middle across 16 models and breaks 60% on gpt-oss-120b.

Even the model maker's own API isn't the reference implementation

You might expect the lab that trained a model's tool-calling format to serve it best. Usually they don't. DeepSeek's own API ranks 39th of 41 on DeepSeek V4.1 Flash 1017 (2.8% vs. Wafer's 0.03%). Z.AI ranks 31st of 33 on GLM 5.3 (3.1% vs. Amazon Bedrock's 0.01%), and MiniMax ranks 9th of 11 on MiniMax M3.1 Flash (2.8% vs. Wafer's 0.17%).

Eleven providers are reliably better, seven reliably worse

Individual deployments can break anywhere, but provider-level habits still show up across every model a company hosts: roughly 30% of the model-adjusted variation sits at the provider level. Comparing providers against peers on the same models separates the ones that consistently break fewer calls from the noise.

Each bar is a provider's odds of breaking a tool call relative to the typical provider on the same models: thick = 50% credible interval, thin = 95%. Green means the entire 95% interval sits below 1×, orange above. On a typical model where the median provider breaks 0.8% of tool calls, the better tier breaks 0.06% to 0.37%, while the worse tier breaks 1.4% to 5.8%.

In the November 24–30 ranking, eleven providers land in the better tier (led by Sail Research, Friendli, Morph and Groq), and seven in the worse tier (with SiliconFlow, Novita, Cerebras and Featherless at the bottom).

The other 42 providers can't be separated from typical. A provider hosting two or three models doesn't give enough evidence to separate its stack from its models' quirks; even DeepInfra, on 38 models, sits in the middle once its endpoints are modeled separately. Six providers that don't document tool calling (Crusoe, Darkbloom, Ionstream, Makora, NextBit and PrimeIntellect) are excluded.

The tiers are stable from week to week.

Six providers held the better tier across all six weekly windows from October 19 to November 30, while CoreWeave and Cerebras each held the worse tier in five of the six, and SiliconFlow climbed from 1.02× in late October to 2.81× by November 30.

Paying more doesn't buy cleaner tool calls

The better tier does not cost more. Comparing providers serving the same model, higher prices do not buy fewer errors: the cheapest provider beats the most expensive one on 25 of 44 models, even when the price gap is more than double.

06-price-vs-reliability.png

Figure 3: Provider relative token price vs. broken tool-call odds across 60 providers (November 24 to November 30, 2026).

More than one deployment in four broke in seven weeks

Weekly tiers hide what happens day to day. Underneath the weekly averages, individual deployments break in sudden steps and stay broken for weeks.

Between October 15 and November 30, 29% of deployments broke at least once (171 of 598). For a working deployment, that works out to roughly a 15% chance of breaking in any given month.

And issues linger. More than two-thirds of breaks (71%) are still broken nine days later. In the 48 hours after a break, failed calls jump 3.5× while total traffic drops 25%, so callers who don't route away absorb the failures.

We publish each week's confirmed breaks, fixes and new model launches at providers.dottxt.ai/weekly/.

Every new model reopens the matrix

You don't need access to a provider's cluster to see why deployments keep breaking: the bugs are filed in public. We tracked every tool-calling issue, pull request, parser commit and release across vLLM, SGLang and TensorRT-LLM and matched each to the models it names.

Lined up on each model's release day, the backlog grows instead of shrinking.

05-open-upstream-bugs-weekly.png

Figure 4: Median open upstream tool-calling bugs in vLLM, SGLang and TensorRT-LLM after model launch across the 10 most-used open-weight models.

Launch week brings the sharpest spike, and new bug reports keep arriving roughly every other week after. Fixes don't keep pace, so by six months the median model has 9 open tool-calling bugs.

Developers feel it immediately. In the first week after a model lands on OpenRouter, its typical provider breaks 1.6% of tool calls, more than double the 0.7% rate two weeks later. Launch week is when developers form their first impression of a model, and roughly nine new tool-calling models launch on OpenRouter every month.

Of the fixes that do land upstream, half take over a month from report to release, and a quarter take more than two. A provider that upgrades the week a fix ships and one that waits a quarter are serving the same weights as completely different products. If you self-host open models, this backlog is yours.

Routing around the matrix, and closing it

In the short term, you can route around broken deployments per model rather than per provider. OpenRouter's default routing still sends traffic to broken deployments, and :exacto only covers a handful of models. Passing OpenRouter's provider object with an explicit order and ignore list enforces a hard reliability floor. Example for DeepSeek V4.1 Flash 1017:

{
  "model": "deepseek/deepseek-v4.1-flash-1017",
  "provider": {
    "order": ["wafer/mxfp4", "wafer/us", "fireworks/flex", "sail-research/fp4"],
    "ignore": ["featherless/fp8", "near-ai"],
    "allow_fallbacks": false
  }
}

providers.dottxt.ai updates these routing configs daily for every model alongside machine-readable JSON, Markdown and llms.txt. Coding agents can install it directly:

npx skills add https://providers.dottxt.ai --skill openrouter-provider-routing

Routing helps today, but passive telemetry only sees part of the picture: OpenRouter scores the tool calls a provider attempts to parse, not the schemas it rejects upfront or the strict: true constraints it silently ignores. When we benchmarked these same providers directly, the ones that look cleanest in production often support fewer tool-calling features. We'll publish those results next.

Pinning providers and patching parsers only work around the problem. Nine new tool-calling models ship every month, bringing new formats, new tokenizers, and new regressions in both correctness and serving performance. Inference teams already have enough on their plates with kernels, scheduling, and hardware utilization; keeping up with an endless stream of tool-calling formats is a full-time systems problem of its own. Tool calling belongs in a dedicated layer of the inference stack, not scattered across hand-maintained patches in every engine and every cloud. That is what we are building with .lambda.

Appendix: the models

The ranking model

Each weekly ranking fits a hierarchical Bayesian crossed random-effects model to daily broken tool-call counts across all (provider, model) pairs averaging at least 1,000 tool calls a day on models served by two or more providers (48 models, 60 providers, 550 endpoints on November 24–30; six providers that don't document tool calling are excluded). On the log-odds scale, each endpoint's daily error rate is decomposed into five additive terms: a model difficulty effect, a provider-wide effect across all models it hosts, a specific (provider, model) deployment effect, an endpoint quantization/tier effect, and day-to-day noise. Model and provider effects use heavy-tailed Student-t distributions rather than normals so outliers don't skew the typical baseline, and the model is fit with Gibbs sampling under strict convergence checks.

What it controls for:

  • Model mix. Every provider is compared against peers serving the exact same models.
  • Single bad deployments. Every (provider, model) pair and every endpoint tier gets its own effect. Nebius breaks 60% on gpt-oss-120b, but its other 15 models are fine, so the model isolates that failure to the deployment rather than dragging down the whole provider.
  • Single-day spikes. Daily endpoint noise absorbs one-day incidents.
  • Small sample sizes. Hosting only a few models produces wide credible intervals; a provider enters the better or worse tier only when its entire 95% interval clears 1× (which is why 42 of 60 providers stay undecided).
  • Outliers. Heavy-tailed Student-t effects keep the typical provider at the center.
  • Tiers instead of ranks. In the untiered middle, point ranks shift by a median of 6 places week to week without tiers changing, so we publish tiers rather than noisy point ranks.

The changepoint model

To detect sudden regressions and fixes, we fit a 47-day Bayesian changepoint model across all 598 deployments averaging at least 1,000 tool calls a day from October 15 to November 30. Each deployment's daily error rate is modeled as a piecewise-constant underlying level plus heavy-tailed daily noise, so isolated bad days don't get mistaken for sustained regressions. A step is called a break (or fix) only when the posterior probability exceeds 50% that error odds at least doubled (or halved) and stayed there for at least three days. We also cross-check raw failed-call volume around each step to confirm breaks reflect rising failures rather than clean traffic leaving (raw failed calls jumped 50%+ in 78% of detected breaks).

Keep up with structured generation