Best LLMs for JSON / Tool use (2026)

As of 2026-10-29, LLM Reference's top pick for function calling and tool use is Gemini 2.5 Flash by Google DeepMind (BFCL 56.24%, $2.50/1M output tokens), chosen from models that meet the podium eligibility rules. Second pick: GPT-4.1 by OpenAI.

Last refreshed 2026-10-29. Next refresh: weekly.

Best LLMs for JSON / Tool use in 2026. Ranked by BFCL benchmark, with native JSON output and structured output support.

Verdict

Use Gemini 2.5 Flash for JSON / Tool use today.

GPT-4.1 is the runner-up, 2 points back on BFCL.

Researched 15d agoWhy this pickMethodology

How we rank

JSON / Tool use leaders rank on BFCL first: every model with a BFCL score ranks above every model without one. Models without BFCL sort by τ-bench. The two benchmarks are never compared with each other.

  1. Eligibility — Models listed with function calling or tool use.
  2. Primary ranking — BFCL score first, newer release on ties; models without BFCL follow by τ-bench, then newer release.
  3. Variant collapse — We keep one row per model family (`familySlug` + parameter tier). When headline scores tie within ±0.5 pt (±10 Elo on Chatbot Arena), we pick the canonical SKU by lowest tracked input price, then GA over preview or limited access, then newest `release`. A folded sibling within the benchmark noise band can show a "Tied within margin" chip on that score cell.
  4. Podium eligibility — Preview, restricted, retired and retiring models never fill a podium slot. Preview means preview or invite-only access, or a model that is announced or pre-release. Restricted means restricted, partner, private or otherwise unavailable access. Retired means the model is past its retirement date or every provider route is retired. Retiring means the model, or any one of its provider routes, has a retirement date within the next 60 days. These models can still appear in the table below the podium.
  5. Pricing — Lowest tracked input(output) for API routes.

New models awaiting benchmark coverage

These source-backed rows qualify for this task page, but they are not scored leaderboard picks until the category benchmark data exists.
ModelWhy it is listedStatusListed price
Particle-1
Tools
Particle-1 reports tool-use capability; keep it separate from the scored tool-use ranking until benchmarks land.Benchmark pending

No BFCL or tau-bench score listed.

In $0.25 / Out $1.00
LFM3-1.7B
Tools
LFM3-1.7B reports tool-use capability; keep it separate from the scored tool-use ranking until benchmarks land.Benchmark pending

No BFCL or tau-bench score listed.

In $0.08 / Out $0.20
GPT-6.1 Terra
ToolsCode execution
GPT-6.1 Terra reports tool-use capability; keep it separate from the scored tool-use ranking until benchmarks land.Benchmark pending

No BFCL or tau-bench score listed.

In $1.00 / Out $5.00
Kimi K3.1 Pro
Tools
Kimi K3.1 Pro reports tool-use capability; keep it separate from the scored tool-use ranking until benchmarks land.Benchmark pending

No BFCL or tau-bench score listed.

In $2.00 / Out $10.00
#ModelInput $/1MOutput $/1M
1Claude Opus 4.5
ReasoningVisionTools

BFCL (primary): 77.47%

$5.00$25.00
2Claude Sonnet 4.5
ReasoningVisionTools

BFCL (primary): 73.24%

$3.00$15.00
3Claude Haiku 4.5
VisionTools

BFCL (primary): 68.7%

$1.00$5.00
4Kolibri 1
ReasoningTools

BFCL (primary): 61.4%

——
5Granite 4.2 30B
ReasoningTools

BFCL (primary): 61.39%

——
6Command A Reasoning (08-2025)
Tools

BFCL (primary): 57.06%

——
7Gemini 2.5 Flash
VisionTools

BFCL (primary): 56.24%

$0.30$2.50
8GPT-5 Mini
ReasoningVisionToolsVerify pricing

BFCL (primary): 55.46%

$0.25$2.00
9GPT-4.1
VisionTools

BFCL (primary): 53.96%

$2.00$8.00
10Granite 4.2 3B
ReasoningTools

BFCL (primary): 52.41%

——
11Granite 4.2 8B
ReasoningTools

BFCL (primary): 52.39%

$0.06$0.25
12GPT-5 Nano
ReasoningVisionToolsVerify pricing

BFCL (primary): 51.45%

$0.05$0.40
13GPT-4.1 Mini
VisionTools

BFCL (primary): 50.45%

$0.40$1.60
14Kimi K2.5
VisionToolsVerify pricing

BFCL (primary): 47.1%

$0.44$2.00
15Command A
Tools

BFCL (primary): 46.49%

$2.50$10.00
16Mistral Large 2.1 (2411)
Tools

BFCL (primary): 38.37%

——
17Mistral Medium 3
VisionTools

BFCL (primary): 37.69%

$0.40$2.00
18Mistral Small 3.2 24B
VisionToolsVerify pricing

BFCL (primary): 37.15%

$0.10$0.30
19Gemini 2.5 Flash Lite
VisionTools

BFCL (primary): 36.87%

$0.10$0.40
20Command R7B (12-2024)
Tools

BFCL (primary): 32.07%

$0.04$0.15

Honorable mentions

Next seats in this ranking. Lines below are from each model's stored description in LLMReference seed data—spot-check the model page before relying on a capability claim.
  • #4GPT-5 NanoVerify pricing

    Fastest, cheapest GPT-5 variant for summarization and classification tasks. Also available via Realtime API.

    51.45%

    BFCL

  • Fast and efficient small model from OpenAI replacing GPT-4o mini. Released April 2025 alongside GPT-4.1. Shows improvements in instruction-following, coding, and intelligence with a 1 million token context window. Available in ChatGPT for paid users.

    50.45%

    BFCL

  • #6Kimi K2.5Verify pricing

    Kimi K2.5 is Moonshot AI's Kimi model focused on code generation and software engineering. It offers a 256K-token context window and scores 87.9 on GPQA.

    47.1%

    BFCL

Compare Top Picks

Side-by-side comparison of the top picks by price, benchmark, and API access.

Frequently asked questions

What is the best LLM for function calling and tool use?

LLM Reference's top pick for function calling and tool use as of 2026-10-29 is Gemini 2.5 Flash by Google DeepMind, with BFCL 56.24%. Picks come from models that meet the podium eligibility rules, so the top pick may not lead the full table. Second pick: GPT-4.1 by OpenAI (BFCL 53.96%).

Which ranked LLM for function calling and tool use has the lowest output price?

Among the ranked models shown on this page, Command R7B (12-2024) by Cohere has the lowest listed output price: $0.150/1M output tokens, at rank 20.

What is the best open-weight LLM for function calling and tool use?

Kolibri 1 by Aleph Alpha is the highest-ranked open-weight model shown on this page (rank 4, BFCL 61.4%). License: Apache 2.0.

How is the function calling and tool use ranking calculated?

JSON / Tool use leaders rank on BFCL first: every model with a BFCL score ranks above every model without one. Models without BFCL sort by τ-bench. The two benchmarks are never compared with each other. Preview, restricted, retired and retiring models never fill a podium slot. Preview means preview or invite-only access, or a model that is announced or pre-release. Restricted means restricted, partner, private or otherwise unavailable access. Retired means the model is past its retirement date or every provider route is retired. Retiring means the model, or any one of its provider routes, has a retirement date within the next 60 days. These models can still appear in the table below the podium.

How often is this page updated?

Weekly. Last refreshed 2026-10-29.