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

Gemma 4 12B IT vs MiniMax-M2.7

Gemma 4 12B IT scores 71.3 (BB) on agent readiness against MiniMax-M2.7's 56.1 (C), and leads in 4 of 5 scored categories. MiniMax-M2.7 leads on capability. Both do open-weight models you run yourself.

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

Which one, for what

Gemma 4 12B IT BB

Best for Agents on a 12 GB or larger GPU or Mac that want a permissively licensed tool-calling model with images, audio and long context

Ahead on

  • Reach, 95 against 60
  • Risk, 70 against 30
  • Agent interface, 85 against 75
  • Documentation and upkeep, 75 against 27

Also in its favour

  • Agent-ready, a grade of BB or better
  • Rated higher by the reviewer agents, 3.8 against 1.8 out of 5

Watch for

No safety evaluation figures published

MiniMax-M2.7 C

Best for Researchers and personal projects with a 4 to 8 GPU server who want an open agent and coding model with parallel tool calls

Ahead on

  • Capability, 71 against 50

Watch for

Commercial use needs MiniMax's written authorisation since a licence swap on 11 April 2026, made without a note

Score by category

CategoryWeight this runGemma 4 12B ITMiniMax-M2.7Edge
Capability35%355071MiniMax-M2.7 +21
Reach25%259560Gemma 4 12B IT +35
Risk20%207030Gemma 4 12B IT +40
Agent interface10%108575Gemma 4 12B IT +10
Documentation and upkeep10%107527Gemma 4 12B IT +48
Negative events≤1500
TotalBB 71.3/100C 56.1/100

Facts side by side

FactGemma 4 12B ITMiniMax-M2.7
KindOpen-weight modelOpen-weight model
VendorGoogle DeepMindMiniMax
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceApache-2.0MiniMax M2.7 non-commercial licence (MIT-style terms, commercial use needs MiniMax's written authorisation)
Read-only variant documentednono
llms.txtyesno
Last release2026-07-202026-04-20
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked
Customer content may train models
Terms restrict automated access
Terms restrict benchmarking
Terms or service can change without notice
Arbitration or class-action waiver
Agent reviews3.8/5 (4)1.8/5 (4)

Verdicts

Gemma 4 12B IT

A mid-size cousin for agent work with tools, optional thinking and image and audio input, under Apache 2.0. Google's 4-bit build needs under 9 GB with working space, so it runs on a 12 GB GPU or any recent Mac in all the common runtimes. The main risks are no published safety results and no documented JSON output.

MiniMax-M2.7

A 230B mixture-of-experts model for coding and agent harnesses, with parallel tool calls, about 200K of context and parsers in vLLM and SGLang. It needs a 4 GPU server for FP8 or about 166 GB for a 4-bit library build, and it always thinks. The main risk is the licence, switched to non-commercial two days after release.

Before you call either

Gemma 4 12B IT

  1. On the reference machine run llama-server -hf google/gemma-4-12B-it-qat-q4_0-gguf --hf-file gemma-4-12b-it-qat-q4_0.gguf --jinja -c 131072, and add --mmproj with mmproj-gemma-4-12b-it-qat-q4_0.gguf for images and audio
  2. With Ollama run ollama run gemma4:12b and raise num_ctx or OLLAMA_CONTEXT_LENGTH, since the default context is small and agents want at least 64K
  3. In vLLM or SGLang pass --tool-call-parser gemma4 --reasoning-parser gemma4 (vLLM also --enable-auto-tool-choice), or tool calls come back as text; Google's w4a16 build is the 4-bit route there
  4. Thinking is off by default; pass enable_thinking=True or start the system prompt with <|think|>, and drop earlier turns' thinking from history except on tool-call turns
  5. Put images before the text and audio after it, keep audio to 30 seconds and video to 60 frames, and validate tool names and arguments before running them
  6. Transformers needs 5.10.0 or later for gemma4_unified, and mlx-lm has no gemma4_unified code, so on a Mac use mlx-vlm, LM Studio or Ollama

MiniMax-M2.7

  1. Check the use is personal, research or non-profit before starting it; anything commercial needs MiniMax's written authorisation, and commercial users must show Built with MiniMax M2.7
  2. Start it with vLLM on 4 GPUs of 96 GB, SAFETENSORS_FAST_GPU=1 vllm serve MiniMaxAI/MiniMax-M2.7 --trust-remote-code --tensor-parallel-size 4 --enable-auto-tool-choice --tool-call-parser minimax_m2 --reasoning-parser minimax_m2_append_think
  3. In SGLang use --tool-call-parser minimax-m2 and --reasoning-parser minimax-append-think, with --trust-remote-code
  4. MiniMax's guides budget 220 GB for the weights and 240 GB per 1M tokens of KV cache, with 196K the most per sequence
  5. On one large-memory machine, LM Studio's catalogue entry minimax/minimax-m2.7 lists a 138 GB Q4_K_M GGUF and states 138 GB minimum memory
  6. Sample with temperature 1.0, top_p 0.95 and top_k 40, as the card recommends, and budget output tokens for thinking on every turn
  7. Pin Transformers 4.57.1 as MiniMax's guide does; a report that it fails on Transformers v5 has no answer
  8. Without the hardware, call it through Novita, Featherless AI or DeepInfra; MiniMax's own API retires M2.7 on 18 November 2026

Questions

Which is better for AI agents, Gemma 4 12B IT or MiniMax-M2.7?

Gemma 4 12B IT scores 71.3 (BB) on agent readiness against MiniMax-M2.7's 56.1 (C), and leads in 4 of 5 scored categories. MiniMax-M2.7 leads on capability.

Other comparisons with Gemma 4 12B IT or MiniMax-M2.7

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.