The AI arena is free today

Open Superagent

Gorilla Benchmark API Bench

Paper

Progress Over Time

Interactive timeline showing model performance evolution on Gorilla Benchmark API Bench

State-of-the-art frontier
Open
Proprietary

Gorilla Benchmark API Bench Leaderboard

3 models
ContextCostLicense
1405B
270B
38B
Notice missing or incorrect data?
About this benchmark

What is Gorilla Benchmark API Bench?

APIBench, a comprehensive dataset of over 11,000 instruction-API pairs from HuggingFace, TorchHub, and TensorHub APIs for evaluating language models' ability to generate accurate API calls.

Gorilla Benchmark API Bench is a text benchmark evaluating models on reasoning, code, and tool calling tasks. LLM Stats tracks 3 models on this benchmark, scored on a 0–1 scale. The current average is 0.2, with the leader at 0.4.

Compare leaders on the best AI for reasoning, best AI for code and best AI for tool calling leaderboards.

Current leaders

Llama 3.1 405B Instruct from Meta currently leads the Gorilla Benchmark API Bench leaderboard with a score of 0.353 across 3 evaluated AI models.

Source paper

Title
Gorilla: Large Language Model Connected with Massive APIs
Authors
Shishir G. Patil, Tianjun Zhang, Xin Wang, Joseph E. Gonzalez
Published
Abstract

Large Language Models (LLMs) have seen an impressive wave of advances recently, with models now excelling in a variety of tasks, such as mathematical reasoning and program synthesis. However, their potential to effectively use tools via API calls remains unfulfilled. This is a challenging task even for today's state-of-the-art LLMs such as GPT-4, largely due to their inability to generate accurate input arguments and their tendency to hallucinate the wrong usage of an API call. We release Gorilla, a finetuned LLaMA-based model that surpasses the performance of GPT-4 on writing API calls. When combined with a document retriever, Gorilla demonstrates a strong capability to adapt to test-time document changes, enabling flexible user updates or version changes. It also substantially mitigates the issue of hallucination, commonly encountered when prompting LLMs directly. To evaluate the model's ability, we introduce APIBench, a comprehensive dataset consisting of HuggingFace, TorchHub, and TensorHub APIs. The successful integration of the retrieval system with Gorilla demonstrates the potential for LLMs to use tools more accurately, keep up with frequently updated documentation, and consequently increase the reliability and applicability of their outputs. Gorilla's code, model, data, and demo are available at https://gorilla.cs.berkeley.edu

FAQ

Common questions about the Gorilla Benchmark API Bench benchmark and leaderboard.

What is the Gorilla Benchmark API Bench benchmark?

APIBench, a comprehensive dataset of over 11,000 instruction-API pairs from HuggingFace, TorchHub, and TensorHub APIs for evaluating language models' ability to generate accurate API calls.

What is the Gorilla Benchmark API Bench leaderboard?

The Gorilla Benchmark API Bench leaderboard ranks 3 AI models based on their performance on this benchmark. Currently, Llama 3.1 405B Instruct by Meta leads with a score of 0.353. The average score across all models is 0.244.

What is the highest Gorilla Benchmark API Bench score?

The highest Gorilla Benchmark API Bench score is 0.353, achieved by Llama 3.1 405B Instruct from Meta.

How many models are evaluated on Gorilla Benchmark API Bench?

3 models have been evaluated on the Gorilla Benchmark API Bench benchmark, with 0 verified results and 3 self-reported results.

Where can I find the Gorilla Benchmark API Bench paper?

The Gorilla Benchmark API Bench paper is available at https://arxiv.org/abs/2305.15334. The paper details the methodology, dataset construction, and evaluation criteria.

What categories does Gorilla Benchmark API Bench cover?

Gorilla Benchmark API Bench is categorized under reasoning, code, and tool calling. The benchmark evaluates text models.

What is the best open-source model on Gorilla Benchmark API Bench?

Llama 3.1 405B Instruct by Meta is the top-ranked open-source model on Gorilla Benchmark API Bench, with a score of 0.353 (rank #1).

How recent are the Gorilla Benchmark API Bench leaderboard results?

The Gorilla Benchmark API Bench leaderboard was last updated in August 2026 and currently includes 3 evaluated models.