TubeSum ← Transcribe a video

Google's Gemma 4: A Tiny Open-Source AI Model That Runs on Consumer Hardware

Transcribed Jul 14, 2026
Intermediate 4 min read For: AI enthusiasts, developers, and tech professionals interested in open-source LLMs and model compression.

AI Summary

Google released Gemma 4, a truly open-source large language model under the Apache 2.0 license, which is surprisingly small yet powerful enough to run on consumer hardware. The video explains how Google achieved this through innovative compression techniques like Turboquant and per-layer embeddings.

[00:00]
Gemma 4 Release

Google released Gemma 4 under Apache 2.0 license, making it truly free and open source, unlike other 'open' models with restrictions.

[00:30]
Size and Performance

Gemma 4 is small enough to run on a consumer GPU (big model) or even a phone/Raspberry Pi (edge model), yet achieves intelligence on par with larger models requiring data center GPUs.

[01:15]
Comparison with Other Models

The 31B parameter Gemma 4 scores similarly to Kimmi K 2.5 thinking, but Kimmi requires 600+ GB download and multiple H100s, while Gemma 4 runs on a single RTX 4090 with 20 GB download.

[02:30]
Memory Bottleneck

The real bottleneck in AI is memory bandwidth, not CPU power. Models must read massive weights from VRAM for each token generation.

[03:00]
Turboquant Technique

Google introduced Turboquant, a quantization method that compresses weights using polar coordinates and Johnson-Lindenstrauss transform to reduce memory without significant performance loss.

[04:15]
Per-Layer Embeddings

Gemma 4 uses per-layer embeddings (E2B, E4B models) where each layer gets its own small custom token embedding, introducing information exactly when useful, reducing overhead.

[05:30]
Practical Use

The model runs on Ollama with RTX 4090, suitable for fine-tuning with tools like Unsloth, but not yet replacing high-end coding tools like Code Rabbit.

Gemma 4 demonstrates that small, efficient models can rival larger ones through innovative compression, making local AI more accessible. However, for specialized tasks like coding, dedicated tools still outperform.

Clickbait Check

90% Legit

"Title accurately reflects the video's content about Google's surprising release of a small, powerful open-source model."

Mentioned in this Video

Study Flashcards (6)

What license is Gemma 4 released under?

easy Click to reveal answer

Apache 2.0 license

How does Gemma 4's size compare to Kimmi K 2.5?

medium Click to reveal answer

Gemma 4 31B requires 20 GB download and runs on a single RTX 4090, while Kimmi K 2.5 requires 600+ GB and multiple H100s.

01:15

What is the main bottleneck in running large language models locally?

easy Click to reveal answer

Memory bandwidth, not CPU power.

02:30

What is Turboquant?

hard Click to reveal answer

A quantization technique that compresses model weights using polar coordinates and Johnson-Lindenstrauss transform to reduce memory without significant performance loss.

03:00

What does 'E' stand for in Gemma 4 model names like E2B?

medium Click to reveal answer

Effective parameters, referring to per-layer embeddings.

04:15

What is per-layer embeddings?

hard Click to reveal answer

Each layer gets its own small custom token embedding, introducing information exactly when useful instead of all at once.

04:15

πŸ’‘ Key Takeaways

πŸ“Š

Gemma 4 is truly open source

First Fang company to release a model under Apache 2.0, setting a precedent for openness.

πŸ’‘

Size vs. performance comparison

Demonstrates that small models can rival large ones, challenging assumptions about AI scaling.

01:15
πŸ”§

Turboquant technique

Novel quantization method that could enable efficient local AI across many applications.

03:00
πŸ”§

Per-layer embeddings

Innovative architecture change that reduces memory overhead without sacrificing intelligence.

04:15

βœ‚οΈ Creator Tools: Viral Hooks

AI-generated clip ideas for Shorts based on the transcript

No viral clips found for this video, or they are still being generated.

Last week, Google did something that no other Fang company has had the balls to do. They released a large language model that qualifies as truly free and open source under the Apache 2.0 license. That means free as in total freedom, not openish, not research only, not please don't make money or we'll sue you. That model is Gemma 4, and my initial thought was, "Oh great, another half-baked open model that's technically free as long as you also

own a small data center to run it." But the craziest thing about Gemma 4 is that it's small. Like suspiciously small. The big model is small enough to run on a consumer GPU, and the edge model is small enough to run on your phone or Raspberry Pi while hitting intelligence levels that are on par with other open models that would normally require data center caliber GPUs just to run. That shouldn't be possible. And in today's video,

we'll find out how it works and look at some other crazy compression techniques developed by Google. It is April 8th, 2026, and you're watching The Code Report. To be fair, several other companies in the game and family have released open weight models. Like Meta's Llama models are quasi-free and open, but under a special license that gives Meta leverage to any developer that actually starts printing cash with them. Then we have OpenAI's GPT-OSS models, which are also

Apache 2.0 licensed, but they're bigger and dumber than Gemma. Outside of that, we basically rely on Mistral and the Chinese models like Qwen, GLM, Kimmi, and DeepSeek. Gemma 4 hits different though because it's made in America, Apache 2.0 licensed, intelligent, and most importantly, tiny. For comparison, the 31 billion parameter version of Gemma 4 is scoring in the same ballpark as models like Kimmi K 2.5 thinking. But here's the absurd part. I can run Gemma 4 locally

with a 20 GB download getting roughly 10 tokens per second on a single RTX 4090. But if I wanted to run Kimmi K 2.5, I'd be looking at a 600-plus GB download, at least 256 GB of RAM, aggressive quantization, and multiple H100s just to get it off the ground. Is Kimmi still a better model than Gemma? But there's no way in hell I'm going to run it locally. So the obvious question is how did Google achieve

this unbelievable shrinkage? Well, the answer is they didn't just shrink the model. They attacked the real bottleneck in AI, memory. To run a massive large language model locally, you don't need a better CPU. You need more memory bandwidth. Every time a model generates a token, it has to read through a massive amount of model weights in VRAM, which is the video random access memory on your GPU. It doesn't really matter how big the model is. It's

more about how expensive it is to read it. And this is where things get interesting because alongside Gemma 4, Google quietly dropped a research note on something called Turboquant, which sounds like a marketing buzzword, but it's actually kind of insane. It's a new approach to quantization, which is the process of compressing model weights so they take up less space. Normally, through this process, you get a simple tradeoff, a smaller model but worse performance. But Turboquant improves

this tradeoff with two steps. First, it compresses data that's normally in an XYZ Cartesian coordinate system into polar coordinates that include a radius and angle. Because these angles follow a predictable pattern, the model can skip the typical normalization steps and store information more efficiently, thus reducing memory overhead. Then it uses this mathematical technique called the Johnson-Lindenstrauss transform to shrink high-dimensional data by compressing it down to single sign bits, positive one, negative one, while preserving the distances

between these data points. Frankly, I'm too stupid to understand how the math actually works, but Turboquant is actually not the secret behind Gemma 4's small models. You'll notice that some of the Gemma 4 models have an E in the model name like E2B and E4B. And what that stands for is effective parameters because these models incorporate something called per-layer embeddings, which is like giving every layer in the neural network its own mini cheat sheet for each

token. In a normal transformer, each token gets one embedding at the start, and the model has to carry that information through every layer. And most of that information isn't needed. Per-layer embeddings changes that by giving each layer its own small custom version of the token. So information can be introduced exactly when it's useful instead of all at once. There's an incredible visual guide by Martin Groothuis that I'll link in the description if you want to dive

into more detail. The end result is a small, smart, and efficient model. I'm running it here with Ollama on my RTX 4090, and my initial impression is that it's a solid all-around model, and it would also be a great model for fine-tuning with your own data using tools like Unsloth. But if you're a programmer, it's still not good enough to replace any high-end coding tools like Code Rabbit, the sponsor of today's video. They just launched a

CLI update that lets it review all the code your agent writes, then tells it exactly how to fix any bugs it finds. You can enable this with a new {dash} {dash} agent flag, which turns Code Rabbit into a tool your agent can call directly. From there, it'll give your agent structured JSON with all of the issues plus instructions on how to fix them so your agent can go back and clean everything up before it opens up

a pull request. They also simplified the setup process and removed their rate limits so you can get started with a single terminal command and run as many reviews as your agents need. Try it out for free today using the Code Rabbit off login command and use it free forever on any open source project. This has been The Code Report. Thanks for watching, and I will see you in the next one.

⚑ Saved you time reading this? Transcribe any YouTube video for free β€” no signup needed.