Model reference · open weights

xLAM-2-fc-r

LLMs Salesforce Text gen 1 build Non-commercial 3k dl/mo

xLAM-2-fc-r is an open-weight language model from Salesforce. xLAM-2-3b-fc-r-gguf (GGUF) weighs 1.9 GB; the smallest configuration that runs it is RTX 3060 12 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • xLAM-2-fc-r is a 3B parameter text generation model by Salesforce, designed for multi-turn conversations and function calling in AI agents.
  • It supports a default context length of 32k tokens, which can be extended to 128k, and operates in English.
  • The model is released under the cc-by-nc-4.0 license for research purposes only.

Summary of the Salesforce/xLAM-2-3b-fc-r-gguf model card, 2026-10-08

What it is

Released bySalesforce
Released2025-03-28
VRAM1.9 GB for the weights

What it runs on

Memory and cards for xLAM-2-3b-fc-r-gguf (GGUF)

1.9 GBweights, file size
651 MBruntime overhead, at least

How much memory each request adds isn't estimated yet for this architecture. The weights need at least the cards below, plus room for the context.

CardWeights alone
RTX 3060 12 GBfits
RTX 4060 Ti 16 GBfits
RTX 3090 24 GBfits
RTX 4090 24 GBfits
RTX 5090 32 GBfits
L40S 48 GBfits
A100 80 GBfits
H100 80 GBfits
RTX PRO 6000 Blackwell 96 GBfits
DGX Spark (GB10) 128 GB unifiedfits
H200 141 GBfits
B200 180 GBfits

From the model card

What Salesforce says about xLAM-2-fc-r

Read the model card

This repo provides the GGUF format for the xLAM-2-3b-fc-r model. Here's a link to original model xLAM-2-3b-fc-r.

Large Action Models (LAMs) are advanced language models designed to enhance decision-making by translating user intentions into executable actions. As the brains of AI agents, LAMs autonomously plan and execute tasks to achieve specific goals, making them invaluable for automating workflows across diverse domains. This model release is for research purposes only.

The new xLAM-2 series, built on our most advanced data synthesis, processing, and training pipelines, marks a significant leap in multi-turn conversation and tool usage. Trained using our novel APIGen-MT framework, which generates high-quality training data through simulated agent-human interactions. Our models achieve state-of-the-art performance on BFCL and τ-bench benchmarks, outperforming frontier models like GPT-4o and Claude 3.5. Notably, even our smaller models demonstrate superior capabilities in multi-turn scenarios while maintaining exceptional consistency across trials.

We've also refined the chat template and vLLM integration, making it easier to build advanced AI agents. Compared to previous xLAM models, xLAM-2 offers superior performance and seamless deployment across applications.

Table of Contents

Model Series

xLAM series are significantly better at many things including general tasks and function calling. For the same number of parameters, the model have been fine-tuned across a wide range of agent tasks and scenarios, all while preserving the capabilities of the original model.

Model# Total ParamsContext LengthCategoryDownload ModelDownload GGUF files
Llama-xLAM-2-70b-fc-r70B128kMulti-turn Conversation, Function-calling🤗 LinkNA
Llama-xLAM-2-8b-fc-r8B128kMulti-turn Conversation, Function-calling🤗 Link🤗 Link
xLAM-2-32b-fc-r32B32k (max 128k)*Multi-turn Conversation, Function-calling🤗 LinkNA
xLAM-2-3b-fc-r3B32k (max 128k)*Multi-turn Conversation, Function-calling🤗 Link🤗 Link
xLAM-2-1b-fc-r1B32k (max 128k)*Multi-turn Conversation, Function-calling🤗 Link🤗 Link

*Note: The default context length for Qwen-2.5-based models is 32k, but you can use techniques like YaRN (Yet Another Recursive Network) to achieve maximum 128k context length. Please refer to here for more details.

You can also explore our previous xLAM series here.

The -fc suffix indicates that the models are fine-tuned for function calling tasks, while the -r suffix signifies a research release.

✅ All models are fully compatible with vLLM and Transformers-based inference frameworks.

Using GGUF Files

For scenarios requiring more efficient inference or deployment on resource-constrained devices, we provide GGUF versions of our models, which are compatible with llama.cpp and similar frameworks.

How to Download GGUF Files
  1. Install Hugging Face CLI:
pip install huggingface-hub
  1. Login to Hugging Face:
huggingface-cli login
  1. Download the GGUF model:
huggingface-cli download Salesforce/Llama-xLAM-2-8b-fc-r-gguf Llama-xLAM-2-8b-fc-r-gguf --local-dir . --local-dir-use-symlinks False
Prompt Template

The GGUF models use the following prompt template:


{TASK_INSTRUCTION}
You have access to a set of tools. When using tools, make calls in a single JSON array:

[{"name": "tool_call_name", "arguments": {"arg1": "value1", "arg2": "value2"}}, ... (additional parallel tool calls as needed)]

If no tool is suitable, state that explicitly. If the user's input lacks required parameters, ask for clarification. Do not interpret or respond until tool results are returned. Once they are available, process them or make additional calls if needed. For tasks that don't require tools, such as casual conversation or general advice, respond directly in plain text. The available tools are:

{AVAILABLE_TOOLS}

{USER_QUERY}assistant

{ASSISTANT_QUERY}user

{USER_QUERY}assistant
Usage Examples
Command Line
  1. Install llama.cpp framework from the source here
  2. Run the inference task as shown below. For configuration of generation-related parameters, refer to llama.cpp documentation
llama-cli -m [PATH-TO-LOCAL-GGUF]
Python Framework
  1. Install [llama-cpp-python](https://github.com/abetlen/llama-cpp-

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

How it works

How language models work

Your prompttext / messagesTransformerattention over tokensNext-token loopgenerate + streamResponsetext · tool callsA language model reads your tokens and predicts the next one, again and again, streaming the reply back.
© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms