Head to head · Open-weight models you run yourself · October 2026 research run

Gemma 4 31B IT vs LingSante-3.1-flash

Gemma 4 31B IT scores 74.1 (BB) on agent readiness against LingSante-3.1-flash's 61 (C), and leads in 3 of 4 scored categories. Both do open-weight models you run yourself.

Best open-weight models you download and run yourself for AI agents · All 7052 open weights comparisons

Which one, for what

Gemma 4 31B IT BB

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 65
  • Risk, 70 against 60
  • Agent interface, 85 against 60

Also in its favour

  • Agent-ready, a grade of BB or better

Watch for

No safety evaluation results published

LingSante-3.1-flash C

Best for Research teams with a multi-GPU server that want an MIT-licensed model for medical evidence work and tool-using medical agents, with human review

No category where it leads by five points or more, and no fact that sets it apart.

Watch for

Even the MXFP4 build is 313 GB, so no machine under about 376 GB of GPU memory runs it

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.

Reach Gemma 4 31B IT +30

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.

LingSante-3.1-flash 65

Memory 0, inclusionAI's smallest build is the MXFP4 repository at 313.23 GB, × 1.2 = 375.9 GB, above 256 GB. The FP8 release is 573.82 GB, × 1.2 = 688.6 GB. No runtime's library has a build. Runtimes 25, Released model code in Transformers 5.24.0 (bailing_hybrid in its auto mappings), vLLM 0.34.0 (BailingMoeV3ForCausalLM in its registry), SGLang 0.5.23 (bailing_moe_v3.py) and llama.cpp b12653 (bailingmoe3), and Ollama v0.40.17, which pins llama.cpp b12257, whose architecture list has bailingmoe3. The card says the model keeps Ling-3.1-flash's architecture, and config.json names the same class. The card's own recipes use a day-0 SGLang image and a vLLM branch, which don't count. Five at 5 each. Builds 15, Two quantised precisions from inclusionAI, the FP8 release and the MXFP4 build in inclusionAI/LingSante-3.1-flash-MXFP4, published on 22 November 2026. No GGUF from inclusionAI. Terms 15, MIT in both cards' metadata, with no use policy or other terms added on the cards or in the repositories. No LICENSE file, so the licence is scored by its terms, as on the Ling-3.1-flash-1019 listing. Download 10, The Hub API's model information gives gated false for both repositories on 23 November 2026, so the files download with no account and no terms to accept. Hosted 0, The Hub API's provider mapping is empty for this repository on 23 November 2026. The card links a Computrix API page, which renders only with JavaScript and wasn't read, so who serves it there, and whether Computrix is inclusionAI's own, wasn't established. 0 + 25 + 15 + 15 + 10 + 0 = 65.

Agent interface Gemma 4 31B IT +25

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.

LingSante-3.1-flash 60

Chat template 20, chat_template.jinja in the repository (5,984 bytes), which handles tools, the thinking switch and preserved reasoning, and is the same size as the MXFP4 build's. Tool-calling format 10, Only the template says how tools are declared (JSON in a tools block) and how calls come back (the function name with arg_key and arg_value pairs). The cards name --tool-call-parser ling3 but don't describe the format, and send readers to SGLang's cookbook for tool calling, as on the Ling-3.1-flash-1019 listing. Trained tool calling 20, The template tells the model it may call one or more functions and loops over every entry in an assistant message's tool_calls, and the card says reinforcement learning covered tool use and search for long medical workflows. Structured output 0, The card lists structured information extraction as an intended use but doesn't document JSON or JSON Schema output or how to ask for it. Reasoning control 0, The card turns thinking on per request with chat_template_kwargs enable_thinking, and the template leaves it off otherwise, but the card doesn't say where the reasoning text comes back. Read as on the Ling-3.0-tiny and Ling-3.1-flash-1019 listings. Context 10, 262,144 tokens natively in config.json (max_position_embeddings 262144, rope_scaling null), and the MXFP4 card states the same. The 1M the card states isn't counted. 20 + 10 + 20 + 0 + 0 + 10 = 60.

Risk Gemma 4 31B IT +10

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.

LingSante-3.1-flash 60

File safety 15, Safetensors only in both repositories, no .bin, .pt or .pth files (25), less 10 because the card's vLLM command and the MXFP4 card's SGLang command pass --trust-remote-code, which runs the repository's configuration_bailing_moe_v3.py and modeling_bailing_moe_v3.py. The card's SGLang command for the FP8 release doesn't need it. Provenance 15, Files in the inclusionAI organisation that www.inclusion-ai.org links to (10). Every one of the 54 shards has a SHA-256 on the Hub, and every one of the MXFP4 build's 153 (5). Safety evaluation 0, The card's text says the model did well on internal evaluations that include safety, with no numbers. Its results are in two chart images, which weren't read, so no published safety result was found. Agent guidance 15, The card's responsible-use section says search results and tool outputs can contain malicious instructions, and tells the reader to use least-privilege tool access, auditable execution and human approval for consequential actions. That is prompt-injection guidance for an agent using tools. It also says the model must not diagnose, prescribe, set treatment or triage on its own. Licence risk 15, MIT with no use policy, no field-of-use limits, no threshold and no clause letting inclusionAI change or revoke it. No LICENSE file is linked, so there's no broken link. Security programme 0, www.inclusion-ai.org answers 404 for security.txt on 23 November 2026, and our other inclusionAI listings found no SECURITY.md or disclosure policy in the inclusionAI .github repository. No advisories found. 15 + 15 + 0 + 15 + 15 + 0 = 60.

Score by category

CategoryWeightGemma 4 31B ITLingSante-3.1-flashEdge
Capability35%pendingpendingpendingnot scored in this run
Reach25%9565Gemma 4 31B IT +30
Risk20%7060Gemma 4 31B IT +10
Agent interface10%8560Gemma 4 31B IT +25
Documentation and upkeep10%6569LingSante-3.1-flash +4
Negative events≤1500
TotalBB 74.1/100C 61/100

Facts side by side

FactGemma 4 31B ITLingSante-3.1-flash
KindOpen-weight modelOpen-weight model
VendorGoogle DeepMindinclusionAI (Ant Group)
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceApache-2.0MIT
Read-only variant documentednono
llms.txtyesno
Last release2026-07-202026-11-23
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked
Agent reviews3.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.

LingSante-3.1-flash

inclusionAI's medical mixture of experts, 560B under plain MIT, which released vLLM, SGLang, Transformers and llama.cpp run. The card gives clear limits on clinical use and warns about injected instructions in tool output. It needs a multi-GPU server even in MXFP4, overstates its context, documents little about tool calls and publishes no safety results.

Before you call either

Gemma 4 31B IT

  1. 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
  2. Or ollama run gemma4:31b for the 20 GB Q4_K_M build
  3. In vLLM serve with --enable-auto-tool-choice --tool-call-parser gemma4 --reasoning-parser gemma4, as vLLM's recipe does
  4. Thinking is off by default, so pass enable_thinking: true in chat_template_kwargs to turn it on, and expect the reasoning in the thought channel block
  5. Drop earlier thoughts from the history except on tool-call turns, as the card asks
  6. Use the card's sampling, temperature 1.0, top_p 0.95, top_k 64
  7. Validate function names and arguments before running a call, and check JSON output yourself or use the runtime's guided decoding
  8. The w4a16 build relies on Marlin INT4 kernels that vLLM marks unsupported on AMD, so use the GGUF on the reference machine

LingSante-3.1-flash

  1. Do not use its output to diagnose, prescribe or triage without a qualified person reviewing it, per the card
  2. Serve it with SGLang 0.5.23 or later on 8 H200 or 4 GB300 GPUs, per the card
  3. Set chat_template_kwargs enable_thinking true, which the card recommends. The template leaves thinking off by default
  4. With vLLM pass --trust-remote-code, --tool-call-parser ling3 and --reasoning-parser ling3
  5. Plan on 262,144 tokens of context, not the 1M on the card
  6. Give its tools least privilege and treat search results and tool output as untrusted, per the card

Questions

Which is better for AI agents, Gemma 4 31B IT or LingSante-3.1-flash?

Gemma 4 31B IT scores 74.1 (BB) on agent readiness against LingSante-3.1-flash's 61 (C), and leads in 3 of 4 scored categories.

Other comparisons with Gemma 4 31B IT or LingSante-3.1-flash

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.