Intro
What if I told you that you could run a powerful AI model right on your own computer, completely free, no internet required, and no data ever leaving your machine? That's exactly what Google just made possible with Gemma 4, their brand new OpenAI model that just dropped a few days ago. In this video, I'm going to show you what Gemma 4 is, why you might want to use it, and how to exactly get it up and running on your computer step by step. And if you're not ready to install anything yet, I will also show you how you can try it right now on your browser first. No downloads needed. Let's get into it.
What is Gemma 4?
Gemma 4 is a family of AI models made by Google. Think of it like a smaller portable version of the technology behind Google's Gemini. The big difference is that Gemma 4 is designed to run locally, meaning right on your computer, your laptop, even a Raspberry Pi.
Now, here's the part that matters to most people. When you use something like ChateBT or Claude or Gemini online, your questions and data get sent to a server somewhere in the cloud. With Gemma 4 running locally, everything stays on your machine. Nothing gets sent anywhere. That's a big deal for privacy. And it's completely free. No subscription, no API key, no usage limits. You download it once and use it as much as you want.
Model sizes explained
Now, it comes in four different sizes. I want to quickly break these down because it will help you decide which one to use. The first two are the small ones, E2B and E4B. These are designed for phones, tablets, and laptops with limited resources. The E2B models can run on as little as 5 GB of RAM.
Then you have the 26B model. This one uses something called a mixture of experts, which basically means it's a big model, but only activates a small portion of itself at a given time. So, it punches way above its weight. If you have a decent desktop with 16 to 20 GB of RAM, this one's worth trying.
And finally, there's the 31B model. That's the full-size flagship. You'd want a machine with at least 20 gigs of RAM or a dedicated GPU for that one. For most people watching this, I'd recommend starting with the E4B model. It runs well on most modern computers and gives you a great sense of what Gemma 4 can do.
Image and audio capabilities
One more thing worth mentioning, Gemma 4 is not just a text model. It can also understand images. So, you can feed it a photo or screenshot and ask questions about what it sees. The smaller E2B and E4B models can even process audio.
Trying Gemma 4 in Google AI Studio
Now, before we install anything, let me show you the fastest way to try Gemma 4 right now in your browser. Head over to aistudio.google.com. I'll put the link to it down below in the description. You'll need a Google account to sign in, but it's completely free.
Once you're in, you need to look for the model selector. I'm going to open up the side panel up here and click on it. Yours might be on by default. In my case, I'm going to click where it says Gemini 3 Flash. You can see all the different model selections here, and Gemma is right here. Notice I have the 26B option. I also have the 31B option. I'm going to go ahead and select Gemma 26B.
Testing prompts in AI Studio
Now let's test it out with a few prompts so you can see what it's capable of. I'm going to give it this prompt to start: "Explain how a mortgage works as someone who's never bought a house before. Keep it simple and practical." Send prompt. You can see it gives a very clear, well-organized answer. No jargon, just a straightforward explanation.
Let's do another quick test: "Write a professional but friendly email declining a meeting invitation because of a scheduling conflict. Keep it short." A few seconds later, I get three different options, all very short and to the point, so I can copy and paste them.
Image understanding in AI Studio
All right, let's try an image. I'm going to upload this receipt that you see right here. I'm just going to drag it over. And I'm just going to say this: "What information is shown in this image? Summarize the key points." I wonder if they'll tell me about the tip. And just like that, it reads and interprets the image for you. This works with charts, screenshots, handwritten notes, documents, all sorts of things.
So that's Google AI Studio. It's a great way to test things out, but the real power comes when you run it locally on your machine. So let's go set that up now.
Installing Ollama
To run Gemma 4 on your computer, we're going to use a free tool called Ollama. Ollama makes it really simple to download and run AI models locally. No coding experience needed.
Head over to ollama.com and click the download button. You'll see the options for Windows, Mac, and Linux. If you're on Windows, download the installer, run the .exe file, and follow the prompts. It's a standard installation that goes through next, next, finish. If you're on a Mac, download the zip file, unzip it, and drag the Ollama app into your Applications folder. If you're on Linux, you can install it with a single command in your terminal.
Once it's installed, open Ollama. You'll see it as an app on your computer. It might be open by default after you install it. You're going to see a clean interface that looks like ChatGPT or any other AI chat tool you've used before. There's a message box right here, and over here we can select a model.
Downloading Gemma 4 in Ollama
Here's the exciting part. We're going to click on this model button, and you'll see a drop-down with a search bar at the top and a list of all the available models. If I look for the Gemma ones for four, I don't see that yet, so I'm going to do a search. I'm going to type Gemma and add the number four. Here we go. I have a download button right beside it. I'm going to click on it.
With this, I'm not sure if anything is happening or if it's running in the background. So what I'm going to do is go to my search, look for Command Prompt, and open it up. I'm going to type in "ollama pull gemma4" and hit enter. At this point, it will show me where it is in the download, or start pulling it if it wasn't before. This is getting it installed on my computer. The size is quite large, at 9.6 GB.
Okay, it looks like everything is finished downloading. I have success. I want to point out that I just did the default one when I put in that command. If I wanted a specific size, like the 31B, I'd have to type something like "ollama pull gemma4:31b," or the E2B or 26B depending on which one I wanted. I just chose the default.
If I open Ollama and position this a little better, I have Gemma 4, and the download is gone from here. So I'm ready to give it a test. For reference, I'm running this on a Lenovo Legion T7 with 32 gigs of RAM and an RTX 4080 GPU, but you don't need anything close to this. The default model runs fine on most computers with 8 gigs of RAM.
Testing Gemma 4 locally
All right, let's put Gemma 4 through its paces with some real prompts so you can see what it can do running right here on my computer. I'm going to start with this: "Write a parent-friendly explanation of why screen time limits matter for kids age 8 to 12. Keep it under 150 words."
Notice it's generating the response right here in the app. The speed will depend on the hardware. If you have a GPU, it will be faster, but even on just a CPU, it works. It just takes a little longer. There we go. It thought for about 3.8 seconds, and we have a list of reasons why we shouldn't let kids that age use screens so much.
Let's try another quick one: "I have a meeting with my principal about next year's budget. Give me five smart questions I should ask to advocate for my technology funding in our school." A few seconds later, I have the equity and access question, a bit of information, the professional development question, and the infrastructure question, and I have four and five. There's also a pro tip for delivery.
Okay, let's test how it reads images. I'm going to use the exact same image I used in Google AI Studio. I'll drag it in, ask the same question, and submit. And look at that. It read the picture: business name, location, transaction details, items purchased, and cost. Everything is right there, and it came back fast.
Let's give this one a try: "Write a simple HTML page with a button that changes the background color to a random color each time you click it. Include the CSS and JavaScript in the same file." I took the code it produced, pasted it into Notepad, saved it as an HTML file, and opened it. Let's click the button. Every time I click it, the background changes, doing exactly what I asked it to create.
Coding test
Okay, let's give this next prompt a try. This is the type of reasoning test that really shows what a model can do. It has to do math, optimize, and explain its thinking. Let's submit it.
Okay, let's see how it did. The thing I want to point out with this question is the "no empty seats" constraint. This is a classic optimization problem about cost efficiency. It broke it down first, working out the per-student cost for bus versus van. It also reasoned that since you cannot purchase a fraction of a bus, you must round up to 12 buses. It came out at $3,300, which is correct: 275 times 12, and that would get everybody there.
But the no-empty-seats condition is where it struggled. It says it's mathematically impossible to transport exactly 450 students with no empty seats under those numbers, and it gives a minimum-cost solution that transports at least 50 more. I know it's possible, for instance with nine buses and nine vans. So we're having a bit of an argument here about the cost-effective solution versus what the question asks. I'm okay with that, since it understands the total does equal 450. When I put this into Gemini Pro, it comes back with nine buses and nine vans. It's a different way of thinking about it, but it's still doing the math and breaking everything down for you.
Reasoning and math test
If you want to run these same questions inside Command Prompt, you can. Open Command Prompt and run Gemma 4, and that starts it running. Then you can give it a prompt. If I give it one of the same ones as before, like "I have a meeting with my principal," I can hit enter and watch it work through the process, just like in the Ollama app. When you're finished, type /bye.
Running Gemma 4 from the command line
So that's Gemma, a free open AI model from Google that you can run right on your own computer.
Recap and next steps
To recap what we covered, we looked at what Gemma is and why it matters. We tried it out in Google AI Studio without installing anything. Then we installed Ollama, downloaded the model, and ran it locally with several different types of prompts, including image understanding.
If you want to take this further, try downloading a larger model size. If you have a more powerful machine, the 26B model gives you a noticeable jump in quality, especially for complex reasoning and longer writing tasks.
I'd love to know in the comments: what would you use a local AI model like this for? Is it the privacy, the cost savings, or just the idea of having AI available offline that interests you most? Thanks for watching this week on Teacher's Tech. I'll see you next time with more tech tips and tutorials.
