Berkeley Function Calling Leaderboard: What BFCL Measures and What It Misses

What does the Berkeley Function Calling Leaderboard measure, and why is a high score not proof that a model calls your tools reliably?
The Berkeley Function Calling Leaderboard (BFCL) is a public test of a model’s tool calls (requests to run a function). Some calls are checked against an answer key (accepted values), others against the state a task should leave behind. The results add up to one weighted score.
A high score shows success on the benchmark’s tasks, not that values suit your users or that calls always succeed. A call passing the title Dune instead of an ISBN would fail an answer key of ISBNs; in your application, the benchmark does not stop it, a check of your own does.
Where the leaderboard fits
Tool use in prompts, also called function calling or tool calling, lets a language model ask your application, the code that calls the model’s API, to run a tool: a function you offer it.
BFCL, from the Gorilla team at UC Berkeley, tests how well models make such calls (ICML paper). Testing your own agent, a model with your tools, belongs to agent evaluation and testing.
Example: a user asks “Is Dune available at the city library?” search_books(query) finds a book’s ISBN; get_book_availability(isbn) says whether a copy is on the shelf. Each tool reaches the model as a definition whose schema lists the inputs and their types in JSON Schema:
{
"name": "get_book_availability",
"description": "Call this only with an ISBN from search_books. Returns whether the city library has a copy on the shelf.",
"input_schema": {
"type": "object",
"properties": {
"isbn": {
"type": "string",
"pattern": "^97[89][0-9]{10}$",
"description": "ISBN-13, digits only"
}
},
"required": ["isbn"],
"additionalProperties": false
}
}
How BFCL checks one call
For single requests, BFCL compares each call with the answer key of its test question: per input, a list of accepted values. The tool name must match and every value must be in its list.
Our example’s call in Anthropic’s API format, a recorded reply of the tool calling guide’s run, written by hand after Anthropic’s documentation, not by a model; your code answers it with the same id:
{
"id": "toolu_01",
"input": {
"isbn": "Dune"
},
"name": "get_book_availability",
"type": "tool_use"
}
The name is right, but a key of ISBNs has no “Dune”, so the call fails. The rule is BFCL’s; the example and its key are ours.
Other checks and the score
| Part | Weight | Checks |
|---|---|---|
| Agentic | 40 % | web search, stored-memory lookups |
| Multi-Turn | 30 % | data in BFCL’s test APIs after each turn (a user message and its calls) |
| Live | 10 % | real user queries, answer key |
| Non-Live | 10 % | dataset queries, answer key |
| Hallucination Measurement | 10 % | no call when no tool fits |
Multi-turn and agentic tasks carry most of the score.
On the leaderboard page (BFCL v4, last updated 12 April 2026, read 4 December 2026), the best overall score is about 77 % on BFCL’s own tasks, not on yours.
What a high score misses
Whether a value is right. Anthropic’s documentation says strict makes a tool’s input follow its schema, and OpenAI’s function-calling page says the same, and its structured-outputs page adds that your application must still validate business rules the schema does not express (both read 4 December 2026).
Whether the model picks the right tool. In the BFCL Live data (blog of August 2024), an entry offers 3 functions on average. Anthropic’s and OpenAI’s documentation say a long tool list lowers accuracy (numbers below). In our reading, a score earned on short lists says little about yours.
What the definitions cost. They are input tokens, billed like other input (Anthropic and OpenAI documentation, read 4 December 2026); the leaderboard lists cost in a separate column that does not enter the overall score; structured output prompting covers the token overhead of schemas.
Whether a task succeeds again. The BFCL pages we read describe no repeated tries. tau-bench, a benchmark with a simulated user, measures pass^k, the chance that all k tries at the same task succeed. Its paper reports that this chance falls steeply as k grows (figures below). In our reading, one success proves little.
If you only wanted to know what BFCL measures and misses, you can stop here.
BFCL versus tau-bench
The tau-bench paper (Yao and colleagues, June 2024) tests an agent, a model with tools and a policy of rules to follow.
For its main results it runs at least 3 trials per task; pass^8 needs at least 8 trials, and the text we read does not say how many ran for that figure. For the best gpt-4o function calling agent in the retail domain, average task success is above 60 % (pass^1), while pass^8 falls below 25 %.
| BFCL | tau-bench | |
|---|---|---|
| What is checked | each call against the answer key; in multi-turn tasks, the state after every turn and the calls made | the database at the end of the conversation against the goal state, and whether the agent’s replies gave the user all needed information |
| Who plays the user | queries from the dataset, one per turn | a user simulated by a language model |
| Repeated tries | none described in the pages we read | pass^k |
| Size | 5,088 scored entries in five parts (BFCL v4 blog, July 2025) | two domains, named retail and airline |
The BFCL authors see two weaknesses in tau-bench: it supports only 28 functions in two domains, and simulated users can hallucinate, that is, invent things, which confounds the evaluation.
A follow-up paper, tau2-bench (June 2025), adds a telecom domain. In that paper, gpt-4.1’s pass^1 fell from 74 % in retail and 56 % in airline to 34 % in telecom, a domain where the user also acts with tools. In our reading, a score in one domain says little about another.
Wrong tool or wrong value
A 2024 arXiv paper, “Reducing Tool Hallucination via Reliability Alignment” (its method is called Relign), splits tool hallucination, where a model selects an inappropriate tool or misuses one, into two kinds: calling the wrong tool, and applying the right tool with incorrect parameters or invented ones.
BFCL’s checking code also rejects a call with a wrong name, a missing required input or an input the tool does not have.
When it breaks: In the run of the tool calling guide (MacBook Air M3; recorded replies written after the vendors’ documentation, no real model and no real API), a schema check with Python’s jsonschema library rejected isbn="Dune" with the pattern line above and passed it as a bare string; the guide’s text shows the check.
A missing value has its own multi-turn category, Missing Parameters: the request lacks a value, and the model should ask instead of assuming one. Anthropic’s documentation (read 4 December 2026) says some of its models are much more likely to ask, while others might infer a reasonable value.
Vendor advice on the number of tools (documentation read 4 December 2026): OpenAI suggests fewer than 20 functions at the start of a turn and calls it a soft suggestion, Anthropic says picking the right tool degrades past 30 to 50 tools, and Google says to keep the active set to 10 to 20.
Related topic pages: prompt injection, prompt optimization and prompt testing and evaluation.
Why one model has two rows
A model that supports two modes appears in two rows. FC means native function calling: the definitions go in the API’s dedicated tools field. Prompt means a workaround: the definitions go into the system prompt, the instructions sent before the user’s message, and the model writes the call as plain text.
The BFCL paper finds that FC output is structured and has fewer parsing errors, but that more capable models often do better in prompt mode. Not every model does: on the leaderboard updated 12 April 2026, Claude-Sonnet-4-5-20250929 scores 73.24 % in FC mode and 24.90 % in prompt mode. A score belongs to a model and a mode together.
How the answer key treats details
The checker is called the AST (abstract syntax tree) check: it parses the call with Python’s ast module. Types are strict: a number never matches a string. Strings are compared without case, spaces and the characters , . / - _ * ^ before the lookup.
An answer key has a limit the authors state themselves: for web APIs (REST) they used none, because listing every possible answer was not practical. Version 1 also ran executable checks, calling real functions; the paper reports a strong correlation with the answer-key scores, and the executable categories left the leaderboard on 9 April 2025.
The leaderboard page calls the overall score “the unweighted average of all the sub-categories”, but the v4 blog and the evaluation code apply the weights in the table above.
How BFCL changed since 2024
| Version | Released | What it added |
|---|---|---|
| BFCL v1 | not stated; the oldest changelog entry is 29 February 2024 | the answer key as the metric; about 2,000 question-function-answer pairs in Python, Java, JavaScript, REST and SQL |
| BFCL v2 “Live” | 19 August 2024 | queries and functions contributed by users |
| BFCL v3 | 19 September 2024 | multi-turn tasks, judged by the state of the system |
| BFCL v4 | 17 July 2025 | the agentic part (web search and memory) and an unscored test of whether the input format changes the output |
Cheat sheet
The article on one page: open it full size, save it or share it.

AI-assisted content, human-reviewed. Images AI-generated. Editorial Standards · Our Editors