Fastest LLM API for Tool Calling 2026: Groq, Cerebras, Claude Haiku, GPT-6 Luna and Gemini by Use Case
Pick by schema complexity, not tokens per second. A buyer's guide to the speed providers and small frontier models for tool calls, with list prices, a five-step latency example and a monthly cost worked out.
There is no single fastest LLM API for tool calling, and no 2026 latency benchmark has measured one, because none tests first-token time, time per call and valid-call rate together. For simple tool schemas served by an open model, Cerebras (about 3,000 tokens a second on gpt-oss-120b, with strict schema mode) and Groq (the cheapest per token) are the fastest options on published figures. For complex schemas, a small frontier model with reasoning turned down and schema enforcement on, such as Claude Haiku 5.5, OpenAI's gpt-6-luna or Gemini 3.5 Flash-Lite, is the safer pick. Whichever you shortlist, the deciding number is time to a valid call, measured from your own region.
What "fast" means for a tool call
A tool call is a short burst of JSON, often under 50 tokens. At that length the generation speed that headline rankings report barely matters: 50 tokens take 0.017 seconds at the roughly 3,000 tokens a second Cerebras lists for gpt-oss-120b, and 0.1 seconds at the 500 tokens a second Groq lists for the same model. Whole calls on the Berkeley Function Calling Leaderboard (BFCL) take one to two seconds on average for the quicker models, so most of the wait is time to first token: the network trip, queueing, reading tool definitions, and any reasoning before the answer.
The other half of speed is validity. A call that names a missing tool or mistypes an argument has to be retried, at the cost of another full round trip. Effective latency is therefore the time per call divided by the share of calls that come back valid. Schema enforcement, where the provider constrains decoding so arguments always match your JSON Schema, pushes that share towards one for the shape of the call. Anthropic (strict tool use, all models), OpenAI (strict mode; default in the Responses API, not in Chat Completions), Google (VALIDATED mode) and Cerebras (strict mode on its four tool-calling models) document it. SambaNova accepts a strict flag but says false "is the only value with active enforcement today," and the tool-calling docs of Groq, Fireworks, Together and xAI do not mention it.
The options compared
| Option | Speed as the provider states it | List price per 1M tokens (in / out) | Best fit |
|---|---|---|---|
| Cerebras, gpt-oss-120b | about 3,000 tokens/s | $0.35 / $0.75 | Simple schemas, strict mode, open model |
| Groq, gpt-oss-120b | 500 tokens/s | $0.15 / $0.60 | Simple schemas, lowest cost, you validate |
| Groq, gpt-oss-20b | 1,000 tokens/s | $0.075 / $0.30 | Very simple routing at minimum cost |
| Claude Haiku 5.5 | "Fastest" in Anthropic's lineup | from $0.10 / $0.50 | Complex schemas, strict tools, low effort |
| OpenAI gpt-6-luna | "most efficient" OpenAI model | $0.10 / $0.50 | Complex schemas, reasoning set to none |
| Gemini 3.5 Flash-Lite | "fastest" Gemini 3.5 model | $0.30 / $2.50 | Gemini users, VALIDATED mode |
Speeds and prices are as each provider's docs list them on November 17, 2026. Tokens per second are not comparable with the frontier providers' descriptive labels, which is the point: the frontier APIs do not publish a speed figure, and no one has measured the rows against each other on tool calls.
If your tools are simple and an open model is enough
A handful of functions with flat arguments is where the speed providers earn their place. Cerebras combines the highest listed speed with strict mode, which removes the main reason to distrust a fast open model: its own gpt-oss-120b page warns that the model may call tools that were never defined. Note that Cerebras runs gpt-oss-120b at medium reasoning effort by default, so lower it if your calls are simple.
Groq costs less than half as much per input token on the same model and lists gpt-oss-20b at 1,000 tokens a second for $0.075 per million input tokens. Its tool-use page says every hosted model supports tools, but gpt-oss models there do not support parallel calls, and the page does not describe schema enforcement, so validate arguments in your own code and count retries when you compare. SambaNova lists gpt-oss-120b at $0.22 and $0.59 but publishes no speed on its pricing page and advises high reasoning effort for better tool calls, which slows each one.
If your schemas are complex or the agent runs many steps
Nested arguments, dozens of tools or long multi-turn chains are where accuracy decides speed. The BFCL table, last updated April 12, 2026, shows the trade-off: Claude Opus 4.5 is the most accurate model at 77.47 percent but averages 4.38 seconds per call, while Gemini 2.5 Flash-Lite averages 1.18 seconds and scores 36.87 percent. Claude Haiku 4.5 sat between them at 68.70 percent and 1.68 seconds. Its successor and the other current small models are not yet on the board, and the board has no rows for Groq, Cerebras, SambaNova, Fireworks or Together.
For these workloads, choose a small frontier model and turn reasoning down. Anthropic recommends low effort on Claude Haiku 5.5 for "short tool tasks", while warning that at low effort in long agent prompts the model is more likely to skip a check or stop early; thinking can be disabled at high effort or below. OpenAI's gpt-6-luna and gpt-6.1-terra accept a reasoning effort of none. Turn on strict or validated mode in all of them. Gemini users have a deadline: Google's models page says that from December 1, 2026, all API requests to gemini-2.5-flash will automatically route to gemini-3.5-flash-lite, a model the Berkeley board has not yet measured, so an agent pinned to the old name should be re-tested before then. On xAI, parallel calls are on by default and a streamed function call arrives in a single chunk, so streaming will not shorten the wait for the call.
If you work in several regions
Tool-calling latency by region has not been measured by any primary source, so no ranking for US-East, Europe or Asia can be given, and the ordering could differ between them. Every figure in this guide includes a network round trip, so test from each region you serve and keep a separate shortlist per region if the results diverge.
Worked example: latency and cost of a five-step agent
Assume an agent that makes five chained tool calls per user request, with 2,000 input tokens per call (conversation plus tool definitions) and 50 output tokens per call, at 1 million requests a month, no prompt caching and list prices.
Latency. Using BFCL's measured means, five calls on GPT-4.1 mini take 6.6 seconds and on Claude Haiku 4.5 8.4 seconds; at their 95th percentiles, 12 and 15.75 seconds. If 10 percent of calls fail and are retried, each step averages 1.11 attempts and each total rises by about a tenth. The pure generation time of the 250 output tokens is 0.08 seconds at Cerebras' listed speed and 0.5 seconds at Groq's gpt-oss-120b speed, a smaller gap than the difference between a mean and a 95th-percentile call.
Cost. The workload is 10,000 million input tokens and 250 million output tokens a month.
From cheapest to dearest at list prices: Groq gpt-oss-20b comes to $825 ($750 input plus $75 output), OpenAI gpt-6-luna to $1,125, and Claude Haiku 5.5 to at least $1,125 at its "from" prices. Groq gpt-oss-120b costs $1,650, SambaNova gpt-oss-120b $2,347.50, Gemini 3.5 Flash-Lite $3,625 and Cerebras gpt-oss-120b $3,687.50 ($3,500 input plus $187.50 output). The speed premium on Cerebras is mostly an input-price premium.
A 10 percent retry rate adds about a tenth: roughly $1,250 for Luna, $1,833 for Groq gpt-oss-120b and $4,097 for Cerebras. Hidden reasoning also costs time and, where it is billed at the output rate as Google states for Gemini, money: 300 reasoning tokens per call on Cerebras gpt-oss-120b would take about 0.1 seconds per call at its listed speed, and $1,125 a month if billed as output. Input dominates every bill here, which is why caching the tool definitions (OpenAI lists cached input on Luna at $0.01 per million) matters more than the output price.
If one step only picks a tool
When a step chooses among options your code already supplies, a general model is not required. Parsec, a small language model lab, offers a managed service that post-trains compact models on a customer's own traffic, routes per turn and sends low-confidence requests to a frontier model. It says a first post-trained model takes about four weeks, and for voice agents it claims "60% lower TTFT" against an unstated baseline; no independent measurement has been published and it publishes no price. Its open-source Open Jev code, under the same GitHub organisation, scores a fixed option list in one pass with a local Gemma 3 4B and includes tooling to fine-tune such decision models.
How to run your own test
- Sample a few hundred real requests with their tool definitions.
- Replay them against three or four shortlisted APIs from your production region, with schema enforcement on where offered.
- Record p50 and p95 time to first token, p50 and p95 time to a complete call, and the share of calls that validate and pick the expected tool.
- Divide time per call by that share, then replay a five-step chain.
Bottom line
For simple schemas on an open model, start with Cerebras for strict mode at the highest listed speed, or Groq gpt-oss-20b or gpt-oss-120b if cost matters most and you validate calls yourself. For complex schemas or long chains, start with Claude Haiku 5.5 at low effort or gpt-6-luna with reasoning off, both with strict mode, and Gemini 3.5 Flash-Lite with VALIDATED mode if you are already on Gemini, tested before the December 1 switch. Choose the winner on time to a valid call from your own region.
Sources
- Berkeley Function Calling Leaderboard: https://gorilla.cs.berkeley.edu/leaderboard.html
- BFCL leaderboard data: https://gorilla.cs.berkeley.edu/data_overall.csv
- OpenAI, Latency optimization: https://developers.openai.com/api/docs/guides/latency-optimization
- OpenAI, Function calling: https://developers.openai.com/api/docs/guides/function-calling
- OpenAI, Models: https://developers.openai.com/api/docs/models
- OpenAI, API pricing: https://developers.openai.com/api/docs/pricing
- Anthropic, Models overview: https://platform.claude.com/docs/en/about-claude/models/overview
- Anthropic, Effort: https://platform.claude.com/docs/en/build-with-claude/effort
- Anthropic, Strict tool use: https://platform.claude.com/docs/en/agents-and-tools/tool-use/strict-tool-use
- Google, Gemini function calling: https://aistudio.google.com/docs/function-calling
- Google, Gemini models: https://aistudio.google.com/docs/models
- Google, Gemini API pricing: https://aistudio.google.com/docs/pricing
- xAI, Function calling: https://docs.x.ai/docs/guides/function-calling
- Groq, Tool use: https://console.groq.com/docs/tool-use
- Groq, Models: https://console.groq.com/docs/models
- Cerebras, Models overview: https://inference-docs.cerebras.ai/models/overview
- Cerebras, Tool use: https://inference-docs.cerebras.ai/capabilities/tool-use
- Cerebras, OpenAI GPT OSS: https://inference-docs.cerebras.ai/models/openai-oss
- SambaNova, Function calling: https://docs.sambanova.ai/cloud/docs/capabilities/function-calling
- SambaNova, Pricing: https://cloud.sambanova.ai/pricing
- Fireworks, Function calling: https://docs.fireworks.ai/guides/function-calling
- Together, Function calling: https://docs.together.ai/docs/function-calling
- Parsec vs routers: https://parseclab.ai/compare/routers/
- Parsec vs your own GPUs: https://parseclab.ai/compare/own-gpus/
- Parsec, Inference: https://parseclab.ai/inference/
- Open Jev (Parsec's open-source code): https://github.com/daseinlabs/open-jev