whatmodel.sh / xLAM-2-1b-fc-r

xLAM-2-1b-fc-r is an open-weights language model from Salesforce, released March 2025. Its published size is 1.54B parameters. Licence: cc-by-nc-4.0.

Catalogue identity notes

Maker repo Salesforce/xLAM-2-1b-fc-r @6870fcf: licence tag cc-by-nc-4.0. 1,543,714,304 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2025-03: month the maker's Hugging Face repo was created (createdAt 2025-03-27).

51.1±3.9#411 of 949 LLMsfrom 2 benchmark results across 1 source* thinly tested, treat the rank as provisional

$ how it compares

The LLMs ranked either side of xLAM-2-1b-fc-r, out of 1132 with a score, then more from Salesforce.

#modelscorewhereRAMreleased
537Jais 2 8B Chat Inception (G42)51±5comparison only2025-12
538Command A Translate (08-2025) Cohere51±5api price unknown2025-08
539xLAM-2-1b-fc-r Salesforce51±4local~2.6GB2025-03
540Hammer2.1-3b MadeAgents51±4local~3.3GB2024-12
541DeepSeek-TNG R1T2 Chimera TNG Technology Consulting51±10local~229GB2025-07
more from Salesforce
165xLAM-2-32b-fc-r Salesforce66±4local~21GB2025-03
170Llama-xLAM-2-70b-fc-r Salesforce66±4local~29GB2025-03
256Llama-xLAM-2-8b-fc-r Salesforce62±4local~6.6GB2025-03

see all LLMs · find the ones that fit your machine

$ what it's good at

agent tasks▁▁▃▆█▆▅▄▄▃▂▁ #244 of 334 * · 93% of its score · 2 tests

Beats o3-mini, Llama 3.1 Nemotron Ultra 253B v1, Nova 2 Lite here, though they rank higher overall. Trails SmolLM3 3B, Jamba 1.5 Mini, LFM2.5 1.2B Thinking here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
BFCL V4 (December 2025 archive)30.4% ✎▁▁▁▂██▅▅▆▂▂▂ beats 32/77hard · avg 32%▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 62%at its level
BFCL v358.2% ✎▁▁▁▁▁▃▅█▅▄▁▁ beats 74/114medium · avg 52%▇▇▇▇▇▇▇▇▇▇▇▇ 31%blunt · at its level

$ where to run it

llama.cpp · recommended

version

  1. 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 | sh
    Windows
    irm https://llama.app/install.ps1 | iex

    other ways to install ↗

  2. Run xLAM-2-1b-fc-r · needs ~1 GB · from huggingface.co/Salesforce (official)
    chat in the terminal
    llama cli -hf Salesforce/xLAM-2-1b-fc-r-gguf:Q4_K_M
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf Salesforce/xLAM-2-1b-fc-r-gguf:Q4_K_M

LM Studio

version

  1. Install LM Studio · Open the app once before using the lms command.

    download it (macOS / Windows / Linux) ↗

  2. Run xLAM-2-1b-fc-r · needs ~1 GB · from huggingface.co/Salesforce (official)

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/Salesforce/xLAM-2-1b-fc-r-gguf@Q4_K_M -y
  4. Then run lms ls to see its name, and lms chat followed by that name

Ollama

version

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. Run xLAM-2-1b-fc-r · needs ~1 GB · from huggingface.co/Salesforce (official)
    chat in the terminal
    ollama run hf.co/Salesforce/xLAM-2-1b-fc-r-gguf:Q4_K_M

Other ways to run it

  1. Run it as published · needs ~3.09 GB · from huggingface.co/Salesforce (official)
    uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='Salesforce/xLAM-2-1b-fc-r', torch_dtype='auto', device_map='auto')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"

Official weights and documentation: huggingface.co/Salesforce ↗

$ how the score was worked out · Berkeley Function Calling Lea… 93%

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

sourceresultsshare of the scorelicence
Berkeley Function Calling Leaderboard result archive2▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 93%Apache-2.0
prior · pull toward the middle▇▇ 7%
weighted average= 51.1

$ 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