benchmarks/inference/best inference provider for tool calling
tool calling · latency and exact arguments · measured Sep 3, 2026

Best LLM inference provider for tool-calling agents

What the benchmark found. Baseten led end-to-end p99 latency at 3.23 seconds; Telnyx and Fireworks AI led task success at 99.5%. The scorecard keeps latency, tokens per second, accuracy, and failures separate rather than blending them into one synthetic score. For tool-calling agents the complete structured result is the finish line; time to first token matters only when text is shown to a person first. Measured across 10 LLM inference providers serving GLM 5.3 Flash, 600 requests each, Sep 3, 2026.

Providers measured. Baseten, DeepInfra, Fireworks AI, Modal, Nebius, Novita AI, Parasail, Telnyx, Together AI, and Z.AI, each serving GLM 5.3 Flash behind an OpenAI-compatible chat-completions endpoint.

What this page compares. A tool-calling agent cannot proceed until the model returns a complete, schema-valid object it can pass to the next tool. This page applies the full scorecard to that step: complete-answer latency and exact task success, with failures kept separate.

How to read the result. Set a task-success floor first, because a plausible but wrong argument triggers the wrong action. Then compare end-to-end p95 and p99 among the providers that clear it; sequential tool calls compound tail latency.

Workload and configuration. Every provider received the same 600 deliberately easy structured tasks: 200 meeting-note lookups, 200 ticket-triage classifications, and 200 contract-term extractions. GLM 5.3 Flash ran with streaming enabled, reasoning low, temperature 0, top-p 1, a 256-token output ceiling, one attempt, a 20-second timeout, and per-provider concurrency one.

APIs used. The runner called each provider's OpenAI-compatible chat-completions surface with the model identifiers below; the links open the provider documentation used to verify each adapter.

Which LLM inference provider is best for tool-calling agents on latency and exact results?

The full table is retained: a tool-calling step can be blocked by complete-result latency, wrong structured output or an API failure, and no synthetic score hides those.

benchmarks/inference/best-inference-provider-for-tool-callingreviewed run
GLM 5.3 Flash inference providers listed alphabetically with balanced pooled latency metrics
ProviderEnd-to-end latencyTime to first output tokenTime to first visible answer tokenToken generation speedTask successFailure rate
P50P95P99P50P95P99P50P95P99P50P95P99
Basetenzai-org/GLM-5.3-Flash331 ms2.29 s3.23 s228 ms499 ms946 ms287 ms1.16 s2.65 s240.5 tok/s61.6 tok/s22.6 tok/s95.8%0.0%no operational failures
DeepInfrazai-org/GLM-5.3-Flash1.83 s11.0 s17.1 s808 ms3.78 s9.08 s1.15 s6.41 s13.2 s69.4 tok/s9.0 tok/s5.0 tok/s95.5%4.0%429 0.3% · transport 3.7%
Fireworks AIaccounts/fireworks/models/glm-5p3-flash1.95 s6.72 s10.5 s586 ms5.67 s8.74 s1.06 s5.83 s8.74 s58.2 tok/s27.9 tok/s14.9 tok/s99.5%0.0%no operational failures
Modalzai-org/GLM-5.3-Flash574 ms1.90 s3.28 s376 ms812 ms2.72 s470 ms1.09 s2.79 s222.2 tok/s84.7 tok/s34.9 tok/s99.3%0.0%no operational failures
Nebiuszai-org/GLM-5.3-Flash1.45 s7.45 s15.0 s925 ms7.11 s14.6 s1.14 s7.11 s14.6 s269.3 tok/s78.8 tok/s39.9 tok/s84.8%14.8%timeout 2.8% · other 4xx 11.5% · transport 0.5%
Novita AIzai-org/glm-5.3-flash1.74 s5.00 s7.25 s1.13 s1.79 s4.28 s1.40 s3.41 s5.58 s60.6 tok/s29.6 tok/s11.6 tok/s94.2%4.0%timeout 0.2% · 429 3.8%
Parasailzai-org/GLM-5.3-Flash1.59 s7.74 s11.5 s856 ms4.96 s10.9 s1.11 s5.54 s10.9 s52.4 tok/s22.8 tok/s15.6 tok/s98.3%1.3%timeout 0.8% · 429 0.2% · transport 0.3%
Telnyxzai-org/GLM-5.3-Flash669 ms2.33 s3.48 s497 ms802 ms2.90 s574 ms1.34 s3.00 s184.3 tok/s67.5 tok/s47.3 tok/s99.5%0.0%no operational failures
Together AIzai-org/GLM-5.3-Flash609 ms3.66 s12.4 s377 ms2.23 s12.2 s393 ms2.26 s12.2 s151.6 tok/s34.0 tok/s21.7 tok/s98.5%1.0%timeout 0.3% · 429 0.5% · 5xx 0.2%
Z.AIglm-5.3-flash1.75 s4.83 s8.59 s1.05 s1.89 s4.76 s1.39 s3.14 s5.00 s56.3 tok/s27.8 tok/s11.5 tok/s97.5%0.2%timeout 0.2%

Rows are listed alphabetically. Generation-speed P95 and P99 are coverage-based slow-tail floors: 95% and 99% of measured responses respectively generated at least that fast.

Provider by provider, in the order above

  • Baseten: 331 ms median, 3.23 seconds end-to-end p99, time to first token p95 1.16 seconds, 240.5 tokens per second, 95.8% task success, 0.0% failures.
  • Modal: 574 ms median, 3.28 seconds end-to-end p99, time to first token p95 1.09 seconds, 222.2 tokens per second, 99.3% task success, 0.0% failures.
  • Telnyx: 669 ms median, 3.48 seconds end-to-end p99, time to first token p95 1.34 seconds, 184.3 tokens per second, 99.5% task success, 0.0% failures.
  • Novita AI: 1.74 seconds median, 7.25 seconds end-to-end p99, time to first token p95 3.41 seconds, 60.6 tokens per second, 94.2% task success, 4.0% failures.
  • Z.AI: 1.75 seconds median, 8.59 seconds end-to-end p99, time to first token p95 3.14 seconds, 56.3 tokens per second, 97.5% task success, 0.2% failures.
  • Fireworks AI: 1.95 seconds median, 10.49 seconds end-to-end p99, time to first token p95 5.83 seconds, 58.2 tokens per second, 99.5% task success, 0.0% failures.
  • Parasail: 1.59 seconds median, 11.51 seconds end-to-end p99, time to first token p95 5.54 seconds, 52.4 tokens per second, 98.3% task success, 1.3% failures.
  • Together AI: 609 ms median, 12.45 seconds end-to-end p99, time to first token p95 2.26 seconds, 151.6 tokens per second, 98.5% task success, 1.0% failures.
  • Nebius: 1.45 seconds median, 14.97 seconds end-to-end p99, time to first token p95 7.11 seconds, 269.3 tokens per second, 84.8% task success, 14.8% failures.
  • DeepInfra: 1.83 seconds median, 17.07 seconds end-to-end p99, time to first token p95 6.41 seconds, 69.4 tokens per second, 95.5% task success, 4.0% failures.

Which tool-calling patterns does this benchmark represent?

  • Tool selection. Ticket triage approximates choosing a category and priority before dispatching the next action.
  • Typed tool arguments. Contract extraction approximates producing a typed object that deterministic code must accept without repair.
  • Fact before action. Meeting-note lookup approximates retrieving one grounded fact that controls the next call.

How is LLM inference provider latency and accuracy measured here?

  • Same model. Every endpoint serves GLM 5.3 Flash; the provider layer is the only variable.
  • Same request. One-turn, non-tool chat completion in JSON-object mode, streaming on, temperature 0, top-p 1, reasoning low, 256-token ceiling, 20-second timeout, concurrency one.
  • Client clock, pinned tokenizer. Time to first token, end-to-end latency and tokens per second come from the client; visible answer tokens are counted with a pinned tiktoken o200k_base tokenizer, never provider-reported usage.
  • Exact task success. An answer counts only when it is schema-valid and exactly correct under the task rubric. Timeouts, HTTP errors and malformed responses stay in the denominator.
  • Serverless endpoints only. Dedicated capacity is outside the comparison. Runner and per-request records: openbenchmarks-labs/inference.

Tool-calling inference: questions this page answers

Which inference provider is fastest for tool-calling agents at p99?

Baseten led end-to-end p99 latency at 3.23 seconds; Telnyx and Fireworks AI led task success at 99.5%. The scorecard keeps latency, tokens per second, accuracy, and failures separate rather than blending them into one synthetic score. For tool-calling agents the complete structured result is the finish line; time to first token matters only when text is shown to a person first.

Which provider returns the most exact tool arguments?

Set a task-success floor first, because a plausible but wrong argument triggers the wrong action. Then compare end-to-end p95 and p99 among the providers that clear it; sequential tool calls compound tail latency.

Should a tool-calling agent optimize time to first token or end-to-end latency?

The full table is retained: a tool-calling step can be blocked by complete-result latency, wrong structured output or an API failure, and no synthetic score hides those.

Read the complete LLM inference provider benchmark

Metric definitions, request scheduling, task rubrics, failure handling, and the complete provider scorecard live on the LLM Inference Provider Benchmark →