whatmodel.sh / Granite 20B FunctionCalling
Granite 20B FunctionCalling
↗ share
+ contribute
Granite 20B FunctionCalling is an open-weights language model from IBM, released July 2024. Its published size is 20.07B parameters. Licence: apache-2.0.
Catalogue identity notes
Maker repo ibm-granite/granite-20b-functioncalling @b030a7f: licence tag apache-2.0. 20,066,993,152 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2024-07: month the maker's Hugging Face repo was created (createdAt 2024-07-09).
$ how it compares
The LLMs ranked either side of Granite 20B FunctionCalling, out of 1132 with a score, then more from IBM.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 737 | 45±2 | local | |||
| 738 | 45±1 | local | |||
| 739 | 45±4 | local | |||
| 740 | 45±3 | comparison only | |||
| 741 | 45±1 | comparison only | |||
| more from IBM | |||||
| 227 | 63±1 | api $0.28/M +local | |||
| 293 | 60±1 | api $0.11/M +local | |||
| 356 | 57±1 | api $0.052/M +local | |||
$ what it's good at
agent tasks▁▁▃▆█▆▅▄▄▃▂▁ #289 of 334 * · 92% of its score · 2 tests
Beats DeepSeek R1 0528 Qwen3 8B, Magistral Small 1.0 (2506), Llama 4 Scout (109B-A17B) here, though they rank higher overall. Trails Granite 4.0 H 1B, Granite 4.0 1B, Qwen2.5 3B Instruct here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BFCL V4 (December 2025 archive) | 23.2% ✎ | ▁▁▁▂██▅▅▆▂▂▂ beats 11/77 | 58% |
| BFCL v3 | 48.9% ✎ | ▁▁▁▁▁▃▅█▅▄▁▁ beats 32/114 | 34% |
$ where to run it
llama.cpp · recommended
version
- Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.macOS / Linux
curl -LsSf https://llama.app/install.sh | shWindowsirm https://llama.app/install.ps1 | iex - Run Granite 20B FunctionCalling · needs ~12.8 GB · from huggingface.co/mradermacherchat in the terminal
llama cli -hf mradermacher/granite-20b-functioncalling-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf mradermacher/granite-20b-functioncalling-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Granite 20B FunctionCalling · needs ~12.8 GB · from huggingface.co/mradermacher
- Or download it in the terminal
lms get https://huggingface.co/mradermacher/granite-20b-functioncalling-GGUF@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
version
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run Granite 20B FunctionCalling · needs ~12.8 GB · from huggingface.co/mradermacherchat in the terminal
ollama run hf.co/mradermacher/granite-20b-functioncalling-GGUF:Q4_K_M
Other ways to run it
- Run it as published · needs ~40.13 GB · from huggingface.co/ibm-granite
uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='ibm-granite/granite-20b-functioncalling', torch_dtype='auto', device_map='auto')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"
Weights and documentation: huggingface.co/ibm-granite ↗
$ how the score was worked out · Berkeley Function Calling Lea… 92%
Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works
| source | results | share of the score |
|---|---|---|
| 2 | 92% | |
| prior · pull toward the middle | 8% | |
| weighted average | = 45.0 |
$ improve this page
Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.
data updated · sources and licences · json