Don’t pay for an AI coding assistant until you’ve tried running one locally


Models aren’t good enough to work on their own, especially with all the nuance in bigger projects. Even while avoiding usage caps on Antigravity, you still need to give it your whole project for it to work. Basically, it feels like the only way to get a reliable AI agent for programming is through a paid extension. However, instead of paying someone else, you should run your own AI.

Small models are a better idea for laptop users

If you have the equipment, go for it

Server running under a router from the front Credit: Jorge Aguilar / How To Geek

Most developers think running AIs needs a large server farm or an overpriced graphics card. When I talk to people about running local models, I usually hear complaints about not having a supercomputer to handle the heavy processing load. If you try to load a giant seventy-billion-parameter model on a five-year-old low-end laptop, your machine won’t work and give you words at a very slow pace. Standard processors have much lower memory bandwidth than dedicated graphics cards. This leads to big problems when moving data around.

Since the processor struggles to read the large files fast enough, generating a single line of code can take minutes. You have to run the model based on what you are working with. There’s a sweet spot where a local model is actually helpful instead of being a frustrating memory hog. For example, Qwen 2.5 Coder has models with 1.5 billion or 3 billion parameters. These sound like a lot, but they’re actually compact versions that need surprisingly little system memory.

A 1.5 billion parameter model compressed with quantization techniques takes up only about two gigabytes of memory, letting you run it smoothly alongside your code editor. You get the benefits of an intelligent pair programmer without needing an expensive dedicated graphics processor. When you use a model of this size, it can easily fit everything into your system memory.

Best of all, it’s only on your CPU. That was my biggest hurdle. I’ve got VRAM and a graphics card, but they aren’t competitive by any stretch of the imagination. By adding a small open-weights model to your local environment, you can have an assistant that doesn’t need an internet connection or a large hardware budget.

Setting up your local AI with GPT4All

This gives you more freedom than LM Studio

While I started with LM Studio, I’d recommend GPT4All as your localized chatbot, because I’ve noticed it is actually smoother. Just go to the GPT4All website, download the installer for your operating system, and run it. It doesn’t ask for any complex terminal commands or Python dependencies during setup. You’ll want to make sure your computer has a good amount of system memory.

You can do this with a spare server or by other means if you have them. It’s possible to run the smallest models with 8 gigabytes, but don’t try to use anything else at the same time. Once installed, you can go to the search bar right on the main screen to look up any model available from the Community Models Explorer tab.

For a CPU-only setup, finding the right model size and format is critical. You can’t load a massive model and expect it to run well without a graphics card. A good choice for coding on standard hardware is a smaller version of the Qwen2.5-Coder family, like the 1.5B or 7B instruction models.

When you search for Qwen2.5-Coder inside GPT4All, you’ll see a list of different quantizations. Quantization compresses the model weights so they’ll fit into your system memory more easily. The q4_0 quantization is typically the best balance of speed and coding capability, which means the model drops to a fraction of its original size while keeping the quality. You’ll just click the download button next to the file, wait for the download to finish, and the model will be ready to load.

However, before chatting, you should adjust a few basic parameters to get the model running well on your processor. Click the Models icon to open the local models view and select your downloaded Qwen model. On the right side of the interface, you’ll see hardware settings. Since you’re not using a graphics card, go to the Device menu and select CPU.

This tells the app to run all the computation layers strictly on your central processor. Next, you’ll need to adjust the context window, which is the model’s short-term memory that holds your code and conversation history. A context length of around 4096 tokens works well for CPU processing. If you set the context too high, the application uses up all your system memory and becomes painfully slow.

Keep everything local

I like to own my own technology

Since the model weights are stored on your local disk, it doesn’t need an internet connection to run. You get real-time code suggestions and chat features right in your development environment without paying monthly fees or sending your private code to an external cloud server.

I also make sure to use a separate older tower as a server. Plus, I use my router as a way to transfer the data. This was something I had lying around, and I have far too many Ethernet cables to count. While not everyone can use this technology today, most computers are built so that many people can. It didn’t take a supercomputer to program what I needed.

Debugging was what sold me on this idea, because I hate scanning text to find a small error. I would use regular AIs, but I don’t like having every AI know my projects and what I am doing. When a script fails or throws an unexpected error, you can paste the stack trace directly into the local chat window, and it stays on your computer.

The assistant can find syntax issues and point out logical flaws in a specific file. It explains the root cause of the bug and suggests code fixes you can add with one click. Just remember that if you want more power, it’s up to you to add whatever you need yourself.


We don’t need to spend any more money

With the rising cost of chips, new computers have gotten much more expensive. Fortunately, you don’t need a new model or to upgrade your setup. You just need your CPU and maybe some extra equipment if you want to get even more serious. Don’t pay another dollar to a cloud operator until you’ve tried it yourself.

UGREEN NASync DSP2800 thumbnail

Brand

UGREEN

CPU

Intel 12th Gen N-Series

Memory

8GB (Upgradeable to 16GB)

Drive Bays

2 x 22TB




Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews


The first time I encountered mesh Wi-Fi was when I went to university. One Wi-Fi password, but no matter where you roamed on campus you’ll stay connected. I’ve always thought of mesh networks as enterprise technology that you need an IT department to handle, but then router makers figured out how to make mesh easy enough for mere mortals.

Now I consider a mesh network the default for everyone, and if you’re still using a single non-mesh router you might want to know why. So let me explain.



















Quiz
8 Questions · Test Your Knowledge

Home Networking & Wi-Fi

Think you know your routers from your repeaters — put your home networking know-how to the ultimate test.

Wi-FiRoutersSecurityHardwareProtocols

What does the ‘5 GHz’ band in Wi-Fi offer compared to the ‘2.4 GHz’ band?

That’s right! The 5 GHz band delivers faster data rates but loses signal strength more quickly over distance and through walls. It’s ideal for devices close to the router that need maximum throughput, like streaming 4K video.

Not quite — the 5 GHz band actually offers faster speeds at the cost of range. The 2.4 GHz band travels farther and penetrates obstacles better, which is why smart home devices and older gadgets often prefer it.

Which Wi-Fi standard, introduced in 2021, is also known as Wi-Fi 6E and extends into a new frequency band?

Correct! 802.11ax is the technical name for Wi-Fi 6 and Wi-Fi 6E. The ‘E’ variant extends the standard into the 6 GHz band, offering a massive swath of new, less-congested spectrum for faster and more reliable connections.

The answer is 802.11ax — that’s Wi-Fi 6 and Wi-Fi 6E. Wi-Fi 6E adds support for the 6 GHz band, giving it far less congestion than the crowded 2.4 GHz and 5 GHz bands. 802.11be is actually the upcoming Wi-Fi 7 standard.

What is the default IP address most commonly used to access a home router’s admin interface?

Spot on! The vast majority of consumer routers use either 192.168.0.1 or 192.168.1.1 as the default gateway address. Typing either into your browser’s address bar will bring up the router’s login page — just make sure you’ve changed the default password!

The correct answer is 192.168.0.1 or 192.168.1.1. These are the most common default gateway addresses for home routers. The 255.x.x.x addresses are subnet masks, and 127.0.0.1 is your own machine’s loopback address, not a router.

Which Wi-Fi security protocol is considered most secure for home networks as of 2024?

Excellent! WPA3 is the latest and most robust Wi-Fi security protocol, introduced in 2018. It uses Simultaneous Authentication of Equals (SAE) to replace the older Pre-Shared Key handshake, making it far more resistant to brute-force attacks.

The answer is WPA3. WEP is completely broken and should never be used, WPA is outdated, and WPA2 with TKIP has known vulnerabilities. WPA3 offers the strongest protection, and if your router supports it, you should enable it right away.

What is the primary difference between a mesh Wi-Fi system and a traditional Wi-Fi range extender?

Exactly right! Mesh systems use multiple nodes that talk to each other intelligently, handing off your device seamlessly as you move around your home under one SSID. Traditional range extenders typically broadcast a separate network and can cut bandwidth in half as they relay the signal.

The correct answer is that mesh nodes form one intelligent, seamless network. Range extenders are actually the ones that often create separate SSIDs (like ‘MyNetwork_EXT’) and can significantly reduce speeds. Mesh systems are far superior for large homes with many devices.

What does DHCP stand for, and what is its main function on a home network?

Perfect! DHCP (Dynamic Host Configuration Protocol) is the unsung hero of home networking. Every time a device joins your network, your router’s DHCP server automatically hands it a unique IP address, subnet mask, and gateway info so it can communicate without manual configuration.

DHCP stands for Dynamic Host Configuration Protocol, and its job is to automatically assign IP addresses to devices on your network. Without it, you’d have to manually configure a unique IP address on every single phone, laptop, and smart device — a tedious nightmare!

What is ‘QoS’ (Quality of Service) used for in a home router?

That’s correct! QoS lets you tell your router which traffic gets priority. For example, you can prioritize video calls or gaming over a family member’s file download, ensuring your Zoom meeting doesn’t freeze just because someone is downloading a large update.

QoS — Quality of Service — is actually about traffic prioritization. By tagging certain data types (like VoIP calls or gaming packets) as high priority, your router ensures latency-sensitive applications get bandwidth first, even when the network is congested.

What does the ‘WAN’ port on a home router connect to?

Correct! WAN stands for Wide Area Network, and the WAN port is where your router connects to the outside world — typically to your cable modem, DSL modem, or ISP gateway. The LAN ports on the other side connect to devices inside your home network.

The WAN (Wide Area Network) port connects your router to your ISP’s modem or gateway — essentially your entry point to the internet. The LAN (Local Area Network) ports are for connecting devices inside your home. Mixing them up can cause your network to not function at all!

Challenge Complete

Your Score

/ 8

Thanks for playing!

Mesh Wi-Fi solves a problem most homes already have

The internet is no longer confined to one spot in your home

In the early days of home internet, there was no real reason to have Wi-Fi coverage all over your home. You installed the router in your home office, or near the living room, and that was enough. People didn’t have smartphones, tablets, or smart home devices that all needed access to the LAN.

As Wi-Fi devices proliferated, that central router became a problem. There’s only so much power you can push into the antennas, and the inverse square law drains that signal of power in very short order.

It was a problem that had many suboptimal solutions. Wi-Fi repeaters destroy performance, access points need long Ethernet runs, and Powerline Ethernet only works well in ideal conditions. Most older homes can’t provide that with their aging wiring. In short, trying to expand a central router’s reach has usually involved some janky mishmash of solutions.

A modern mesh router kit just solved that problem without any fuss. The biggest problem you’ll have is how to position them. Everything else is usually just handled automatically.

Brand

eero

Range

1,500 sq. ft.

Mesh Network Compatible

Yes

The eero 6 mesh Wi-Fi router allows you to upgrade your home network without breaking the bank. Compatible with the wider eero ecosystem, you’ll find that this node can either start or expand your wireless network with ease.


Mesh systems prioritize consistency over peak speed

Good enough internet everywhere

Top view of the contents of the Netgear Nighthawk MK93S mesh system. Credit: Jordan Gloor / How-To Geek

I think it’s important to point out that with Wi-Fi it’s much more important to get consistent and reliable performance wherever you are in your home than to hit crazy peak speeds. Sure, if you buy an expensive router, you can blast data when you’ve got line of sight and are a few feet away, but then you might as well just connect to it with an Ethernet cable.

For the price of one very fast centralized router, you can buy an entry-level mesh router kit and have fast enough internet everywhere, and never have to think about it again. I’m still running a Wi-Fi 5 mesh system in my two-storey rental home and I get 200+ Mbps minimum anywhere. If I need more speed than that on a single device, it’s going on Ethernet.

As prices come down on Wi-Fi 6 and 7 mesh systems, we’ll all eventually get access to that gigabit or better wireless tier, but I’d rather have a few hundred Mbps everywhere rather than a few Gbps in just one place and zero internet elsewhere.

Setup and management are finally user-friendly

Your dog could do it if it had thumbs

TP-Link Deco Mesh Wi-Fi Puck sitting on a desk beside two stacked books Credit: TP-Link

It’s hard to overstate just how easy modern mesh routers are to set up. After you’ve got the first unit up, usually by using a mobile app, adding more is generally just a matter of turning them on close to any previously activated router and waiting a few seconds.

As for the actual management of the network, on my TP-Link system you can see the topology of your network, how the pods are doing in terms of bandwidth, and you can automatically optimize for network interference and signal strength. The days of cryptic and largely manual router configuration are over. Even port forwarding, which has always tripped me up on old routers, now just works with a few taps on my phone screen.

The price argument doesn’t hold up anymore

There’s something for every budget

The biggest reason I think people have avoided mesh systems is cost. That’s perfectly fair, because mesh systems are more expensive than a single router. The thing is, prices have come down significantly, especially for mesh on older Wi-Fi standards.

But, even if you want newer Wi-Fi like 6E or 7, you don’t have to start your mesh journey with a full kit. You can buy a single mesh router, use that as your primary, and then add more as you can afford it. Even better, if you’ve bought a new router recently, there’s a chance it already supports mesh technology. It doesn’t even have to be that recent, since some older routers have gained mesh capability thanks to firmware updates.

If you already have a router that’s mesh-capable, then extending your home network any other way would be silly. Also, keep in mind that all the routers in your mesh network don’t have to be identical. That’s a common misconception, but the only thing they need to have in common is support for the same mesh technology. Just keep in mind that your performance will only be as good as the slowest device in the chain.


Mesh is for everyone

The bottom line is that mesh network technology is now cheap enough, mature enough, and easy enough that I honestly think everyone should have a good reason not to use it rather than looking for reason to use it. Wi-Fi should be like water or electricity. You want everyone in your home to have easy access to it no matter where they are. Mesh will do that for you.

The Unifi Dream Router 7.

9/10

Brand

Unifi

Range

1,750 square feet

The Unifi Dream Router 7 is a full-fledged network appliance offering NVR capabilities, fully managed switching,a built-in firewall, VLANs, and more. With four 2.5G Ethernet ports (one with PoE+) and a 10G SFP+ port, the Unifi Dream Router 7 also features dual WAN capabilities should you have two ISP connections. It includes a 64GB microSD card for IP camera storage, but can be upgraded for more storage if needed. With Wi-Fi 7, you’ll be able to reach up to a theoretical 5.7 Gbps network speed when using the 10G SFP+ port, or 2.5 Gbps when using Ethernet. 




Source link