📖 The AI Tool Bible

Gorilla

Open-source LLM purpose-built for function calling and API invocation across thousands of tools.

Free· Free and Apache 2.0; self-hostedAgentsgorilla-openfunctions-v2 (6.91B)
Visit website →
Best for

Pick Gorilla if you need an open, self-hostable model that does function calling and tool use as a first-class skill.

Skip if

Skip it if you want a turnkey hosted agent API with SLAs and a polished dashboard.

Gorilla is a UC Berkeley research project that ships an open-source LLM (gorilla-openfunctions-v2, ~6.91B params) trained specifically to translate natural-language intents into accurate API calls. Beyond the base model, the project includes GoEX (a runtime that executes LLM-generated actions with undo and damage-confinement safety primitives), RAFT (a fine-tuning recipe for retrieval-augmented generation), and the Berkeley Function-Calling Leaderboard (BFCL) which benchmarks function-calling quality across 2,000+ test cases in Python, Java, and REST.

It's aimed at developers and ML teams who want an open, self-hostable alternative to closed function-calling APIs from OpenAI or Anthropic. Everything is Apache 2.0, with weights on HuggingFace and a hosted demo plus Colab notebook for kicking the tires. Because it's research-led, the polish is uneven compared to commercial offerings, but the BFCL leaderboard and ongoing publications give it real credibility as a reference implementation for tool-using agents.

Integrations cover Python, Java, and REST out of the box, and the project pairs naturally with agent frameworks that need a local function-calling backbone. The caveat is that 'product' here means GitHub code plus model weights, not a managed SaaS, so you handle hosting, eval, and ops yourself.

Editor's take

Gorilla is one of the few credible open alternatives to closed function-calling APIs, and the BFCL leaderboard alone makes the site worth bookmarking. Treat it as a research-grade building block rather than a finished product, and pair it with your own serving stack.

— The AI Tool Bible editorial team

Pros

  • Fully open-source (Apache 2.0) with weights on HuggingFace
  • Purpose-trained for function calling, not a generic chat model retrofitted
  • Includes BFCL leaderboard as a public eval harness
  • GoEX runtime adds undo and damage-confinement for executed actions
  • Active Berkeley research backing with regular updates

Cons

  • ⚠️ Research project polish; not a managed SaaS
  • ⚠️ Smaller param count than frontier closed models
  • ⚠️ Self-hosting and ops are on you
  • ⚠️ Documentation skews toward papers and notebooks

Use cases

function-callingtool-useapi-invocationagent-backbonerag-fine-tuning

Explore related

Compare with similar tools

All in Agents