Gemma 4 12B: A unified, encoder-free multimodal model

(blog.google)

625 points | by rvz 7 hours ago

44 comments

  • senko 4 hours ago
    I ran the Q4 quant (used with llama.cpp) though my "minesweeper" vibe-coding benchmark: https://senko.net/vibecode-bench/2026/minesweeper-gamma-4-12...

    The result is decent, but it had a few bizzare/trivial syntax errors I had to fix manually: it would do an extra closing bracket or paren a few times, and wanted to separate function definitions with comma. Not sure what that was about, but otherwise the output run just fine.

    So, with those qualifiers, I think it's a decent local coding model. It roughly compares with GPT-4.1 (!!), released 14 months ago, on the output: https://senko.net/vibecode-bench/2025/minesweeper-gpt-4.1.ht... (actually I'd call it better, but those syntax errors...)

    I ran the quantized version (4-bit GGUF) on my consumer-grade card with 12G of VRAM and got 5t/s for output. Not for interactive use for coding, but fairly capable model.

    To me, it's fascinating how much progress we got in over a year. GPT-4.1 was considered an extremely capable coding model. Now we got something with 12B of params performing roughly the same (in this specific benchmark, disclaimers, etc).

    Lists of various models I tested: https://senko.net/vibecode-bench/

    • 0xbadcafebee 2 hours ago
      It was almost certainly not trained for coding, as it's got both audio and vision input, is only 12B, and nowhere in the announcement is coding mentioned. It will likely not have good performance on coding in general, compared to other small models like Qwen 3.6 35B A3B, Gemma 4 26B A4B, Nvidia Nemotron 3 Nano 30B-A3B, gpt-oss-20b.

      For 16GB laptops, Qwen 3.5 9B is the undisputed champ.

      Gemma 4 31B is the top dog at small model coding, but is dense so it needs ~48GB unified RAM for full context. If you want decent coding on a laptop you need a lot of RAM. But this shouldn't be surprising, dev machines have always needed lots of resources.

      • kajecounterhack 1 hour ago
        Have you found Gemma 4 31B better than Qwen 3.6 27B Q8? I just started using Qwen + Pi agent and it's great, but "which model works best" is still totally crowdsourced and I was going off of peoples' opinions on reddit. Would love to hear more opinions if people have them.
        • embedding-shape 33 minutes ago
          > Have you found Gemma 4 31B better than Qwen 3.6 27B Q8?

          Which quant of Gemma? For coding Qwen seems to be pretty far ahead, but generally Gemma seems to have a "vaster" set of knowledge, but armed with a search tool it doesn't really matter, and Qwen 3.6 been really great for all sorts of tool calling. I mostly do programming and related things though, fwiw.

          > I was going off of peoples' opinions on reddit

          It's extremely astroturfed all over the place, especially the larger subreddits, and especially the one related to a specific animal in a specific location. It's sad, as early on it was a great resource, but now it's mostly paid posts and a race to the bottom, with lots of piling, and all the knowledgeable people I used to recognize are nowhere to be found.

          • xenophonf 5 minutes ago
            It took me way too long to realize you were referring to r/localllama.
        • thangalin 35 minutes ago
          Yes. I'm using Gemma-4 31B (gemma-4-31B-it-assistant.Q4_K_M.gguf) with llama.cpp to attribute quotations throughout chapters of my sci-fi novel. I started with Qwen3, but couldn't get it to work. Qwen3 TTS Voice Design, on the other hand, is incredible (Qwen3-TTS-12Hz-1.7B-VoiceDesign). I'm using both for an audiobook generator that produces a novel in a variety of voices.

          Screens:

          * https://i.ibb.co/TBBV5nJk/kl-01.png (voice design)

          * https://i.ibb.co/nNvvKDyV/kl-02.png (quotation attributions)

      • senko 1 hour ago
        Yeah, I agree 24B-36B sizes are better in general.

        I don't have unified RAM tho and offloading to CPU is dog slow, which is why I'm interested in 7b-12b models.

    • zigzag312 2 hours ago
      > It roughly compares with GPT-4.1 (!!), released 14 months ago

      I think the mayor win for coding was reasoning. That's why such a small model can match GPT-4.1 in coding, but I suspect that GPT-4.1 still wins in general world knowledge due to bigger size.

      • mdp2021 1 hour ago
        > I suspect ... still wins in general world knowledge due to bigger size

        Encyclopedic knowledge matters relatively little in perspective, given the expectable future developments: even the more knowledgeable of us will use that knowledge for reasoning and intuition (and we will have absorbed the intellectual keys during our training), but under our professional hat we should in theory be ready to go "I stand corrected" and "more precisely" with the actual data at hand.

        I.e.: for the encyclopedic knowledge needed, the /understander/ will have a RAG subsystem and a corpus of knowledge to inquire upon processing queries.

        (Corroboration: we can't delirate, and neither can the machine...)

        • bitexploder 47 minutes ago
          Don't LLMs work on attention though? The closer in their hyperdimensional space you can land your problem to their inherent understand the better they are at understanding your problem domain. RAG loops can be very slow and agents may simply lack the knowledge to use them correctly.
        • coldcity_again 1 hour ago
          A great position to take. Strong opinions, weakly held.
    • superkuh 1 hour ago
      >consumer-grade card with 12G of VRAM and got 5t/s

      That speed for token output indicates to me that it somehow is using hybrid mode and involving cpu+system ram somehow. That ~5tk/s is about the ram bandwidth of DDR4 RAM versus that size model at 4bit. Any consumer GPU with 12 GB like a nvidia rtx 2080 or rtx 3060 should be doing 20+ tk/s with llama.cpp and CUDA backend.

      • senko 1 hour ago
        Good catch. I haven't looked deeply into it. This is with Vulkan backend on Linux which I understand should be roughly comparable to CUDA? Gfx is rtx 3060(ti?).

        I should play a bit more with llama.cpp options and see what bappened there. Thanks!

    • pseudosavant 49 minutes ago
      Models this small and this capable bode really well for the usefulness of a PC like the RTX Spark that Nvidia/Microsoft announced this week. 128GB of unified memory will likely be more than sufficient for effective local agentic coding, even if SOTA cloud models will still be even better.

      Up until this point, I've found the cost/value to unequivocally favor using a cloud subscription, but I would be lying if I didn't worry that one day OpenAI is going to increase the price for my subscription by 5-10x. I rely on these tools enough that if there is a real viable local option, I'm going to take it.

    • frikk 4 hours ago
      Thank you for sharing this. Do you think the syntactical issues could be addressed with fine tuning or some other kind of parameter tweaking? That's frustrating hah.
      • profunctor 3 hours ago
        With a harness you could feed the code to a linter and if there are errors feed that to a model automatically. It’s amazing that the models are good enough that I haven’t bothered doing this
    • McGlockenshire 2 hours ago
      > my consumer-grade card with 12G of VRAM and got 5t/s for output

      Thank you for giving me hope!

  • kristianp 3 minutes ago
    What quantisation do the creators intend this to be run at? They talk about 16GB of ram, so should it be run at 8 bit? People here are talking about using q4, but I would have thought a smaller model like this wouldn't perform well at such low bits per parameter.

    I guess we have to wait for someone to produce perplexity curves at different Q's.

  • minimaxir 6 hours ago
    The big story here is the encoder-free part, which I still don't fully understand.

    > Vision: We replaced Gemma 4’s vision encoder with a lightweight embedding module consisting of a single matrix multiplication, positional embedding and normalizations.

    That's technically encoding, just without using a dedicated model for it like SigLIP? The Developer's Guide elaborates, it's still a 35M layer which I am curious is robust enough. https://developers.googleblog.com/gemma-4-12b-the-developer-...

    > Small enough to run locally on consumer laptops with 16GB of RAM, it unlocks powerful multimodal and agentic experiences right on your machine.

    I am assuming that involves quantization, which due to the quality loss makes that statement somewhat misleading IMO.

    • georgehm 6 hours ago
      Embedded within that developer page is a good explainer of the encoder free architecture . https://newsletter.maartengrootendorst.com/p/a-visual-guide-...
      • asim 4 hours ago
        That's a great explainer, thanks for sharing it.
    • spott 5 hours ago
      This is just early fusion basically.

      FAIR did this 2 years ago now: https://arxiv.org/abs/2405.09818

      I've been waiting for something like this to be released since then.

      The annoying thing is that chameleon was multi-modal out based on the same principles, but this model is just inputs... (I'm curious how they did pre-training without having multi-modal outputs as well. I wonder if they just chopped them off rather than support image output).

      • santiagobasulto 3 hours ago
        I don't think it's the same. It's a similar concept, but Gemma is using just a linear projection, which I assume is a lot faster. The developer guide has more details: https://developers.googleblog.com/gemma-4-12b-the-developer-...

            Vision embedder (35M parameters): Replaces the 27 vision transformer layers of the other medium-sized Gemma 4 models. Raw 48x48 pixel patches are projected to the LLM hidden dimension with a single matmul. A factorized coordinate lookup (X and Y matrices) attaches spatial location information directly to the input
        
        the "single matmul" is the key here, I haven't tried it, but it's probably pretty fast and memory efficient.
      • ahmadyan 1 hour ago
        Some of the FAIR people moved to Thinky, and they also started doing encoder-free MM-LLMs. Now Google. This seems to becoming a trend working at small scale, but the difficult part is scaling.

        Standard approach for training MM-LLMs is we train the encoder first, there are O(2-10B) good images on the internet, so encoder needs to see each image O(10-100) times, that is O(100T) tokens, which is more than the entire pre-training budget for most runs. That is the reason we train the encoder separately (smaller model, 2B active vs 30B or 200B active LLM); there is nothing magical about training the encoder and LLM together, it is just more token-efficient to train the image modality first.

    • dofm 4 hours ago
      I would contend that the actual big story is the gallery app:

      https://developers.google.com/edge/gallery

      Anyone with a 16GB Mac — that is quite a lot of journalists, surely — can download that, install a model into it, and play.

      Surely journalists have to start asking questions at least about OpenAI's consumer revenue projections now.

      I am a major, major AI cynic, but I decided to be an informed cynic so I've been playing with local models for agentic work and a bit of CAD-to-image generation. I really quite like the 26B Gemma model — I've been using it to teach myself some fundamental things and learn OpenCode without developing a cloud dependency. It writes fairly good code and it is helping me learn the things I want to learn at a pace that I prefer.

      But if this 12B model is even half as close as they say it is, this casts some doubt on the consumer end of the cloud business model, at least in the short term.

      (Not clear if this app is using the MTP drafters; I've still not got them working with Gemma myself, though the Qwen 3.6 built-in MTP support is super in LM Studio)

      • minimaxir 4 hours ago
        I had discounted Edge Gallery because it didn't support system prompts, but now it does so I will give it another go. I believe the implementation does use MTP since I got an update to Gemma-4-E4B on iOS indicating such, and on macOS it's very speedy.

        However, on my 18GB RAM MacBook Pro, selecting Gemma-4-12B-it results in this error:

        > The model "Gemma-4-12B-it' requires more memory (RAM) than is available on your device.

        So yeah, my questions about the 16GB marketing copy are fair.

        • dofm 4 hours ago
          Interesting; they may have fluffed up somewhere then.

          (Though perhaps it'll squeeze in with a small context window? Not sure I understand that aspect yet)

          It does seem to use MTP, yes, and it is quite quick — seemingly the underlying LiteRT stuff can do MTP with Gemma 4 and presumably MTP is a big part of the practicality picture here.

          The system prompt thing was a surprise when I poked around.

    • jszymborski 6 hours ago
      Totally agree that it is "encoding" in the general sense, but I think they are referring to the lack of an "encoder" neural network.
      • minimaxir 6 hours ago
        In hindsight I may have been pedantic.
        • wilkystyle 6 hours ago
          I had a similar thought to you, and found your question and the resulting discussion helpful!
        • cortesoft 50 minutes ago
          Being pedantic isn't a bad thing in technical discussions.
        • santiagobasulto 3 hours ago
          Not at all, I had the same feeling as yours the first time I read it. I think the key is that the "encoder" they're using is just a linear projection, which is probably pretty fast and memory efficient. A single matmul vs a ViT encoder is probably a huge win.
        • alberto467 6 hours ago
          Not at all. Getting really pedantic, tokenization is also a form of encoding, so it doesn't matter the modality you're using, you'll end up doing some type of encoding in some way.
          • altruios 5 hours ago
            Tokens are such a strange base unit. Couldn't we do something that naturally conforms better to reality than such choppy units that cause all sorts of artifacts? making everything 'language based' prevents true multi-modality. Thinking isn't done in language. Thinking outputs language, but its far more like multiple waves of data coalescing into an 'idea', internal... subjectively (n=1) at least. I think wave/signal based transformers are the next jump.

            After that a s1/s2 system: fast generation, slow wave correction / observation operating over the fast generation seems like the next leap forward.

            Tokens create and hide too many problems to be the 'optimal' solution.

            • selectodude 2 hours ago
              Not to be too snarky but there’s a few trillion dollars and some of the brightest minds of our generation working on this. I’m sure there’s a reason why they’ve settled for or are stuck on tokenization.
              • andai 1 hour ago
                Yeah, I'm sure we ended up with JavaScript for great reasons too.
            • TeMPOraL 1 hour ago
              > making everything 'language based' prevents true multi-modality. Thinking isn't done in language. Thinking outputs language

              Your problem isn't with tokens, but with "language". Tokens have little to do with language, other than usually being consumed in sequence, but that's true of anything that has to span over time. Thinking of tokens as letters or subwords is mistaking the general with the specific. We may have started with letters and words and subwords (trying to find the best balance for training), but then people figured why not add pixel patches to the dictionary, and then sounds, and then other signals, and after iterating on it a bit, we now have image and sound and symbol sequence data all being part of the same token space.

              LLMs stopped being about "language" - in the sense of English, or C++ - long, long time ago. We're still using tokens, but they're more like quanta of sensory input now.

              You can take it in two directions, I guess - either consider "Large Language Model" to be an anachronym, a name that couldn't keep up with times, but we got used to it back when it made sense, or alternatively, just broaden your understanding of "language" to encompass any pattern of quantized sensory inputs, regardless of modality :).

              (Given how we know humans can communicate with pictures, gestures, body language, noises, movement, actions, or even gaze, and that when it becomes common enough, such systems develop their own pattern structure - dare I say vocabulary and grammar - and that none of it requires or usually involves going through a "normal language" intermediary - I'd lean towards the second direction :)).

              --

              ETA: also wrt. "thinking with tokens", LLMs don't really think in tokens. You may have heard that phrase, that may have been coined by Karpathy, that "for LLMs, tokens are units of thinking". It's a useful shorthand to remind people that prompting models to be terse and skip prose is effectively dumbing them down, but it's also a bit misleading.

              A better analogy is that tokens act like clock signals: each consumed token causes certain amount of computation happen in the network, much like a single clock signal in digital electronics, or turning a crank one revolution in a mechanical contraption. This makes tokens "units of thinking" in the sense that processing N tokens causes M amount of computation to happen. Now, for whatever problem you're solving, there is a minimum amount X of computation that is required to solve in correctly, and it's mathematically impossible to do with less. So if you ask an LLM to solve it, it needs to process at least as many tokens as it takes for M = X. If you force the model to be so terse that it makes M < X, you literally make it impossible to succeed. In practice, you need M >> X.

              • altruios 43 minutes ago
                Can you elaborate more on what a token looks like as a pixel patch/sound/general signal as it currently is (in this model)?

                My understanding of pixel representation is: slice a grid in an image, each square slice gets projected into a number array of x long (not sure how long x is, or if it's variable), which then gets projected down to a token representing that space (3-4 long as alpha-numeric) and AGAIN gets passed into "position detector" which outputs a token representing that pixel/position. which gets passed into the lmm (at a significantly reduced/translated signal into token space).

                First, before continuing: do I have that mostly correct?

            • refulgentis 2 hours ago
              This sounds like when crystal people talk quantum physics.
              • CamperBob2 1 hour ago
                I agree with the GP. The idea that there's not a better intermediate representation between tokens and embedding vectors seems absurd. But how to arrive at such a representation and implement it effectively is a few zeroes above my pay grade.
                • refulgentis 1 hour ago
                  I find your agreement seductive because it side steps the unfounded assertions and simply asserts there must be something different and we don’t know it, which is easy for me to agree with too. Or maybe hard to disagree with.
    • mchinen 5 hours ago
      The audio side is even more interesting, as it seems they totally got rid of positional embedding are just doing a single linear transform to match the LLM input dimension and that's it.

      > Audio: We simplified audio processing even further. We removed the audio encoder entirely and projected the raw audio signal into the same dimensional space as text tokens.

      • make3 5 hours ago
        I guarantee you there's positional information one way or another. they just don't mention it because positional embeddings are extremely cheap computationally, not worth mentioning
        • aesthesia 1 hour ago
          Audio is 1 dimensional so the usual RoPE position encoding should handle it like it does for text tokens. You only need extra position encoding for higher-dimensional stuff like images.
        • neosat 5 hours ago
          Agree. Audio has strongly temporal so there is almost certainly some positional encoding one way or another.
        • mchinen 5 hours ago
          Ah yeah, thinking further it's probably just using some positioning embedding based on sequence numbering added in the LLM layers. For vision it needs the patch location as well.
    • kristjansson 6 hours ago
      > quantization

      12b means 12G @ 8 bits/param (basically lossless) and 6G at 4 b/p (generally accepted 'pretty close' level). Not too bad?

      But TBD how well the base model performs before thinking too much about quantization

      • magicalhippo 1 hour ago
        Smaller models are less forgiving to quantization. For a 12B model I wouldn't expect Q4 to be "pretty close", unless it underwent quantization aware training (QAT). Of course it's not set in stone, there's a huge variance between models, so this might surprise.
    • matja 6 hours ago
      One side-effect, is that the separate .mmproj file (Multi-Modal Projection encoder) is no longer needed, when using the model with llama.cpp etc.
      • lambda 3 hours ago
        It's not? There's an mmproj in the GGUFs released by ggml-org: https://huggingface.co/ggml-org/gemma-4-12B-it-GGUF/tree/mai...

        From the visual guide, there's still the 35M parameter embedder, then the linear projector, for vision, and the linear projector for audio, so it does have some parameters used for the multimodal input to project it into the LLM latent space: https://newsletter.maartengrootendorst.com/p/a-visual-guide-...

        And the Unsloth quants, which are missing this, don't support multimodal input. (edit: actually, I may have just needed to update my llama.cpp, will check with an updated llama.cpp soon)

        I'm downloading the ggml-org GGUFs now, I tried Unsloth but got some weird problems, double checking with the bf16 model to see if the issue was just the quant.

      • pferdone 5 hours ago
        But do I have the option to run it 'text only'?
    • teravor 1 hour ago
      I dont see how encoder free audio isnt a mistake here. a mimo model will at least get the audio to 12.5 Hz as opposed to the 25 Hz they are doing. and you dont need to finetune mimo either.
    • mips_avatar 5 hours ago
      I don't think we've bottomed out on what we can do with embedding models. They're these tiny models that absolutely rip on modern cpus with 8 bit int optimizations. Like in my app we can say pretty definitive things about hundreds of millions of places in the world on retrieval tasks on regular hardware.
    • wolttam 6 hours ago
      I think the idea is that the model is seeing embeddings that map directly to underlying pixel data, rather than being fed semantically rich embeddings from an encoder model which itself had seen the raw pixel data.
    • rao-v 5 hours ago
      Encoder free is huge for running on SBCs etc. often the encoding time is a significant fraction of generation time if you are using a VLM as a all purpose vision model
    • reactordev 6 hours ago
      It actually works well because unlike encoders, the latent space is trained on that initial layer so it “knows” what to do with that sparse density. I’ve been using gemma4-12b with Flux2 and its ability to reason on visual input is pretty good. That said, each model is good in their own ways so YMMV but overall, it’s about as solid as Qwen just with a more advanced architecture.
    • woadwarrior01 5 hours ago
      There are many priors to encoder-free VLMs. I specifically remember the EVE series of models from ~2 years.

      https://github.com/baaivision/EVE

    • goobatrooba 3 hours ago
      Either Google changed the text or you editorialised it a tiny bit - just for all others that got excited, they mean 16GB VRAM. So a premium graphics card requiring a >2500€ device is the minimum to run this.

      Still progress, but not quite democratic yet.

      Weird though that Google might be cannibalising it's own AI subscription service?

      • LoveMortuus 1 hour ago
        I've bought a laptop for <1500€ that came with 32GB of RAM and an RTX 3080 with 16GB or VRAM. So I don't think >2500€ device is necessary, though I'm certain it would yield better and faster results.
      • thot_experiment 3 hours ago
        I haven't tried this model yet, but I can run Gemma 31B w/ the MTP drafter in pure CPU at about 10tok/s so this should run at about 20-30tok/s on a decent CPU, it'll probably run at >50tok/s on any Mac that can fit it, and lots of people have a gaming GPU with enough VRAM. In terms of access to hardware being a gate, it's one you can hop pretty easily.
        • dofm 3 hours ago
          Could you outline how you are running the MTP drafters? I've tried LM Studio but no dice there. I'm probably missing something but I think llama.cpp and Ollama can't do it yet either?
          • thot_experiment 1 hour ago
            I just build llama.cpp from scratch on the PR that has MTP drafters.

            https://github.com/ggml-org/llama.cpp/pull/23398

            Please don't use Ollama, it's a bad actor in the OSS community.

            • dofm 1 hour ago
              I don't have the energy to build stuff all the time, that's a rabbit-hole side tunnel I don't really want to get into. I have larger concerns in my life that are more urgent than developing that side of things.

              But I've moved on from Ollama for the time being, though I am mainly interested to see what the Gemma 4 MTP speeds are like on my M1 Max, so I may test it.

              I am quite impressed with the tools in LM Studio, which is also a beautiful app, but it is not open source (which challenges my personal strategy somewhat) and I dread its inevitable enshittification.

              Nevertheless the GUI has been very helpful while I learn, and I will probably use it until something else presents or my usage pattern settles down from experimentation to something a bit more routine.

              I will try oMLX, too, but judging by the LiteRT page I may soon be able to just use that for the larger models if I end up settling with Gemma 4.

              • thot_experiment 1 hour ago
                Totally understandable. YMMV but I found the llama.cpp build process to work on the first try on my machine, and it only takes a couple minutes, which definitely isn't my usual expectation or experience. I was very pleasantly surprised. Their web-ui is also getting very polished while still doing a great job of letting you tweak all the weird settings.
                • dofm 57 minutes ago
                  Sorry, I sounded a bit terse there!

                  You have probably convinced me to give it a try, to be honest.

                  It's just that, to cut a long story short, I am currently recovering from a level of burnout so severe that twelve months ago had me fully convinced I was actually in early-onset cognitive decline (I am a bit over fifty).

                  Only a little over two months ago I was still sure I'd have to quit IT and find a slow job because I was so out of the loop; this whole industry shift even in just the last few months is so shocking and strange.

                  So I have to be a bit cautious about how many indirections I add, if that makes sense. But I am compiling bigger projects than llama.cpp so I will give it a go.

                  Thank you for the extra detail.

          • Patrick_Devine 2 hours ago
            I haven't yet pushed the MTP enabled gemma4 12b model for Ollama because in my testing I wasn't getting a performance bump. The other gemma4 MTP models should work OK right now, but there are some fixes we're just about to push. This is specifically for the MLX backend.
            • dofm 2 hours ago
              Thanks for your reply. I will go back and look at Ollama again.

              So much to learn but this news has really vindicated my decision to direct my limited span of concentration and focus to learning how to use open weights models and opencode.

          • ch_sm 2 hours ago
            can‘t speak to compatibility with this new model, but oMLX supports MTP drafters very well.
            • dofm 2 hours ago
              Thank you, I will test that.
      • ActorNightly 1 hour ago
        Google is an advertising company first and foremost. At some point, these local models have to fit into that umbrella. I don't quite know how yet, but its going to happen.

        That being said, the real value in paid plans is that you get ecosystem integration that can read your gmail, photos, docs, and so on.

        • bitexploder 45 minutes ago
          Google is also a Cloud Provider. Cloud is now ~18% of Google. While it is an advertising juggernaut. Cloud is also rapidly growing, so the local models simply fit as AI research and dev and getting more people on Gemini models. They /are/ advertising, effectively :)
        • jpadkins 37 minutes ago
          local models still need information retrieval.
    • GaggiX 6 hours ago
      > That's technically encoding

      Isn't that just projecting the patches into the d_model size vectors that the models takes?

      >I am assuming that involves of quantization

      12B model in 16GB seems very reasonable to me, int8 is top quality for running models.

      • minimaxir 6 hours ago
        The guide describes it as projection although there is apparently an extra step: "A factorized coordinate lookup (X and Y matrices) attaches spatial location information directly to the input."

        12B at int8 would take up 12G memory, or 75% of the system memory which technically fits within 16GB but the OS will not like that. EDIT: On my 18G memory MacBook Pro, LM Studio reports a "partial GPU offload" for the int8 MLX weights. Can't test because the `gemma_unified" architecture is NYI.

        • WhitneyLand 4 hours ago
          Yeah and it’s pretty memory efficient with only 8 attention layers so at int8 in 16GB ram maybe you still get 64k-128k context.

          The part I hate though is that I’d bet none of the performance claims are based on int8.

          Why do we care about bf16 benchmarks when no one will be using that with this model.

      • WhitneyLand 4 hours ago
        I don’t think so, the HF weights are bf16 which means 24GB + cache/overhead.

        It sounds like marketing spin where the performance claims are based on BF16 and the “runs in 16GB” claim is on a totally different quantized version.

    • madduci 4 hours ago
      VRAM, not RAM. I wish it was light enough for iGPUs too
    • LarsDu88 6 hours ago
      Well its a real simple encoder I guess
    • lucamark 5 hours ago
      [dead]
    • fushigokira 6 hours ago
      [dead]
  • asim 4 hours ago
    We are now entering the closed loop game. Google doesn't need anyone else to accelerate their models. This is their bread and butter.

    I'm both shocked but also not surprised that they continue to develop such efficiencies. Honestly it's like silicon and CPU architecture advancement. We kept shrinking it and shrinking it and it kept getting more and more powerful and here we are with AI and it's only going to be 100x more efficient with time. Maybe there's some point of decay but essentially the next 30 years will be more advanced than the last 30 and were going to be living in some sort of futurist blade runner scenario where gene editing is repairing ageing cells, organs and curing all sorts of cancers that haven't even appeared yet. Beyond our lifetimes people will live to 125 quite steadily and with great mobility and then obviously people will look to how do we get to living 1000 years, which of anyone is religious knows Noah and others lived to that age in a totally different era.

    Anyway I'm going off on some tangent but look back 30 years. Now look forward 30 years. It's going to be insane. May God protect us.

    • bityard 3 hours ago
      > We kept shrinking it and shrinking it and it kept getting more and more powerful and here we are with AI and it's only going to be 100x more efficient with time.

      It's definitely an exciting time, but in terms of advancements in the state of the art, there is a lot of low-hanging fruit left to pick. There IS a bottom, however, as you can only encode so much "knowledge" in a small number of parameters.

      This feels to me a lot like what the early days of what radio or aviation must have been like. Or, heck, microcomputers even.

      • asim 3 hours ago
        It's definitely a core component of a bigger system. We are effectively trying to recreate intelligence and human life through models and robotics. So the key insights for me, the LLM is the cerebral cortex but we have a lot more to recreate. Once you map in sensory input continuously and give it physical robotics, things start to change. But even before that leaving these things in simulated realities is what will happen, and right now we have things that operate based on our commands, but a complete step function will be the things that act on their own and that will be a very dangerous time but also where we see some very surreal things happening. They might not necessarily be made in the same way either, they might operate on entirely different types of architecture.
    • Flere-Imsaho 3 hours ago
      Yes I've taken the "must optimise longevity" route, taking priority over other things such as my career and hobbies. I want to see the future - all this AI stuff fascinates me.
    • ActorNightly 1 hour ago
      Nope, lol.

      Large models still are quite far ahead, don't be fooled that even Gemma:31b (which is better than the 12b overall) is anywhere close to big models.

      There is definitely room for optimization, but fundamentally, for complex tasks, you need visible small gradients for accuracy that allow the model to be trained on (and consequently be followed during inference). For example, if you specify in instructions not to write code but ask coding question, Gemma will still write code. Whereas Gemini/Claude will pick up on that and follow your instructions better.

  • ethanpil 6 hours ago
    What's Google's business case for releasing open models? Don't get me wrong, I am grateful and appreciative of these releases. I'm trying to understand how it fits into their bigger picture as a for profit company? Are they not helping competitors build on the novel technology they have developed?

    Is it simply goodwill and/or marketing? Or am I missing something strategic?

    • gen220 5 hours ago
      A big part of the frontier labs abilities to charge 80% gross margins on inference is having the cornered resource of frontier models.

      If that inference becomes popular and valuable enough that those companies make billions of dollars in profit, those companies could use that profit to fund the building of alternative products and platforms that dis-intermediate google's relationship with the customer.

      Google already has an 80% gross margin business, the biggest one in the world. Everybody wants a slice of it.

      By offering frontier inference closer to cost and open-sourcing everything that's sub-frontier, they're commoditizing frontier labs' models, which inhibits their ability to durably make high gross margins on inference.

      It's a strategic play.

      • zozbot234 5 hours ago
        A 12B-sized model is a far cry from "frontier inference". That's more like DeepSeek V4 Pro territory which is a 1.6T model. Or for multi-modal models, Kimi 2.6 which is 1T.
        • gen220 5 hours ago
          at risk of quoting myself... :)

          > By offering frontier inference closer to cost *and* open-sourcing everything that's sub-frontier

          It's two prongs! One prong is that their frontier inference pricing is significantly cheaper/closer-to-at-cost as Anthropic's.

          The subject of this thread is the other prong: offering compelling models that are sub-frontier and self-hostable.

          Self-hosting models and at-cost frontier models are the high-end and low-end disruptions, respectively, to Ant/OAI/etc.'s business models.

          • echelon 5 hours ago
            Google needs an anti-trust breakup about 10 years ago.

            They need one more than ever now.

            This is ridiculously anti-competitive.

            • airstrike 4 hours ago
              This is literally competition
              • echelon 1 hour ago
                1. Google is dumping on the market to weaken OpenAI and Anthropic.

                2. Every time you search for Claude or ChatGPT, you get presented with an AdWords bidding war.

                3. Google is deploying its models in Search, Docs/Drive/Office, YouTube, Chrome, ...

                • airstrike 1 hour ago
                  1. This isn't dumping

                  2. I'm not sure what this has to do with the case, unless you're arguing Google has an ads monopoly, in which case the best argument would likely not be that adwords lead to bidding wars because that just sounds like they're selling a product people really want to pay for

                  3. There's nothing criminal about being a very diversified business

        • boutell 5 hours ago
          You're right that it's not literally frontier. But like recent Qwen releases, it is a lot more capable than anybody thought models of this size could be a year ago, like capable enough to set a ceiling on what you can charge for AI for certain applications. Others still clearly justify a stronger model, but this trend may continue, etc.
      • ActorNightly 1 hour ago
        Don't think its that.

        Basically with upcoming spark laptops, the smaller models will likely get fine tuned to interface with google services. Then, Google can essentially make Chromebook software include those models, which is the same use case as android.

        And you better believe that they will be collecting user data and building advertising models.

    • browningstreet 6 hours ago
      This won't replace commercially viable, revenue generating alternatives of their own devising, but it does enable development activity and initiate conversations with enterprises who start with this model but want to do slightly more.

      That's my experience right now... my company is all in on a plethora of platform products. Also, Microsoft just yesterday said their goal was "Unmetered intelligence". There's a lot of things that can be enabled by small local models, and those things are part of stacks that can generate revenue in other layers.

      • johnnyApplePRNG 5 hours ago
        re "Unmetered intelligence" goal of Microshaft.

        Of course it is...

        This is Windows-Licensing-Level Money Opportunity 2.0.

    • Mr_P 6 hours ago
      Android and Chrome need on-device AI capabilities. Google can't lock down those weights like it can with server-side ML.

      So it's easier to just release those models as open source and make it official, since someone would inevitably hack the weights out anyway.

      • Aachen 6 hours ago
        Could say the same for camera processing in the Pixel Camera app or any other binary someone wants to re-use that comes included in a software distribution (seemingly for 'free'). They can't lock the instructions up on the server so they might as well make the binary be freely distributable?

        Companies don't commonly give away executable binaries "just because", why'd they start now for these binary blobs that are the models?

        Not that I'm unhappy about it! Yay for open data any day, I'm just not understanding why, at least beyond PR in nerd circles

        • lukeschlather 4 hours ago
          Binaries are source code outputs, they are copyrightable and patentable. Weights are not copyrightable so people can freely extract the weights and run them. If Google patents any of the novel algorithms here releasing it all freely isn't an impediment to making people license it.
          • Aachen 56 minutes ago
            Weights are not copyrightable?!

            Are you sure that isn't about LLMs' outputs? There I know there have been some court cases that say this, but the model itself is a work created in intricate and somewhat creative ways (I hesitate to use the word "creative" here, but would similarly hesitate to label a routine picture of the moon creative whereas pictures basically always have copyright; the bar for creativity is basically an epsilon amount above zero, afaik)

        • jack_pp 5 hours ago
          Because a model like this can't be as easily obfuscated as image processing. Image processing is a bundle of many moving parts, a lot of functions each with it's own inputs and outputs. A model is a single function which can be easily extracted and reused, in comparison
          • Aachen 49 minutes ago
            Arguably, but that's not the point. Take image (e.g. png) files on a CD-ROM shipped by a game vendor, which can be trivially copied even by my grandma. That doesn't move the game vendor to release them as freely distributable under the Apache license
      • panarky 5 hours ago
        > can't lock down those weights

        They could lock them down legally which would prevent commercial use, but they choose not to, and they boast about how many tens of millions of times Gemma models have been downloaded by developers.

        So there must be more to the rationale than just local model weights getting hacked out of devices.

      • goobatrooba 3 hours ago
        But these can't be the same model - the model is far too demanding to be part of regular chrome for most people.
    • beambot 6 hours ago
      Google is one of the few verticalized options in AI: Data, models, cloud services, low-level silicon (TPUs), internal use cases, retail use cases, B2B uses, distribution (browser & mobile), etc.

      They rise with the tide of AI adoption. But they gain ground if people opt into Google solutions. And any token sent to a Google model (free or paid) actively punishes their competitors that are then required to spend vast sums to remain bleeding edge.

    • onlyrealcuzzo 6 hours ago
      If you're an AI lab, you definitely want research teams in this space - as this is where you can most easily iterate and make improvements which you'll then bake into larger, frontier models.

      The question is: do you want to release your models, or use them purely for R&D?

      Since everyone else is already releasing models of similar qualities, it's hard to say you're shooting yourself in the foot if you join the chorus.

      The added cannibalization of releasing them is effectively zero, so the reputational benefits are likely to be worth it.

      • hadlock 5 hours ago
        >The added cannibalization of releasing them is effectively zero, so the reputational benefits are likely to be worth it.

        Nobody would be looking at Qwen if their ~30b class models weren't fantastically good, it's great advertising and builds significant goodwill with developers, who are going to be your biggest advocates.

        The other thing is, all these models are already disposable grade, and in a year they'll all be outclassed by The Next Big Thing. "Open" models are less than 18 months behind SOTA right now and I can't imagine that will slow down much over the next two years, they may even begin to close the gap. Nobody even talks about llama 4 anymore despite only being a year old.

    • rootusrootus 6 hours ago
      Neutering OpenAI and Anthropic would be my guess. Commoditized LLMs won't hurt Google nearly as much as it hurts the LLM-only companies, and so accelerating the inevitable just helps knock out potential future competition in areas where Google -does- make a lot of money now.
      • literalAardvark 5 hours ago
        I think this plays a part, but the truth is that Google doesn't need to do that, Chinese open models are already doing that by themselves.

        So perhaps another part is just Google showing that they can indeed play at the big boys table.

        • gdiamos 5 hours ago
          There is demand for US open models.
          • literalAardvark 4 hours ago
            I sincerely wonder why. Chinese censorship is only really relevant if you're doing anti China stuff, which is to say never, while the Western kind of model censorship ( a combination of copyrights and general fairness ) are something everyone's had to work around at least once, even if just for writing an interesting story.
            • gdiamos 48 minutes ago
              It’s about enterprises who care about supply chain risk and having a throat to choke if they have a problem.

              Here’s a real example.

              I’m in a design meeting talking about a model use case. We have a question about the data pipeline or the prompt format that would benefit from knowing about how the model was trained. The enterprise team lead calls the dev tech engineer from the company who produced the model. He is already in the office and walks into the meeting to answer the question.

    • staticman2 5 hours ago
      As long as Chinese firms are releasing good open models I imagine there isn't a huge downside for Google to release state of the art small models to compete in the "free" space.
    • baq 4 hours ago
      Demis is on record saying they need models on the edge and if they’ll be there they might as well be properly open as they’ll be dumped anyway.
    • estearum 6 hours ago
      It's to destroy possible footholds for competitors and prevent them from making money in segments that Google doesn't care too much about, but can trivially commoditize.
    • schipperai 3 hours ago
      Demis at YCombinator said that they think its best their edge models are open cause once they are put on device they are vulnerable anyways

      https://youtu.be/JNyuX1zoOgU?is=PdzCILyi8SP6cfDr

    • bachmeier 3 hours ago
      A strong business case for Gemma includes fine tuning, adding AI to apps that run in the cloud, strengthening Android, shifting unprofitable small AI compute to devices, and harming competitors. The first two would be done using Google's cloud services due to integration with Gemma. I think Google is currently the best positioned company to profit from AI sales to businesses over the next few years, and Gemma is a critical part of the story.
      • cknoxrun 1 hour ago
        Google is actively, and directly helping companies continuously train use-case specific models based on Gemma 4 foundation. The company gets a model they fully own, trained on internal, sensitive data, and Google scoops up the profits from the training and ongoing compute spend to keep the model up-to-date.
    • mchusma 4 hours ago
      I think its even more puzzling because you can't even run Gemma 31b on google cloud, they only let you test it with a rate limit. No way (I can find) to actually pay them to use it.

      We saw great results in our usecase using google direct. Moved to Openrouter because google wouldn't let us use it beyond a test.

      Then Openrouters performance looked worse, not sure if there was a quantized version or something. So we instead looked at Deepseek v4 Flash, and opted to go for that.

      This model would probably be great for a super low cost cloud model, would love to use it in the cloud, Google makes you go elsewhere.

      • __mharrison__ 55 minutes ago
        I'm using it for one of my use cases (ocr) on openrouter right now.
    • XzAeRosho 6 hours ago
      Google's MO since always has been to release great products or services for free, position themselves high and then abandon them or just find uses for Enterprise sales.

      I'm pretty sure they are doing it because they get some research experience by shrinking and improving these models, and because they know that by doing this they get some good PR among the dev community.

      • Aachen 6 hours ago
        Google's "free" is and was ad-supported, even if some products now have a paid tier. These models don't include ads. Doesn't seem like the same underlying reason
    • ismailmaj 4 hours ago
      Gemini is a huge team while Gemma is relatively small. They can totally do this at a loss with no ulterior motive.

      They remind me a bit of HuggingFace, create something great then make money … maybe.

    • theturtletalks 6 hours ago
      Maybe they are hedging against a future where local models are just as good as cloud models? Or maybe they can go the Taalas route and start hardcoding Gemma on a chip and hardware manufacturers can use it for local private AI.
    • ppeetteerr 6 hours ago
      Isn't Apple about to license some variation of this from google for on-device AI? Maybe it’s their sales pitch to Apple and then they will lock it down.
    • CuriouslyC 6 hours ago
      They're trying to capture the segment of the market that wants to control the model, with the intent of getting you to run them on Vertex.
    • stevenhubertron 6 hours ago
      My guess is testing for Apple’s Siri replacement and partnership but that’s a total SWAG
    • moffkalast 2 hours ago
      The complete Chinese worldwide domination in this sector would be the alternative, since nobody else is releasing anything meaningful.

      Plus every open model undermines their local competition by furthering open research and reduces moats, especially since Gemini as a frontier model isn't really competitive with GPT nor Claude for most applications.

    • mmarian 6 hours ago
      Marketing + Pro Serv if I had to take a guess.
    • verdverm 4 hours ago
      Competition from Chinese alternatives hopefully forces more openness and efficient models. DeepSeek for example is nearly on par and far more resource efficient, good for the planet imo
    • re-thc 5 hours ago
      On-device, e.g. Android.
    • accountrequired 6 hours ago
      edge compute
    • dist-epoch 6 hours ago
      Evangelism for AI. Google is one of the big AI providers.

      Eventually the local model is not enough, and you'll upgrade to the big ones.

    • mugivarra69 2 hours ago
      [dead]
    • superchicken099 6 hours ago
      Gemma overtakes and kills real open-source AI projects, pushing people who would support them towards enterprises like Google
  • petercooper 4 hours ago
    Its image processing is terrible. I ran several tests against it against Qwen 3.5 0.8b (yes, 7% the size) and Qwen beat it every time with Gemma often getting things entirely wrong. I even gave it a plain image saying "This is a test" and it thought for 6 minutes trying to analyze it and failed. Qwen 3.5 0.8b confidently got it in under a second.

    It may be that the Q6 quant I got is borked (or my LM Studio is), but either way, the 0.8b's performance is mind boggling in comparison.

    • usef- 50 minutes ago
      That sounds like a bug. They're very common for open model releases on the first day. If I wasn't on mobile I'd try it on Google's own app.
    • ma2kx 3 hours ago
      I guess Google implements more / stronger guard rails than Alibaba and thus confuses these small models. At least this was my impression with Gemma3 models where it often said that the image contains some nudity / sex scenes and therefore it cannot give a description of the image. Never understood the point of this behavior....
      • jimmy76615 1 hour ago
        The biggest problem with all the Google models has always been RLHF, particularly safety training. They take a good, smart model and make it behave like a corporate person that has been to far to many forced anti-{sexism, racism...} seminars so that it is now living in fear of saying something that could be construed as wrong by some moral standard.
        • staticman2 1 hour ago
          This is almost certainly not true.

          If it was, they wouldn't need to be using the classifiers they are using to warn Gemini about problematic prompts.

        • ai_fry_ur_brain 1 hour ago
          Politics have broken your brain, go touch grass.
    • thot_experiment 3 hours ago
      I've always found the Gemma models to vastly under-perform on vision tasks compared to Qwen so that's nothing new.
      • mountainriver 1 hour ago
        The Qwen series adopted vision wayyy earlier than anyone else. No idea why the other labs were sleeping on it but they had about 2 years of experimentation without any competition.
  • ComputerGuru 6 hours ago
    Quite aside from the architectural changes, I suppose this is the answer to why Google had such a glaring hole in the (pretrained) Gemma4 model lineup between the Gemma4 4b and Gemma4 26b models!

    A model that comfortably fits in 16GB of VRAM (allowing room for context) is a welcome upgrade.

  • djyde 6 hours ago
    What are the use cases for these small models? Is there anyone using models of this scale in their daily life who could share their experience?
    • philipkglass 5 hours ago
      I have vLLM running on a Linux machine in my basement, connected with Tailscale, and I use small models as part of tasks like this:

      - Transcribing scanned documents into formatted text

      - Captioning/describing images and classifying them for audience suitability (includes anti-spam)

      - Matching documents with relevant Wikipedia pages for tagging

      I don't use them like frontier models. I break the work down into micro-tasks with one clear goal for each prompt. I write a lot of glue software to make the complete flow work. I was working on all of these tasks before LLMs appeared on the scene. The LLMs have allowed me to replace a lot of complicated code with less code plus a model, while achieving better results.

      I use local models for reasons of cost and control. I already had the workstation and GPU. The only running cost is electricity. I have used proprietary models from OpenAI and Google for some of these tasks, but I also encountered churn when the models I built my tools around were retired. I don't worry about that when I have the weights saved locally.

    • robgough 5 hours ago
      I've got a home-built dictation app that uses a local model to clear up the text and fix grammar. It was super easy to build. I’m extending it to capture meeting notes and summarise too. All on-device.

      I saw a little app the other day, I think someone posted on here, that looks at your screenshot and renames the file based off the contents of the file.

      There's tons of little examples like that. For a lot of use cases, you really don't need the frontier models.

    • properbrew 5 hours ago
      I think small models have a very good niche for specific tasks. I utilise a fine tuned Phi-4 model (smaller than this one) that fits in about 3.5gb of RAM (not vram) for the document processing side of things for the desktop app I develop (a bit of a shameless plug - whistle-enterprise.com).

      If you have a very specific idea for local model use you can find a way to make it work very well, you don't even need to have a graphics card or NPU chip. You just have to be extremely constrained in how it's used. I think as a generic chatbot they're not great, I'd use a hosted SOTA model and I'm a big fan of local LLMs myself.

      • SeriousM 4 hours ago
        Thank you for sharing your usecase! I like your product very much!

        Could you talk a bit how you did the finetuning? Did you use unsloth or any other tool and how went the verification to proof the outcome?

        • properbrew 2 hours ago
          Thank you!

          Yea absolutely, but man, where to even start, it is very specific.

          Fundementally I didn't use any wrappers like unsloth or axolotl, although I have used the latter before a year or two back and it was good, but I needed something very very custom. I also wanted the whole fine tuning pipeline to exported OpenVino model to be seamless.

          I heavily leaned on codex, claude and some manual sleuthing around the internet to understand what I needed. I'd played about with QLoRA finetuning with axolotl before and felt most comfortable with that. So I needed to keep everything as stripped down as possible and figured I can just utilise the 3 main huggingface libraries (transformers, peft and datasets) and also bitsandbytes (as suggested by claude to quantize the model to keep this working on my GPU) along with some custom scripts generated by claude/codex (each cross referencing each other) that will do the different stages of the training run.

          The next part was the data. Obviously didn't have access to thousands of meetings and associated output documents but I did have a 3090ti sitting there and a codex subscription. So I set about working out what format I needed the data in (many thanks again, to claude/codex) and started generating hundreds of different transcripts, different amounts of speakers, content, tones, subjects, spelling mistakes - like all the different things you could think a meeting would have. Then it's a case of actually generating a good meeting document off the back of the transcripts and creating the "gold standard" that we'd use.

          I'm going to gloss over a lot here as I'd rather not detail it as it relates to some propriatary stuff that I had to work through, but you basically pair the transcripts together and run the training.

          At the verification stage, there was pretty much 3 things:

          1. "just" do some regex string matching to see if there's any of the source transcript key facts in the output to ensure fact preservation. Same with owner fabrication (who said what), I don't want something attributed to someone when it wasn't them that said it and then finally markdown validation.

          2. Using codex/claude to validate the transcript and output from the model - I used the latest frontier models, probably overkill for my task, but they were good at the job

          3. Finally me going through some actual recordings of myself, groups, meetings and manually verifiying the output

          So a fair bit of work, and for context I'm on version 10 now, so it's been a journey!

    • thot_experiment 3 hours ago
      I don't know about this model, but the next one up, the 31B I've been using as an agentic coding assistant in OpenCode, and basically anything that's easy enough that I'd trust Sonnet to handle, I trust Gemma 4 to handle and it's been doing a great job, it surprises me positively much more often than negatively. I not infrequently run into situations where Gemma 4 fails to do the task and I switch to Opus 4.7 and it fails also.
    • quickthoughts 4 hours ago
      I use small models like Gemma to improve transcriptions from ASR models amongst other micro-tasks. I actually built out a fine-tuning whisper pipeline with all local (smaller) models meaning no cloud/big-tech co is able to train/sell my (private) data.

      Repo is https://github.com/Rebreda/listenr - mainly geared toward Whisper fine-tuning, AMD hardware and local inference

    • pilooch 1 hour ago
      Yes, all my emails gyer sorted out by a finetuned gemma. There are turned into images passes to the model, as multimodal is so practical.
    • OtherShrezzing 3 hours ago
      I use them for research on new features. If my feature is going to interact with a frontier language model in prod, I start with these free local ones which are all competent enough to produce structured output, make tool calls, interact with mcp etc. I don’t care much for the content at the early phase of engineering, I care about the schema & failure modes.

      Then when I’m getting close to feature-complete, I’ll move to a hosted frontier model for the final integration.

      Cost savings are enormous if you’re making dozens of calls to language models a minute.

    • mhitza 5 hours ago
      In theory, locally you'd use these where lossiness is acceptable for audio transcription and image labeling (as simple examples).

      In practice I haven't got around to building something around multimodality since I'm primarily using their text generation capabilities.

    • Aachen 6 hours ago
      "Small" models are the ones I can run myself on my own terms. LLMs aren't useful enough for me to justify spending hundreds of euros on a GPU with 16GB VRAM or something, and that's assuming I have the rest of the desktop just laying around. Back when I checked (before the RAM price hike), these models weren't meaningfully better than 4-8GB ones anyway, you'd have to go for the top tier cards at 24 or 32 GB iirc to get something vaguely in the direction of the SaaS versions, and that was absolutely out of my budget. Even if that changed, so have hardware prices so it'd probably still work out the same
    • SwellJoe 1 hour ago
      I've used Gemma for reviewing and categorizing my writing online over several years (~5 million words across a forum for an OSS project I work on, HN, reddit, etc.), experimenting with training LoRAs (again, on my own writing, since I don't have to worry about ethically sourcing the data if it's all mine), and I'm currently using it to perform web searches and extract data about a specific type of business. It's plenty smart to use a web search MCP to find all the businesses of the right type in a given city, read their website, extract business address, phone number, etc. among other things, and de-dupe and cross-check other sources.

      I found Gemma 4 to be better, or at least more nuanced, than Gemini 2.5 Flash. And, the new Gemini 3.5 Flash is very good but is unrealistically expensive (ten times more expensive than DeepSeek or MiMo). So, since I don't need extremely fast performance, a self-hosted Gemma 4 wins for a bunch of stuff.

      I've also found Qwen 3.6 27B to be shockingly good at finding security bugs for its size. It beats several larger models, and is close to Gemini Pro 3.1 (but Gemini 3.5 Flash surprisingly beats it soundly). Since it only costs electricity, and my electricity is cheap and 100% renewable, I can use it more broadly than I might otherwise use a hosted model.

      All that said, the smart money is still on buying the subsidized tokens from the providers that offer them, rather than buying the hardware needed to run models that are 30+GB in size, as all of the ones I've been using regularly are (8-bit quantization, as they get a little dumber for every bit you drop below that). A $100 subscription to Claude or Codex currently provides access to the best models at a heavily discounted rate. And, DeepSeek/MiMo are extremely cheap, one or more orders of magnitude cheaper than the top models from Anthropic or OpenAI, if you need an API for automated usage. I spent about $4000 on my two inference machines (a Strix Halo with 128GB unified RAM, and a new desktop build based around two cheap old 32GB AMD data center GPUs), which buys a lot of tokens for tiny models like this...probably a couple/few years worth. But, I like tinkering, so having an excuse to play with hardware is its own reward. If it happens to pay me back some of that money, that's a bonus.

      Of course, as the major providers decide they need to ring the cash register and stop burning money on subsidized tokens, that math may change, and I may find I'm grateful to have already bought this stuff before the RAM prices made everything 2-3x more expensive.

      But, I think if you're not interested in learning about the technology and doing your own training experiments and such, you should probably not try to run stuff locally most of the time.

      • ai_fry_ur_brain 1 hour ago
        So one of thr things you're using it for is to generate leads to spam businesses with unwanted LLM produced marketing materials it sounds like.

        Wow LLMs are changing the world, what a utopia.

        • SwellJoe 52 minutes ago
          > So one of thr things you're using it for is to generate leads to spam businesses with unwanted LLM produced marketing materials it sounds like.

          You don't know me. And, no.

    • Xiol 6 hours ago
      I've yet to see someone answer a question like this with a decent, useful answer.
    • airstrike 4 hours ago
      This is one https://post.bot/
      • bensyverson 4 hours ago
        What model is it using?
      • ai_fry_ur_brain 1 hour ago
        Why would I want an AI receptionist. A human receptionist is about 1000x more careful, caring and intentional.

        They are charging $15.00 an hour for an llm powered assistant. Like wtf, how do these people think that's a valid business model. This will 1000% annoy every customer that uses it. I hate this timeline so much.

        • airstrike 52 minutes ago
          No, this is a phone service. They charge $0.25 per minute on the phone on a call that would otherwise not connect.

          Can you call a receptionist at 10pm and book an appointment? Or ask for directions? What if it's 10am and she's already on the line with someone else and you just want to ask if there's parking?

  • jamwise 49 minutes ago
    "Small enough to run locally with just 16GB of VRAM or unified memory"

    With many laptops dropping back down to 8GB because of the memory shortage there's some interesting pressures building in the industry.

  • dwa3592 6 hours ago
    This is a pretty good update. The demo video is a bit funny though - the tester asks to turn the release into bullet points. okay, the model obliges. then the tester says draft an email with this content. BAM! the LLM turns the content from bullets to passages even though it was not asked and it undid the last good thing that it did. i am not sure if it's an email etiquette to not put bullets in the email.
  • julianlam 4 hours ago
    Last time I tried Gemma 4 (26B-A4B) its memory usage would balloon and consume all of my swap until my machine died.

    Qwen 3.6 on the other hand barely uses any memory at all for its KV cache.

    • verdverm 4 hours ago
      Turns out when you block people from the best and biggest hardware, they get innovative. It reminds me of the Pentium days when everyone was shipping inefficient programs because the processor would be better next year.
      • iknowstuff 55 minutes ago
        we never stopped doing that!
  • scirob 3 hours ago
    Quickly deployed it to check some benchmarks relevant for German language. These are results for CohereLabs/include-base-44 german only : Gemma 4 12B %61.9

      Gemma 4 26B (a4b MoE)    0.647
      Qwen 3 14B               0.621 
      Gemma 4 12B              0.618
      Ministral 14B 2512       0.604 
      Gemma 3 12B              0.547
    
    The quwen 3 14B vs Gemma 4 12B difference is within random variance they same in some repeat runs they actually got the exact same score. Next step up Gemma 4 31B gets 0.676 on this. Or let in some reasoning Qwen 3 14B (reasoning) 0.676.

    I'll run some cheat-proof benchmarks ones tomorrow see if qwen is still on top.

  • foota 1 hour ago
    It feels like this would be beneficial to give the model more of a deep understanding of visual knowledge.
  • nickandbro 6 hours ago
    Wow Google is becoming the new pre Llama 4 Meta when it comes to releasing open weights models.
    • embedding-shape 6 hours ago
      I dunno, feels a bit unfair to companies that actually do FOSS releases (Gemma 4 being released under Apache 2.0 license) to compare them to a company that never done any FOSS releases, and mostly done proprietary "available to download" releases.
      • seba_dos1 6 hours ago
        Note that a binary released under Apache 2.0 license does not yet make it FOSS.
        • embedding-shape 6 hours ago
          Agreed, miles ahead though from "proprietary" which is what Meta been using for most model releases.

          Ideally companies would share the fucking datasets and training code already, but no, no one wants to talk about the source of those or even share the ones they have as then who knows what comes out of Pandora's box...

          • jimmy76615 1 hour ago
            NVIDIA does a pretty good job on that front.
    • redman25 6 hours ago
      IDK this model release is a bit disappointing considering the community has been chomping at the bit for the 124ba4b model. There was some leaked info about it but people suspect it was not released because it was too close to gemini flash in performance.
    • brianwawok 6 hours ago
      Every other Google model I have tried felt very weak compared to qwen models. I dont have a ton of use case for multimodal though, so its very possible this is a fantastic multimodal model.
      • wongarsu 5 hours ago
        Gemma 4 27b and 32b feel pretty capable for text and visionn. Comparable with qwen, maybe a bit better on tool calling heavy tasks

        I am not overly impressed with the smaller gemma models. And gemma 3 was a bit of a mixed bag, great at some things, bad at most others

      • thot_experiment 3 hours ago
        Hard disagree, Qwen multimodal is way better than google's, but Gemma 31b runs laps around Qwen 27B in complex engineering tasks. Maybe Qwen is better at slopcoding web framework CRUD, but for embedded dev there's no comparison.
      • verdverm 3 hours ago
        qwen3.6 was my favorite, then I tried the deepseek-v4-{flash,pro}

        still making my way through deep dives on the chinese open weights, they are all pretty good and way more cost / resource effective

  • christina97 3 hours ago
    It seems worse in all aspects to the 26B A4B? I would have thought dense models beat MoE still on many benchmarks?

    Is the entire point of this model then that it runs if you don’t have enough GPU memory to load the 26B? That one runs faster anyway due to lower active params.

  • lxgr 6 hours ago
    Am I missing something or are the Ollama versions of this (https://ollama.com/library/gemma4/tags) text-only for now?
    • philipkglass 5 hours ago
      Since ollama has diverged from llama.cpp, it will take a bit of time for ollama to support multi-modality. If you're using plain llama.cpp it looks like a PR has already merged for this model with vision and audio support:

      https://github.com/ggml-org/llama.cpp/pull/24077

      • zozbot234 5 hours ago
        They've actually gone back to (a lightly patched) llama.cpp with the 0.30 release a few weeks ago, and have now vendored-in an up to date release. Needless to say this is great news for both projects!
    • lxgr 2 hours ago
      To anybody else wondering: Seems like the models supporting image input are just starting to show up. https://ollama.com/library/gemma4:12b-mlx now shows as supporting it, but curiously the overview on https://ollama.com/library/gemma4/tags still lists it as text only. Cache invalidation remains difficult :)
    • satvikpendem 5 hours ago
      Just use llama.cpp or Unsloth Studio which wraps it, I don't know why anyone use Ollama anymore.
    • Jabrov 3 hours ago
      Stop using ollama
    • thot_experiment 3 hours ago
      Ollama is a shitty project that steals from the open source community, don't use it, use llama.cpp instead.
  • thomasjb 4 hours ago
    Unfortunately there's no gguf quants of the assistant model yet: https://huggingface.co/models?other=base_model:quantized:goo...
  • Zambyte 6 hours ago
    Is this Mac only? Or is that an Ollama issue that it only supports this release of models on Mac? It seems like every tag with the MLX badge is only supported on Mac[0], and that includes all of the tags in this release.

    [0] https://ollama.com/library/gemma4/tags

    Edit: MLX being Mac-only is independent of the model being MLX (and therefore Mac) only. The latter is what I am asking about.

    • embedding-shape 6 hours ago
      MLX is quite literally macOS-specific technology, for other platforms you want non-MLX.

      I was sure "MLX" stood for "Metal-something-something" but can't find any reference to that somehow, anywho, "Metal" is hardware-accelerated graphics on Apple platforms FWIW.

      Edit: about the actual release on Ollama, if you're on non-Apple hardware you probably want the NVFP4 variant ("gemma4:12b-nvfp4") which was uploaded 45 minutes ago, especially if you're with a recent nvidia GPU.

      • Patrick_Devine 2 hours ago
        I realize this is a little confusing; we're working w/ the MLX team to bring MLX to other platforms, but we're not quite there yet. The `gemma4:12b-nvfp4` model is specifically for the MLX engine.

        For the GGUF 4bit variant (i.e. non-macs) you'll need `gemma4:12b-it-q4_K_M` which I just pushed. You'll also need to upgrade to version 0.30.4 which we're just about to release (it's in prerelease and we're running through our last regression tests).

        • embedding-shape 58 minutes ago
          I gotta say, having both "gemma4:12b-mlx-bf16" and "gemma4:12b-nvfp4" be MLX-specific, and not labeling all of the MLX-specific ones as such, is a bit different than "little confusing" and more "set up to be confusing" :)

          > You'll also need to upgrade to version 0.30.4 which we're just about to release

          Interesting, wasn't Google coordinating today's release with you? Considering the blog post seems to have gone out way before the release even been cut.

          • Patrick_Devine 48 minutes ago
            Given the model was just republished by Google 15 minutes ago and we're going to have to redo everything (and everyone will have to redownload for all platforms -- not just Ollama), I'll just say that sometimes things don't work out exactly the way you want them to. :-D

            That said, I think the gemma4:12b-nvfp4 model is pretty solid. It's been tuned with Nvidia's model optimizer. I've been waiting on the results for MMLU-Pro, but I'll have to retrigger that after reconverting.

      • sambaumann 5 hours ago
        I still get "this model requires macOS" when trying to pull that one
    • jw1224 6 hours ago
      MLX is Apple’s own machine learning framework, designed for Apple Silicon: https://opensource.apple.com/projects/mlx/
    • Zambyte 2 hours ago
      The non-MLX versions just dropped on Ollama. gemma4:12b-it-q8_0, gemma4:12b-it-bf16, etc.
    • accountrequired 4 hours ago
    • jasonjmcghee 5 hours ago
      There's a CUDA backend for MLX now. Not sure about the maturity.
  • 4k4 1 hour ago
    I'm actually thinking how much this is bett3r (besides multimedia) over prismml's 1.5bit model based on qwen2.5 or sth.
  • SubiculumCode 2 hours ago
    "Laptop ready: Small enough to run locally with just 16GB of VRAM or unified memory." I wish. I just have 12.
  • anonova 4 hours ago
    Do Gemma 4 models compete with Gemini 3.1 Flash-Lite? I would assume even the smallest Gemini model would outperform even Gemma 4 31B, but I can't really get a sense of performance or output quality difference.
    • mchusma 4 hours ago
      Gemma 4 31b outperformed Gemini 3.1 Flash-Lite in our app benchmarks (agentic tool use via api in our application as a part of various workflows). But google won't let you pay to use Gemma models, you have to go elsewhere, I think this may be because it would cannabilize Flash-lite.
      • verdverm 4 hours ago
        You can actually get the gemma-4 models on a per-token API basis, you just have to click some extra buttons (in GCP). Not the same for other open weight models. For those they make you run your own hardware.

        Use OpenCode Go instead: https://opencode.ai/go

        • _puk 2 hours ago
          That doesn't have the Gemma models by the looks
  • RandyOrion 5 hours ago
    A small dense multimodal model with audio support, interesting.

    Wait, *Excluding Chinese language.

    This is ... curious.

    P.S. Where is gemma 4 124b?

    • kylehotchkiss 4 hours ago
      Where are the computers we could purchase to run 124b models :’(
      • thot_experiment 3 hours ago
        You can get SXM V100s for like $100 off ebay, if you're willing to do the troubleshooting work to get em running with adapters you can build a computer capable of fitting a Q4 quant of a 120b model in VRAM for something like fifteen hundred dollars. (assuming you already have some RAM sticks laying around T___T)
  • __natty__ 4 hours ago
    It’s fascinating for me to see how small language models grow recently in capabilities while still consumer friendly in size to run on their machines
  • randomNumber7 6 hours ago
    > Novel unified architecture: No multimodal encoders. The vision and audio inputs flow directly into the LLM backbone.

    I would be interested in how this actually works. I couldn't find a description of the model architecture (and I did check the links in the Google blog)

    • spott 5 hours ago
      https://newsletter.maartengrootendorst.com/p/a-visual-guide-... (in a link from here: https://developers.googleblog.com/gemma-4-12b-the-developer-..., which was linked in the text of the post, but not the linkdump at the end).
    • toldnotmywrath 5 hours ago
      My understanding is that early (and most extant) visual language models have a component module (called the image encoder) that transforms images into representations (called embeddings) the model's inner layers can process.

      This is often a separate module grafted onto the main model, and further pre-trained (e.g. OpenAI's CLIP, SigLIP used in the Gemma 3 and PaliGemma series).

      The image encoder approach has a few problems.

      One problem is that many like Gemma 3's encoder have fixed image resolution constraints and inputs must be resized with all the attendant distortions that causes with spatial understanding. However, the Gemma 4 series image encoders overcame this and can handle variable-dimension inputs.

      Two, these image encoders are somewhat large (ranging from 300-500M parameters) requiring extra memory and FLOPs to run.

      Three, say we need to fine-tune a vision language model, updates to its weights, may affect its understanding of the representations generated by the image encoder if we don't fine-tune both together.

      The new Gemma-4-12B replaces the encoder (with its many attention layers and large parameter count) with a simple linear projection to generate the embeddings for images. That reduces the computational requirements and simplifies the input pipelines for image processing.

      I don't have any expertise on the topic though and might very well be wrong on some details.

  • Havoc 6 hours ago
    Quite a niche release. The MoE outperforms it on score and will likely be faster thanks to lower active weights. So this really only makes sense for specific ram constrained applications that can’t fit a quantized MoE
    • dist-epoch 6 hours ago
      The un-quantized MoE outperforms it.

      But between same (V)RAM requirement 4 bit 26B-A3B and 8 bit 12B it's unclear which one will win, especially given one is MoE and the other dense.

      All the launch benchmarks are at 16 bit.

  • zkmon 4 hours ago
    It's quite interesting to see the quants pour into the HF page. I keep refreshing it and see many new quants every few mins.
  • spott 5 hours ago
    Is there a paper on this?

    I'm curious how they pre-trained it... I feel like it must have had audio/image output that they chopped off.

    I wonder how hard it would be to add it back on.

    • joaogui1 5 hours ago
      I mean Claude is multimodal on input but not output, why couldn't this also be?
  • semiinfinitely 4 hours ago
    Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away
  • adt 2 hours ago
  • comma_at 5 hours ago
    Are there qwen or minimax or other open weight models of same hardware requirements that outperform this?
  • zuminator 6 hours ago
    How does it compare with e4b, aside from being larger?
  • dyauspitr 2 hours ago
    Just tried this out. Jesus Christ. Google does some things so well.
    • SwellJoe 1 hour ago
      I mean, they did invent the technology. It's actually kinda surprising they're not the leader in the space. They kinda got Kodaked (though the story is still playing out, and I guess they're still somewhat competitive in the space even if Anthropic and OpenAI are the leaders).
  • BiraIgnacio 6 hours ago
    using an embedder instead of a decoder is quite clever. Not sure who came up with that first but it's a cool idea.
  • SuperV1234 4 hours ago
    How does this compare to frontier models?
  • zkmon 5 hours ago
    I'm waiting for FP8 quant, preferably from Google.
  • powera 4 hours ago
    I'm seeing very low quality results on LMStudio with this model. Worse than Gemma 3 12B.

    It is getting questions like "David has 18 apples and Ivan has 7 apples. How many apples do they have together?" wrong half the time, while Gemma3 12B could very consistently answer that. Other smoke tests (like Chinese translation, and the infamous "Rs in Strawberry" test) also show poor results.

    I don't know if it is a quantization/release issue, if the parameters needed for accurate responses have changed (i.e. it needs "thinking" tokens to handle its base error rate), or if the model has been so focused on audio/video that the text processing is bad.

  • claysmithr 6 hours ago
    I don’t see the download in lm studio
  • mlmonkey 5 hours ago
    Is there some place where we can try it before downloading the gigabytes of weights?
  • jdelman 6 hours ago
    I can’t help but wonder if this is the basis of the model they’ve helped tune for Apple.
  • kordlessagain 4 hours ago
    Cool!
  • Lapsa 4 hours ago
    [dead]
  • digdugdirk 6 hours ago
    I do enjoy the immediate out of touch signaling with the "runs on your 16gb vram laptop" line. Because everyone has a laptop with 16gb vram, or can just pop out and buy a new one, right?
    • SwellJoe 1 hour ago
      They already provide E2B and E4B that run on (much) smaller devices, including tablets and phones. This fills the gap in the middle. The bigger Gemma 4 models are excellent for their size, but at 8-bit quantization they need about 64GB of VRAM or unified memory. 48GB for 6-bit. Any lower quantization than that, they start to get notably dumber. So, a 12B is interesting for that middle ground.
    • vehemenz 5 hours ago
      This comment has me a bit confused.

      Consumers were complaining about the standard 8GB with the early 2020 refresh of MacBook Pros, many OSes ago. Sure, it might be workable for many tasks (as evidenced by the recent sales of the MacBook Neo), but users with a mere 8GB shouldn't have expectations of LLM performance. Even 16GB feels like a stretch.

      • NekkoDroid 5 hours ago
        I think you are mixing up RAM and VRAM.
        • Schiendelman 5 hours ago
          On a Mac they are the same thing; they're shared. Of course you need some amount for the OS, but if you have an Apple Silicon Mac with 24GB of RAM, you can likely run a 16GB model.
        • crims0n 5 hours ago
          They are effectively one and the same on Apple Silicon.
          • NekkoDroid 5 hours ago
            Which most people as a matter of fact don't use. A majority of people with laptop have separate memory pools and the VRAM of them is nowhere near that and even on most gaming laptops you aren't getting 16GB VRAM.
            • fredzel 3 hours ago
              > A majority of people with laptop have separate memory pools

              Majority of people with laptop have RAM and igpu using some of that as VRAM.

            • mrkstu 4 hours ago
              I would say on this forum it wouldn’t be suprising for commentors to be near or above 50% that have access to an M Series Mac…
      • utternerd 5 hours ago
        Unified Memory or VRAM, not just RAM.
    • mdp2021 1 hour ago
      Surely they must know the current hurdles, but clearly they know that all the relevant people are monitoring the market for the proper hardware to get and 16GB will be an entry point.
    • claysmithr 5 hours ago
      I have 24 gb unified memory so it’s a good model for me