Loading...
Loading...
Compare LLMs with native tool use and function calling support. Find the right model for your agentic pipeline — from lightweight extraction to complex multi-step agents.
40+
Models with tool use
12+
Supporting parallel calls
92%
BFCL accuracy (top model)
4
Formats
| Model | Parallel | Streaming | Format | Context | Input /1M | Output /1M |
|---|---|---|---|---|---|---|
Claude Opus 4.8Best for agents Anthropic | ✓ Yes | ✓ Yes | Claude tools | 1.024M | $5.00 | $25.00 |
Claude Sonnet 4.6Best value agents Anthropic | ✓ Yes | ✓ Yes | Claude tools | 1.024M | $3.00 | $15.00 |
GPT-4oMost compatible OpenAI | ✓ Yes | ✓ Yes | OpenAI tools | 128K | $2.50 | $10.00 |
GPT-4o miniMost affordable OpenAI | ✓ Yes | ✓ Yes | OpenAI tools | 128K | $0.15 | $0.60 |
| ✓ Yes | ✓ Yes | Google tools | 1.024M | $0.10 | $0.40 | |
| ✓ Yes | ✓ Yes | Google tools | 2.048M | $3.50 | $10.50 | |
Meta (open) | — No | — No | OpenAI tools compat. | 128K | $0.59 | $0.79 |
Meta (open) | ✓ Yes | — No | OpenAI tools compat. | 128K | $3.00 | $3.00 |
Mistral | ✓ Yes | ✓ Yes | Mistral tools | 128K | $2.00 | $6.00 |
Cohere | ✓ Yes | — No | Cohere tools | 128K | $2.50 | $10.00 |
Pricing from provider APIs. BFCL accuracy scores from Berkeley Function Calling Leaderboard.
Industry-leading agentic capabilities. Excellent at multi-step planning, tool chaining, and long-horizon tasks. Supports computer use tools natively.
Best cost-to-capability ratio for production agentic workflows. Fast tool execution with high instruction-following accuracy.
Most widely supported tool format in the ecosystem. Excellent function calling accuracy and strict JSON schema adherence.
Cheapest option with reliable tool use. Ideal for high-volume pipelines where function calling is straightforward.
Fast and cheap with native multimodal tool support. Can call tools based on image or video inputs as well as text.
Google's most capable model for complex agentic workflows. 2M context window for tasks requiring large-scale document analysis alongside tool use.
Best open-source option for function calling. Can be self-hosted for private pipelines. Tool use quality is behind frontier models but sufficient for structured extraction.
Largest open-weight model with parallel tool calling. Approaches GPT-4o quality on agentic benchmarks (BFCL) while remaining self-hostable.
Strong European option for function calling with GDPR-friendly hosting options. Good JSON schema adherence and parallel tool execution.
Purpose-built for RAG + tool use workflows. Natively designed to combine retrieval results with structured tool calls in multi-step pipelines.
Define tools
You declare a list of functions — name, description, and JSON schema for parameters — in your API request.
Model decides
The model reads your message and determines which function (if any) to call and with what arguments, returning a structured tool call object.
You execute
Your code receives the tool call, runs the actual function (a DB query, API call, calculator, etc.), and returns the result.
Model continues
The model receives the tool result and either calls another tool or generates a final answer for the user.
AI Agents
Multi-step autonomous agents that plan, use tools, and self-correct. Best models: Claude Opus, GPT-4o.
Data Extraction
Extract structured data from unstructured text — invoices, emails, documents. Any model works; mini/Flash is cheapest.
API Orchestration
Chain external API calls based on natural language. Function calling lets Claude/GPT choose which APIs to call and when.
Dynamic UIs
Generate structured component configs from natural language. Claude and GPT-4o produce reliable JSON outputs for rendering.
Function calling (also called "tool use") lets an LLM trigger actions in external systems. Instead of returning free text, the model returns a structured JSON object naming which function to call and with what arguments. Your code executes the function and passes the result back to the model, which then continues its reasoning — enabling multi-step agentic workflows.
BFCL (Berkeley Function Calling Leaderboard) is the leading benchmark for evaluating LLM tool-use ability. It tests 2,000+ function calling scenarios across simple, nested, parallel, and irrelevant-function cases. As of 2026, Claude Opus 4.8 and GPT-4o lead the leaderboard for complex scenarios, while GPT-4o mini leads on cost efficiency.
With parallel tool calling, the model can invoke multiple tools simultaneously in a single turn — useful when tool calls are independent (e.g., looking up two different data sources). With sequential calling, the model waits for each tool result before deciding the next step. Claude Sonnet 4.6, GPT-4o, and Gemini 2.0 all support parallel tool calls.
No — OpenAI's tools format, Anthropic's tools format, and Google's function declarations use different JSON schemas. Many LLM SDKs abstract this difference. If you're using an OpenAI-compatible endpoint (like Together AI or Fireworks), Llama and Mistral models accept the OpenAI tools format. Direct Anthropic API calls use the Claude-specific format.
For complex multi-step agents: Claude Opus 4.8 or GPT-4o. For cost-optimised production: Claude Sonnet 4.6 or GPT-4o mini. For private/self-hosted: Llama 3.1 70B or 405B. The key factors are tool-call accuracy (how reliably it picks the right function and fills arguments), parallel call support, and latency. Use ModelStop's compare tool to run cost projections.