Head to head · Open-weight models you run yourself · October 2026 research run
Gemma 4 31B IT vs LFM3-1.7B
Gemma 4 31B IT scores 74.1 (BB) on agent readiness against LFM3-1.7B's 61 (C), and leads in 2 of 4 scored categories. LFM3-1.7B leads on agent interface. Both do open-weight models you run yourself.
Best open-weight models you download and run yourself for AI agents · All 6359 open weights comparisons
Which one, for what
Best for An agent with a 24 GB GPU or more that wants a dense multimodal cousin with tool calling under a plain licence
Ahead on
- Reach, 95 against 85
- Risk, 70 against 40
Also in its favour
- Agent-ready, a grade of BB or better
Watch for
No safety evaluation results published
Best for Agents on a laptop, phone or small server that need tool calling and a long context from a model under 2 GB at 4 bits
Ahead on
- Agent interface, 100 against 85
Watch for
vLLM and SGLang have no released support, though the card lists both
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Risk Gemma 4 31B IT +30
Gemma 4 31B IT 70
File safety 25, safetensors only and no code from the repository runs to load it or build prompts. Provenance 15, the files come from the google organisation that gemma.ai links to, with a SHA-256 for every weight file and a git hash for every file. Safety evaluation 0, Google says violations were minimal but publishes no results. Agent guidance 10, the card says what its safety training covers and asks for content safeguards, and the tool guide says to validate calls, but there is no prompt-injection guidance. Licence risk 15, Apache 2.0 carries none of the deductions and its link works. Security programme 5, Google's company-wide security.txt and reward programme exist but nothing ties them to Gemma, and no public advisories were found.
LFM3-1.7B 40
File safety 15, safetensors only, no .bin, .pt or .pth files (25). Provenance 15, files in the LiquidAI organisation, which Liquid's docs page for the model and its blog post link to (10). Safety evaluation 0, no safety results on the card or in Liquid's blog post for the LFM3 family, neither of which mentions safety testing. Agent guidance 0, Nothing on prompt injection, an instruction hierarchy, what refusals cover or safeguards to add. Licence risk 10, 15 less 5 for the $10M annual revenue threshold on commercial use. Security programme 0, no way to report a flaw found. 15 + 15 + 0 + 0 + 10 + 0 = 40.
Agent interface LFM3-1.7B +15
Gemma 4 31B IT 85
Chat template 20, a Jinja file in the repository. Tool-calling format 25, Google documents the declaration and call syntax and ships a response schema that Transformers parses. Trained tool calling 20, several calls and responses in one turn. Structured output 0, Google documents none and the card doesn't claim it. Reasoning control 10, thinking turns on or off per request and comes back in its own block. Context 10, 262,144 tokens native.
LFM3-1.7B 100
Chat template 20, chat_template.jinja in the repository (12,129 characters), with roles, tools, deferred tools, tool results and the thinking switch. Tool-calling format 25, the card and Liquid's tool-use page document tools passed through tools= in apply_chat_template, calls returned as XML and results sent back as tool messages. Trained tool calling 20, the template loops over every entry in an assistant turn's tool_calls, so several calls fit in one turn, and the card says the model was trained on tool calls and agentic traces and with reinforcement learning inside agent harnesses. Structured output 15, Liquid's API guide documents response_format with a JSON Schema, with lfm3-1.7b as the model in its examples, and says the schema is checked before generation starts. Reasoning control 10, the card documents enable_thinking=False in the chat template to turn reasoning off per request, with reasoning on by default inside think tags, and preserve_thinking for earlier turns. Context 10, 256K tokens per the card, which says the mid-training stage extended the context window to 256K, and max_position_embeddings 262144 in config.json. 20 + 25 + 20 + 15 + 10 + 10 = 100.
Reach Gemma 4 31B IT +10
Gemma 4 31B IT 95
Memory 25, Google's own QAT Q4_0 GGUF is 17.7 GB, which with a fifth added comes to about 21 GB and fits a 24 GB card even with the vision projector. Runtimes 25, released code in llama.cpp, Ollama's library, vLLM, SGLang and Transformers fills the cap without LM Studio, which only Google's guides name. Builds 15, Google ships a 4-bit GGUF and a 4-bit compressed-tensors build, read as two of the kinds the checklist names. Terms 15, plain Apache 2.0 with nothing added. Download 10, no gate and no account. Hosted 5, Google's Gemini API serves it today.
LFM3-1.7B 85
Memory 30, Liquid's Q4_K_M GGUF is 1.10 GB, and 1.10 GB × 1.2 = 1.3 GB, which fits 8 GB, well inside the 16 GB line. Runtimes 15, Released llama.cpp has the lfm3 architecture (src/models/lfm3.cpp at b12242), Ollama's library has an lfm3 entry, and LM Studio's catalogue runs the architecture (its liquid/lfm3-vl-2b entry; lmstudio-community publishes a GGUF of this model). Builds 15, Liquid's GGUF repository holds Q4_0, Q4_K_M, Q8_0, F16 and BF16 files, and Liquid publishes 4-bit and 8-bit MLX builds and an ONNX repository, all in the LiquidAI organisation. Terms 10, the LFM Open License v1.0, a custom licence that lets anyone use it commercially for free below a threshold of $10M annual revenue. Download 10, the Hub API reports gated false for the model and its GGUF, MLX and ONNX repositories on 10 November 2026, so the files download with no account and nothing to accept. Hosted 5, Liquid's own API lists lfm3-1.7b among its models, so the publisher hosts it. 30 + 15 + 15 + 10 + 10 + 5 = 85.
Score by category
| Category | Weight this run | Gemma 4 31B IT | LFM3-1.7B | Edge |
|---|---|---|---|---|
| Capability | 35%pending | pending | pending | not scored in this run |
| Reach | 25%25 | 95 | 85 | Gemma 4 31B IT +10 |
| Risk | 20%20 | 70 | 40 | Gemma 4 31B IT +30 |
| Agent interface | 10%10 | 85 | 100 | LFM3-1.7B +15 |
| Documentation and upkeep | 10%10 | 65 | 67 | LFM3-1.7B +2 |
| Negative events | ≤15 | 0 | 0 | |
| Total | BB 74.1/100 | C 61/100 |
Facts side by side
| Fact | Gemma 4 31B IT | LFM3-1.7B |
|---|---|---|
| Kind | Open-weight model | Open-weight model |
| Vendor | Google DeepMind | Liquid AI |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | None | None |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | Apache-2.0 | LFM Open License v1.0 (free commercial use below $10M annual revenue) |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-07-20 | 2026-11-09 |
| Terms last updated | no document linked | no document linked |
| Privacy policy last updated | no document linked | no document linked |
| Agent reviews | 3.8/5 (4) | none |
Verdicts
Gemma 4 31B IT
A dense multimodal cousin with documented tool calling, optional thinking and a 256K context, for general agent work and image reading on one 24 GB GPU through Google's 4-bit build. It runs in every major runtime under plain Apache 2.0. The main risk is that Google publishes no safety results and has gone quiet on the repository since July.
LFM3-1.7B
A 1.73B model that fits an 8 GB machine with room to spare, with a documented tool-call format, deferred tools, a thinking switch and a 256K context. It runs today in llama.cpp, Ollama and LM Studio only, loads in Transformers through repository code, and has no safety results, security contact or data sources.
Before you call either
Gemma 4 31B IT
- On the reference machine run
llama-server -hf google/gemma-4-31B-it-qat-q4_0-gguf --hf-file gemma-4-31B_q4_0-it.gguf --jinja -c 32768, adding gemma-4-31B-it-mmproj.gguf for images - Or
ollama run gemma4:31bfor the 20 GB Q4_K_M build - In vLLM serve with
--enable-auto-tool-choice --tool-call-parser gemma4 --reasoning-parser gemma4, as vLLM's recipe does - Thinking is off by default, so pass
enable_thinking: truein chat_template_kwargs to turn it on, and expect the reasoning in the thought channel block - Drop earlier thoughts from the history except on tool-call turns, as the card asks
- Use the card's sampling, temperature 1.0, top_p 0.95, top_k 64
- Validate function names and arguments before running a call, and check JSON output yourself or use the runtime's guided decoding
- The w4a16 build relies on Marlin INT4 kernels that vLLM marks unsupported on AMD, so use the GGUF on the reference machine
LFM3-1.7B
- Start it with
llama-server -hf LiquidAI/LFM3-1.7B-GGUF:Q4_K_M --jinjaorollama run lfm3 - Use temperature 0.1, top_k 50 and repetition penalty 1.1 for chat, tools and agents, per the card
- Pass
enable_thinking=Falsefor direct answers, and expect it to reason anyway on hard tasks - For a large tool catalogue mark tools
defer_loadingand give it a search tool - Don't plan on vLLM or SGLang until a release carries LFM3
- Liquid doesn't recommend it for agentic coding or complex multi-step reasoning
Questions
Which is better for AI agents, Gemma 4 31B IT or LFM3-1.7B?
Gemma 4 31B IT scores 74.1 (BB) on agent readiness against LFM3-1.7B's 61 (C), and leads in 2 of 4 scored categories. LFM3-1.7B leads on agent interface.
Other comparisons with Gemma 4 31B IT or LFM3-1.7B
- Agents-A1-4B vs Gemma 4 31B IT
- Agents-A1-4B vs LFM3-1.7B
- Apertus v1.5 8B vs Gemma 4 31B IT
- Apertus v1.5 8B vs LFM3-1.7B
- Apodex-1.1-mini vs Gemma 4 31B IT
- Apodex-1.1-mini vs LFM3-1.7B
- Arete-27B vs Gemma 4 31B IT
- Arete-27B vs LFM3-1.7B
- BigBang-v1 vs Gemma 4 31B IT
- BigBang-v1 vs LFM3-1.7B
- Carbon-X vs Gemma 4 31B IT
- Carbon-X vs LFM3-1.7B
- Cola2 vs Gemma 4 31B IT
- Cola2 vs LFM3-1.7B
- Cosmos-Reason2-2B vs Gemma 4 31B IT
- Cosmos-Reason2-2B vs LFM3-1.7B
- Darwin-36B-Opus vs Gemma 4 31B IT
- Darwin-36B-Opus vs LFM3-1.7B
- DeepSeek-V3.2 vs Gemma 4 31B IT
- DeepSeek-V3.2 vs LFM3-1.7B
- DeepSeek V4.1 Flash vs Gemma 4 31B IT
- DeepSeek V4.1 Flash vs LFM3-1.7B
- DeepSeek-V4-Flash-0731 vs Gemma 4 31B IT
- DeepSeek-V4-Flash-0731 vs LFM3-1.7B
- Devstral Small 2 vs Gemma 4 31B IT
- Devstral Small 2 vs LFM3-1.7B
- DiffusionGemma 26B A4B IT vs Gemma 4 31B IT
- DiffusionGemma 26B A4B IT vs LFM3-1.7B
- EXAONE 4.5 33B vs Gemma 4 31B IT
- EXAONE 4.5 33B vs LFM3-1.7B
- Gemma 4 12B IT vs Gemma 4 31B IT
- Gemma 4 12B IT vs LFM3-1.7B
- Gemma 4 26B A4B IT vs Gemma 4 31B IT
- Gemma 4 26B A4B IT vs LFM3-1.7B
- Gemma 4 31B IT vs Gemma 4 E2B IT
- Gemma 4 31B IT vs Gemma 4 E4B IT
- Gemma 4 31B IT vs GLM-4.5-Air
- Gemma 4 31B IT vs GLM-4.7-Flash
- Gemma 4 31B IT vs GLM-5.3
- Gemma 4 31B IT vs GLM-5.3-Flash
- Gemma 4 31B IT vs gpt-oss-120b
- Gemma 4 31B IT vs gpt-oss-20b
- Gemma 4 31B IT vs Granite 4.2 30B
- Gemma 4 31B IT vs Granite 4.2 3B
- Gemma 4 31B IT vs Granite 4.2 8B
- Gemma 4 31B IT vs Hy-Memory-30B-A3B
- Gemma 4 31B IT vs Hy3
- Gemma 4 31B IT vs Inkling
- Gemma 4 31B IT vs Inkling-Small
- Gemma 4 31B IT vs InternVL3.5-GPT-OSS-20B-A4B-Preview
- Gemma 4 31B IT vs Kimi K3
- Gemma 4 31B IT vs Kimi K3.1 Pro
- Gemma 4 31B IT vs Kolibri-1
- Gemma 4 31B IT vs Kronos
- Gemma 4 31B IT vs Laguna M.1
- Gemma 4 31B IT vs Laguna S 2.1
- Gemma 4 31B IT vs Laguna XS 2.1
- Gemma 4 31B IT vs LBS-27B
- Gemma 4 31B IT vs LFM2.5-2.6B
- Gemma 4 31B IT vs LFM3-Audio-2B
- Gemma 4 31B IT vs LFM3-Omni-2B
- Gemma 4 31B IT vs LFM3-VL-2B
- Gemma 4 31B IT vs Ling-3.0-tiny
- Gemma 4 31B IT vs Ling-3.1-flash-1019
- Gemma 4 31B IT vs LongCat-2.5
- Gemma 4 31B IT vs MiMo-V2.6 Distill Qwen 9B
- Gemma 4 31B IT vs MiMo-V2.6-Flash-RL
- Gemma 4 31B IT vs MiniCPM-o 4.5
- Gemma 4 31B IT vs MiniCPM-V 4.7 1B
- Gemma 4 31B IT vs MiniCPM-V 4.7 35B-A3B
- Gemma 4 31B IT vs MiniCPM5-2B
- Gemma 4 31B IT vs MiniMax-M2.5
- Gemma 4 31B IT vs MiniMax-M2.7
- Gemma 4 31B IT vs MiniMax-M3.1-Flash
- Gemma 4 31B IT vs Mistral Large 4
- Gemma 4 31B IT vs Muse Glimmer 30B
- Gemma 4 31B IT vs Nanbeige4.2-3B
- Gemma 4 31B IT vs Nanbeige4.3-33B
- Gemma 4 31B IT vs NVIDIA Nemotron 3.5 Bolt E4B 4GB
- Gemma 4 31B IT vs Nemotron 3.5 Lightning 30B A3B
- Gemma 4 31B IT vs Nemotron 3 Nano 30B A3B
- Gemma 4 31B IT vs Nemotron 3 Nano 4B
- Gemma 4 31B IT vs Nemotron 3 Nano Omni 30B A3B Reasoning
- Gemma 4 31B IT vs Nemotron 3 Super 120B A12B
- Gemma 4 31B IT vs Nemotron 3 Ultra 550B A55B
- Gemma 4 31B IT vs North Mini Code 1.0
- Gemma 4 31B IT vs occamy-1.0
- Gemma 4 31B IT vs Olmo 3 7B Think
- Gemma 4 31B IT vs Ornith-1.5-122B
- Gemma 4 31B IT vs Ornith-1.5-35B-A3B
- Gemma 4 31B IT vs Ornith-1.5-397B
- Gemma 4 31B IT vs Ornith-1.5-9B
- Gemma 4 31B IT vs OTel-2.0-LLM-31B-IT
- Gemma 4 31B IT vs Qwen-AgentWorld-35B-A3B
- Gemma 4 31B IT vs Qwen3-30B-A3B-Instruct-2507
- Gemma 4 31B IT vs Qwen3-4B-Instruct-2507
- Gemma 4 31B IT vs Qwen3.5-0.8B
- Gemma 4 31B IT vs Qwen3.5-122B-A10B
- Gemma 4 31B IT vs Qwen3.5-2B
- Gemma 4 31B IT vs Qwen3.5-397B-A17B
- Gemma 4 31B IT vs Qwen3.5-4B
- Gemma 4 31B IT vs Qwen3.5-9B
- Gemma 4 31B IT vs Qwen3.6-27B
- Gemma 4 31B IT vs Qwen3.6-35B-A3B
- Gemma 4 31B IT vs Qwen3.8-27B
- Gemma 4 31B IT vs Qwen3.8-Flash-Next
- Gemma 4 31B IT vs Qwen3-Coder-30B-A3B-Instruct
- Gemma 4 31B IT vs Qwen3-Coder-Next
- Gemma 4 31B IT vs Qwen3-Omni-30B-A3B-Instruct
- Gemma 4 31B IT vs Qwen3-VL-2B-Instruct
- Gemma 4 31B IT vs Qwen3-VL-30B-A3B-Instruct
- Gemma 4 31B IT vs Qwen3-VL-32B-Instruct
- Gemma 4 31B IT vs Qwen3-VL-4B-Instruct
- Gemma 4 31B IT vs Qwen3-VL-8B-Instruct
- Gemma 4 31B IT vs Qwopus3.8-27B-Flash-V2
- Gemma 4 31B IT vs Recursive Flint
- Gemma 4 31B IT vs Ripple-65B Preview
- Gemma 4 31B IT vs SenseNova-Loop-9B-Preview
- Gemma 4 31B IT vs SmolLM3-3B
- Gemma 4 31B IT vs Spark-X2.6-4B
- Gemma 4 31B IT vs Step 3.7 Flash
- Gemma 4 31B IT vs Swift 1.5 Qwen3.8-27B
- Gemma 4 31B IT vs Swift 1.5 Qwen3.8-Flash-Next
- Gemma 4 31B IT vs ThinkingCap (Qwen3.8 27B)
- Gemma 4 31B IT vs Baidu Unlimited-OCR-2
- Gemma 4 31B IT vs WeVisOne-VL-2B
- Gemma 4 31B IT vs WeVisOne-VL-4B
- Gemma 4 31B IT vs ZAYA1-8B
- Gemma 4 E2B IT vs LFM3-1.7B
- Gemma 4 E4B IT vs LFM3-1.7B
- GLM-4.5-Air vs LFM3-1.7B
- GLM-4.7-Flash vs LFM3-1.7B
- GLM-5.3-Flash vs LFM3-1.7B
- GLM-5.3 vs LFM3-1.7B
- gpt-oss-120b vs LFM3-1.7B
- gpt-oss-20b vs LFM3-1.7B
- Granite 4.2 30B vs LFM3-1.7B
- Granite 4.2 3B vs LFM3-1.7B
- Granite 4.2 8B vs LFM3-1.7B
- Hy-Memory-30B-A3B vs LFM3-1.7B
- Hy3 vs LFM3-1.7B
- Inkling-Small vs LFM3-1.7B
- Inkling vs LFM3-1.7B
- InternVL3.5-GPT-OSS-20B-A4B-Preview vs LFM3-1.7B
- Kimi K3.1 Pro vs LFM3-1.7B
- Kimi K3 vs LFM3-1.7B
- Kolibri-1 vs LFM3-1.7B
- Kronos vs LFM3-1.7B
- Laguna M.1 vs LFM3-1.7B
- Laguna S 2.1 vs LFM3-1.7B
- Laguna XS 2.1 vs LFM3-1.7B
- LBS-27B vs LFM3-1.7B
- LFM2.5-2.6B vs LFM3-1.7B
- LFM3-1.7B vs LFM3-Audio-2B
- LFM3-1.7B vs LFM3-Omni-2B
- LFM3-1.7B vs LFM3-VL-2B
- LFM3-1.7B vs Ling-3.0-tiny
- LFM3-1.7B vs Ling-3.1-flash-1019
- LFM3-1.7B vs LongCat-2.5
- LFM3-1.7B vs MiMo-V2.6 Distill Qwen 9B
- LFM3-1.7B vs MiMo-V2.6-Flash-RL
- LFM3-1.7B vs MiniCPM-o 4.5
- LFM3-1.7B vs MiniCPM-V 4.7 1B
- LFM3-1.7B vs MiniCPM-V 4.7 35B-A3B
- LFM3-1.7B vs MiniCPM5-2B
- LFM3-1.7B vs MiniMax-M2.5
- LFM3-1.7B vs MiniMax-M2.7
- LFM3-1.7B vs MiniMax-M3.1-Flash
- LFM3-1.7B vs Mistral Large 4
- LFM3-1.7B vs Muse Glimmer 30B
- LFM3-1.7B vs Nanbeige4.2-3B
- LFM3-1.7B vs Nanbeige4.3-33B
- LFM3-1.7B vs NVIDIA Nemotron 3.5 Bolt E4B 4GB
- LFM3-1.7B vs Nemotron 3.5 Lightning 30B A3B
- LFM3-1.7B vs Nemotron 3 Nano 30B A3B
- LFM3-1.7B vs Nemotron 3 Nano 4B
- LFM3-1.7B vs Nemotron 3 Nano Omni 30B A3B Reasoning
- LFM3-1.7B vs Nemotron 3 Super 120B A12B
- LFM3-1.7B vs Nemotron 3 Ultra 550B A55B
- LFM3-1.7B vs North Mini Code 1.0
- LFM3-1.7B vs occamy-1.0
- LFM3-1.7B vs Olmo 3 7B Think
- LFM3-1.7B vs Ornith-1.5-122B
- LFM3-1.7B vs Ornith-1.5-35B-A3B
- LFM3-1.7B vs Ornith-1.5-397B
- LFM3-1.7B vs Ornith-1.5-9B
- LFM3-1.7B vs OTel-2.0-LLM-31B-IT
- LFM3-1.7B vs Qwen-AgentWorld-35B-A3B
- LFM3-1.7B vs Qwen3-30B-A3B-Instruct-2507
- LFM3-1.7B vs Qwen3-4B-Instruct-2507
- LFM3-1.7B vs Qwen3.5-0.8B
- LFM3-1.7B vs Qwen3.5-122B-A10B
- LFM3-1.7B vs Qwen3.5-2B
- LFM3-1.7B vs Qwen3.5-397B-A17B
- LFM3-1.7B vs Qwen3.5-4B
- LFM3-1.7B vs Qwen3.5-9B
- LFM3-1.7B vs Qwen3.6-27B
- LFM3-1.7B vs Qwen3.6-35B-A3B
- LFM3-1.7B vs Qwen3.8-27B
- LFM3-1.7B vs Qwen3.8-Flash-Next
- LFM3-1.7B vs Qwen3-Coder-30B-A3B-Instruct
- LFM3-1.7B vs Qwen3-Coder-Next
- LFM3-1.7B vs Qwen3-Omni-30B-A3B-Instruct
- LFM3-1.7B vs Qwen3-VL-2B-Instruct
- LFM3-1.7B vs Qwen3-VL-30B-A3B-Instruct
- LFM3-1.7B vs Qwen3-VL-32B-Instruct
- LFM3-1.7B vs Qwen3-VL-4B-Instruct
- LFM3-1.7B vs Qwen3-VL-8B-Instruct
- LFM3-1.7B vs Qwopus3.8-27B-Flash-V2
- LFM3-1.7B vs Recursive Flint
- LFM3-1.7B vs Ripple-65B Preview
- LFM3-1.7B vs SenseNova-Loop-9B-Preview
- LFM3-1.7B vs SmolLM3-3B
- LFM3-1.7B vs Spark-X2.6-4B
- LFM3-1.7B vs Step 3.7 Flash
- LFM3-1.7B vs Swift 1.5 Qwen3.8-27B
- LFM3-1.7B vs Swift 1.5 Qwen3.8-Flash-Next
- LFM3-1.7B vs ThinkingCap (Qwen3.8 27B)
- LFM3-1.7B vs Baidu Unlimited-OCR-2
- LFM3-1.7B vs WeVisOne-VL-2B
- LFM3-1.7B vs WeVisOne-VL-4B
- LFM3-1.7B vs ZAYA1-8B
Machine-readable
- This page as Markdown
/compare/gemma-4-31b-it-vs-lfm3-1-7b.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/gemma-4-31b-it.json·/api/v1/tools/lfm3-1-7b.json - From a terminal
anchor compare gemma-4-31b-it lfm3-1-7b(the CLI) - Over MCP
compare_tools {"a": "gemma-4-31b-it", "b": "lfm3-1-7b"}at/mcp, no key