📱

Get Our Mobile App

Take your business learning on the go!

Download on the App StoreGet it on Google Play

Claude Code + Ollama = Free Claude Code (Full Setup)

Kevin Badi | AI Operating Systems 11:30

Transcription

Enthropic, enthropic, enthropic. You done goofed up. So just last night as I was vibe coding with my OpenClaw agent, it notified me of an email that we received from the Enthropic team saying that all of the third party harnesses like OpenClaw and the Hermes agent are not going to be allowed to use the Claude Code plans that we're running all of our workflows on. And this pissed off the entire community, myself included.

But the crazy thing that's happening in AI is that open-source models are becoming just as powerful as these closed-source models that we're paying for. And in this video, I'm going to show you guys how I got Cloud Code set up with the most powerful open-sourced model that uses 100 billion parameters, and I got it set up for free. In this video, I'm going to show you exactly how I did that so we can all set up our Claude Code system without paying Anthropic as a little jab to them for treating us so poorly.

And the reason why I have to make this video today is because I've been using my Cloud Code system with these open-source models that I'm going to show you today. And the performance is literally the exact same. And my promise to you is that in this tutorial, you're going to be able to follow along using any type of hardware. Even the weakest toaster level hardware that you're running your system on will be able to follow along in this tutorial, which is honestly a massive game changer. And no one on the internet has shown you what I'm about to show you today.

So guys, let's jump right into the computer. Please like and subscribe to the channel if you want personalized help. Check the links down below. We have the no code academy and I also help people one-on-one with their AI agencies. But now, let's dive right in.

So, Enthropic may have banned OpenClaw, but this new setup is even better and it's 100% free. So, today's video overview is going to go through four chapters. We're going to talk about how this actually works. How do we actually run Cloud Code with a free AI model? From there, I'm going to break down what Olama is as an aggregator platform for us to access these different AI models and why they're so powerful. And there's also two types of AI models inside of Olama that we're going to talk about today, which is really important. I'll then explain what are the best free models inside of Olama for this. And we're then going to select the one that we're going to run and set up together. And then once we have our model decided and we understand everything we need to know about Olama, we're going to go ahead step by step and we're going to get Cloud Code set up with this model so that we all have Cloud Code running for free even if you're running your hardware on a toaster.

So how can we even run AI models that are free with Cloud Code? And the best example that I can give you is this plane analogy. So the plane is like the harness. It's the thing that actually carries all of the different components. It carries the people in the plane. It carries the fuel. It carries all of the different machinery that is needed to make this plane actually fly. But the core thing that runs the plane is the engine. And the engine is our AI model. So previously, right, we would be using Claude's AI models, whether it's Sonnet, Haiku, or Opus. And this was really cool because they also had their plan feature where we could use Claude through their plan instead of paying API credits so that we had the same bill every single month. But now we could just simply replace the engine of the Cloud Code harness with any AI model that we're running locally or in the cloud. And that's where Olama becomes so powerful for this use case.

Now what is Olama and what models are available inside of their platform. So Olama is a platform for running open-sourced large language models. All of the biggest open-sourced companies in the world are hosting their models on Olama from Gemma 4 to Quen 3.5 to Kimmy K 2.5. They all have different parameter sizes that we can then download onto our hardware.

Now, there's two types of ways that we can set up our agents using OAM. The first option is the local download option, which downloads an AI model directly onto your computer. And so while your computer can handle the size of the model, then it can run completely locally on your computer without an internet connection. So for basically everyone watching the video, anything smaller than 8 billion parameter model like the Gemma 4 billion parameter model will be able to run on basically all hardware. Now the limitations of this is that your tokens per second are going to be quite slow and sometimes the tool calling may be a bit buggy because it times out. And then the last problem with running this on local hardware is that your KV cache is going to start counting up.

But the massive breakthrough guys is that Olama also gives us a cloud hosted option to run the most powerful AI models for free in their cloud. So the Quen 3.5 100 billion parameter model is what I'm going to show you guys today. And if I wanted to run that locally, I would have needed like five Mac studios which would have costed tens of thousands of dollars. But using the cloud option, I can now have Quen running at its most powerful level completely for free and I can just connect that to Cloud Code. So that is a massive gamecher because that allows us to really use an AI model that is just as good or very close to as good as the leading edge models.

So let's go ahead guys. Let's play around with. Let me show you guys what it's about. And then we're going to select the model that we're going to be using today. So inside of the Olama dashboard, we want to head over to the top left corner. Select models. Now, this is where we can see all of the different models that are available to be used. And there's a couple things I want to break down before we look at all the specs. So, under each model description, we can actually see the different capabilities that it has, as well as the model sizes and whether or not this model is able to be hosted in the cloud, which is really important. So, for Gemma 4, for example, it has vision understanding, tool calling, deep thinking. It can understand audio and it can be hosted in the cloud. On top of that, there's four different models that we can run.

But if we scroll down, we can see one of the most popular open-source models, which is the Quen family of models. And in this example, we're going to be using Quen 3.5. 4.9 million people have pulled this model and are running it locally. It has vision, tool calling, and thinking, and it also has a cloud hosted service. And the craziest part about Quen is that we're going to be using the cloud service with the 122 billion parameter model, which means that the inference time and the speed at which the agent's going to be able to conduct its reasoning and do tasks is going to be lightning fast. And when you guys see how this thing works, you're going to agree.

So now, if we wanted to look at the capabilities of all of these models, all we would have to do is click inside of them. And in this use case, in this video, we're going to be setting up our agent using Quen 3.5. So let's open that baby up. So, inside of Quinn 3.5 and inside of any of the model drop downs, it's going to show you all of the available models, as well as the size that is needed to be downloaded onto your computer for this thing to run properly. If you want a deeper understanding of which local model that you can actually download onto your hardware, simply ask your Claude agent or your Gemini agent or your Chat GBT agent about the specs of your computer and then it'll help you understand which models you can actually run properly.

But what we're going to be doing, we're going to be accessing Quen through the 397 billion parameter model in the cloud. And that means we can run this insanely massive model with our Cloud Code harness completely for free.

So now guys, let's set up the Cloud Code harness with this free AI model. I'm going to walk you guys step by step. You can use VS Code, you can use cursor, anti-gravity, whatever IDE that you are most comfortable with, you can use. In this example, I'm going to be using cursor.

So, we've got our cursor environment set up. Now, the first step is to actually download or pull in the open-source model that we're going to be using. So, what we want to write inside of our terminal is o llama pull followed by a space. Then we want to go and find out of all of these models which one we actually want to run. And so in this use case, we're going to be running Quen 3.5 397B in the cloud. I'm going to copy that model name and we're going to add it to this command. From there, we just have to smash enter and it's going to start pulling in the model. And this happened at lightning speed because your computer is not actually downloading any information. It's connecting to the cloud model. And so if we were downloading a local model, this would have taken like 10 minutes.

And so now guys, that we have the Quen 3.5 cloud model installed, we need to actually get Cloud Code set up. And inside of Olama's website, it's giving us this command line to actually get Cloud Code set up with Quen 3.5. But the problem with this command is that when you do this command with the model itself, it's going to download the local model onto your computer. So since we already have the cloud model downloaded, we just need to run this command line here. So we're going to paste that in Olama launch cloud. And now it's going to show me all of the recommended AI models that it wants us to run this agent on as well as the model that we've already downloaded. So once you download Quen 3.5 cloud, you're going to be able to select it as the model for Cloud Code. And so now all I have to do is just smash enter. And there we go. We have a Cloud Code onboarding where it asks us, do I trust this folder? We're going to go yes. And there we have it.

So now I want to show you guys just how lightning fast this is. And what better test than to give it an entire project repository and see how fast it can actually understand it. So the project repository I'm going to be giving it is called my AI operating system skills. This is 51 agentic workflows that is built inside of my AI operating system business that I use to set up for all of my clients. And this is pretty intense, right? So what we're going to do is we're going to copy the code. We're going to send it over to Quen and we're just going to be like, you know, initialize this codebase and clone it and tell me the capabilities.

All right, so agent ran a bash command, pulled in the repository. So if we click the drop down now, we can see 51 agent skills and the goal now is to see how long it takes the agents to actually tell us what's inside of the repository, what it has access to, all of the different workflows. But we could see just like how Cloud Code typically performs and behaves, it's already asking me questions of like I want to, you know, touch this folder. Am I allowed to? I want to change a little bit of this code. Am I allowed to? So Quen has a really deep understanding of how Cloud Code's harness actually works. And that's why I'm recommending using Quen versus something like Gemma 4. Now Gemma 4 is really powerful, but with only 31 billion parameters and not being trained on Cloud Code's harness, this model for free is the best one on the market, hands down.

And so there we go. The agent also types really really fast, much faster than any Claude model. And here we could see that it went through the entire repository, cloned it, and the time that it took to actually do this was 59 seconds. If there's been other people that have shown you, you know, Cloud Code and open-sourced workflows, chances are they didn't show you a model that works this fast. And the most ironic thing is I don't even think that us as developers would have even entertained any of this if Anthropic wasn't so bad to the developers or to us using their API to actually build agentic workflows. This guys is the greatest hack I've seen this year. We have Cloud Code running for free using a ridiculously powerful 400 billion parameter model. It looks like this is just the beginning of the open-source tsunami.