Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
Redmond desk11 min

How to Run AI Workloads Locally on a Windows PC

A practical Windows guide to local AI: choose the right runtime, check RAM and VRAM, install a model, use WSL 2 for CUDA development, and fix common memory and GPU problems.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Yes, a Windows PC can run AI models locally. For a first chat, install a desktop runtime such as Ollama or LM Studio, download a model that fits your available memory, and test it on the machine. Developers who need Linux-first tools can use Microsoft’s supported CUDA path through WSL 2, while Windows application developers can use Windows ML or Foundry Local to select CPU, NPU, DirectML/WinML, or CUDA execution.

Your main constraint is memory, especially dedicated GPU VRAM. More parameters and longer context windows require more memory; quantization reduces the requirement but can affect output quality. You do not need an NVIDIA GPU for every local workload, and there is no single hardware minimum that guarantees every model will run well.

As an Amazon Associate I earn from qualifying purchases.

What “running AI locally” means

Local inference means the model generates its responses on your own Windows computer instead of sending each prompt to a hosted service. The runtime loads model files into system RAM, GPU VRAM, dedicated AI hardware such as an NPU, or a combination of these resources.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Local execution can reduce latency, keep prompts and responses on the computer, and let you work without a subscription or an internet connection after the model is installed. Those benefits depend on the runtime and model. For example, Microsoft says Foundry Local keeps inference inputs and outputs on-device, but initial model downloads and optional catalog refreshes use the network; cached catalog data can allow inference to continue offline. That statement applies to Foundry Local, not automatically to every Windows AI application.

#1 Best Overall
Sale
LAPGEAR Home Office Pro Lap Desk - Black Carbon, Fits 15.6” Laptops | Built-In Mouse Pad & Phone Slot, Wide Cushioned Wrist Rest, Dual-Bolster Microbead Cushion, Carry Handle
  • Spacious Design: Measuring 21.1" wide and 14.1" deep, our lap desk comfortably fits most laptops up to 15.6". Extra room for accessories ensures convenience.
  • Enhanced Functionality: Packed with handy features, including a 5x9" precision tracking mouse pad and a built-in phone slot for seamless work or video calls. Plus, enjoy ergonomic support with the integrated cushioned wrist rest.
  • Cool Comfort: Enjoy a stable surface with our lap desk's dual bolster cushion, designed for comfort and airflow, keeping your lap cool during extended use.
  • Durable Surface: Work with confidence on our lap desk's solid surface, featuring a sleek black carbon color, ensuring optimal air circulation to prevent your laptop from overheating.
  • On-the-Go Convenience: With an integrated handle and lightweight design (2.8 lbs), our lap desk is portable for travel or moving around the house, offering flexibility in any space.

Model files can be several gigabytes or more, and the same model may be available in multiple quantized versions. A smaller quantized file generally needs less memory, but quantization can introduce an output-quality trade-off. Longer prompts and larger context windows also consume additional memory, so a model that loads with a short prompt may fail or slow down when you increase its context.

Microsoft documents ready-to-use local LLMs for Windows 10 and later through Windows ML and related APIs. Compatibility and speed still depend on your processor, graphics hardware, drivers, RAM, storage, and the selected model. See Microsoft’s overview of ready-to-use local LLMs on Windows.

Choose a Windows runtime before choosing a model

The runtime is the software layer that downloads, loads, and executes a model. Choose it based on what you want to do rather than assuming one option is universally fastest. The available setup documentation does not provide a controlled benchmark that ranks these paths.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Path Best fit What it provides
Native Windows desktop app Someone who wants to download a model and start chatting with minimal setup LM Studio offers a graphical model workflow; Ollama provides a simple way to manage models and connect them to applications; llama.cpp is a more configurable backend. NVIDIA describes these as Windows starting points in its LLM playbook.
WSL 2 with CUDA A developer using Linux-first tools, PyTorch, TensorFlow, or NVIDIA containers Microsoft documents NVIDIA GPU acceleration inside WSL, with a Windows driver, WSL, and a supported Linux distribution. The route supports existing CUDA-oriented frameworks and container workflows. See Enable NVIDIA CUDA on WSL.
Windows ML or Foundry Local A Windows application developer who wants a Windows-native inference provider Windows ML and Foundry Local can select among NPU, DirectML/WinML, CUDA, or CPU execution according to the hardware and provider availability. Microsoft documents a catalog of more than 20 open-source local LLMs for Windows.

Desktop applications are usually the shortest route to a local chat. WSL 2 is more appropriate when your existing code, dependencies, and deployment process are Linux-oriented. Windows ML or Foundry Local makes more sense when you are integrating inference into a Windows application and want the platform to choose an execution provider.

Check whether your PC has enough memory

Start with the Windows requirements

LM Studio’s published Windows requirements recommend an x64 system with AVX2, at least 16 GB of RAM, and at least 4 GB of dedicated VRAM. These are software recommendations, not a guarantee that a particular model will run quickly or fit at a useful context length. Windows on ARM is supported on Snapdragon X Elite systems. The current requirements are listed in LM Studio’s system-requirements document.

Use Task Manager to inventory your machine before downloading anything:

Rank #2
Sale
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display | 85W Max PD, 1 Powered USB-C 5Gbps & 2 Powered USB-A 3.0 5Gbps Data Ports, for MacBook Pro, MacBook Air, Dell and More (Black)
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
  1. Press Ctrl+Shift+Esc to open Task Manager.
  2. Open the Performance tab.
  3. Record the CPU architecture, installed memory, GPU model, dedicated GPU memory, and any listed NPU.
  4. Leave some RAM and VRAM available for Windows and other applications; do not treat the displayed total as memory that a model can safely consume.

Dedicated VRAM is the clearest limit for GPU-accelerated inference. If a model does not fit there, a runtime may spill part of it into system RAM, run on the CPU, or refuse to load. Those alternatives can be much slower.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use model size as a starting point, not a promise

NVIDIA publishes the following illustrative starting points for RTX memory ranges:

RTX memory range NVIDIA starting-point models Qualification
6–8 GB Qwen 3.5 4B Vendor guidance, not an independent benchmark; context length, quantization, and runtime affect fit and speed.
12–16 GB Qwen 3.5 9B or Gemma 4 12B Vendor guidance, not a hard minimum or guarantee for every quantization and context length.
24 GB or more Qwen 3.6 27B Vendor guidance; larger context windows and runtime overhead still require additional memory.

These recommendations come from NVIDIA’s current guidance for RTX PCs in How to Get Started With Large Language Models on NVIDIA RTX PCs. Parameter count is only one part of the calculation. Quantization changes the size and numerical precision of the weights, while the context window adds working memory as the conversation grows.

Do you need an NVIDIA GPU?

No. An NVIDIA GPU is useful for CUDA-based workflows, but it is not a universal requirement. Windows ML and Foundry Local can use CPU fallback and, where supported, NPU or DirectML/WinML execution. Ollama also documents Windows support for listed AMD cards when the system has a ROCm v7/HIP7-capable driver stack, and describes Vulkan as another GPU route. Compatibility is specific to the card, driver, runtime, and model, so check the current Ollama GPU support documentation before following a card-specific setup.

If your preferred model consistently exceeds your current dedicated VRAM, a GPU upgrade with more VRAM is the most direct hardware change. You do not need to buy one simply to try a small local model; CPU or integrated-hardware execution may be sufficient for experimentation, with lower generation speed.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Set up a first local chat on Windows

1. Inventory the machine

Write down CPU architecture, RAM, GPU model, dedicated VRAM, and any NPU shown in Task Manager. Also check free SSD space because model downloads remain on disk even when the model is not loaded. Treat the LM Studio figures as recommendations rather than hard gates.

Rank #3
Sale
Yilador Webcam Cover 3 Pack, 0.03 inch Ultra Thin Laptop Camera Cover Slide | Camera Blocker Slider for iPhone iPad MacBook Pro Computer iMac Cell Phone PC Laptop Accessories, Great for Privacy, Black
  • Note: Not suitable for MacBooks released after 2023 or devices with a protruding front camera; Not applicable to full-screen or notch-style tempered glass screen protectors; Do not use on the rear camera of the phone.
  • 💻 Why Do You Need a Webcam Cover Slide? — Safeguard your privacy by covering your webcam with our reliable webcam cover when not in use. Don't let anyone secretly watch you. Stay protected!
  • ✅ Thin & Stylish — Enhance your laptop's functionality and aesthetics with our 0.027" ultra-thin webcam covers. Seamlessly close your laptop while adding a touch of sophistication.
  • ✅ Fits Most Devices — Compatible with laptops, phones, tablets, desktops! Keep your privacy intact on Ap/ple, Mac/Book, iPh/one, iP/ad, H/P, L/novo, De/ll, Ac/er, As/us, Sa/msung devices.
  • ✅ 365 Days Protection — Our upgraded 3.0 adhesive ensures a strong hold that won't damage your equipment. Experience reliable, long-term privacy protection day in and day out.

2. Pick the workflow

  • Quick desktop chat: choose LM Studio or Ollama. LM Studio emphasizes a graphical interface; Ollama emphasizes model management and application connections.
  • Linux-oriented development: choose WSL 2 with CUDA when you have a supported NVIDIA setup and need PyTorch, TensorFlow, or NVIDIA container workflows. Microsoft’s guide requires an enabled Windows NVIDIA driver, WSL, and a supported Linux distribution.
  • Windows application integration: choose Windows ML or Foundry Local when your application should select among NPU, DirectML/WinML, CUDA, and CPU providers.

3. Select a model that fits memory and context

Start with a smaller model if you are unsure. Use the RTX ranges above only as starting points, then account for the quantization variant and the context length you intend to use. A short test prompt is a better first check than immediately importing a very long document.

Download models only from the catalog or source supported by your selected runtime. Keep the model’s exact name and quantization recorded; changing either can change memory use and behavior.

4. Install the runtime from its official source

For a desktop workflow, install LM Studio or Ollama for Windows, then download the model through that runtime. NVIDIA’s Windows playbook documents installing Ollama in PowerShell, downloading a model, and running it locally. The current Ollama command pattern is:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
ollama pull <model-name>
ollama run <model-name>

Replace <model-name> with a model identifier offered by the runtime. The first command downloads the files; the second starts an interactive local session. If the runtime provides a graphical model downloader, the equivalent actions are selecting the model, downloading it, and pressing its run or chat control.

5. Test with a small prompt

Ask a short factual or transformation question first. Watch whether the model loads, how much memory is used, and whether generation remains responsive. Then increase prompt length gradually. This separates a basic installation problem from a context or memory limit.

6. Confirm the active execution device

Do not assume that a visible GPU is being used. Check the runtime’s status or provider information while generating. In Foundry Local, Microsoft documents the foundry model list command for inspecting available models and provider-related information. Windows Task Manager’s GPU and NPU graphs can also show whether the expected device is active.

Rank #4
AboveTEK Portable Laptop Lap Desk w/Retractable Left/Right Mouse Pad Tray, Non-Slip Heat Shield Tablet Notebook Computer Stand Table w/Sturdy Stable Work Surface for Bed Sofa Couch or Travel
  • Anti-Slip Surface - Transform your laptop into a mobile workstation with the AboveTEK portable laptop lap desk. The anti-slip surface provides a strong grip for laptops up to 15.6 inches(Diagonal), while the double rubber strip on the bottom ensures a stable display or typing experience on your lap, couch, or bed.
  • Retractable Mouse Pad - Retractable laptop mouse pad extends on both directions for the left/right handed with elevation along the edges for stopping mouse from falling off. The size of laptop tray is 14" X 9.7" and the size of mouse pad is 7.4" X 6.1".
  • Effective Heat Shield - The effective heat shield made of sturdy and thick material protects your laptop from overheating. Prioritizes your comfort and safety, an ideal lap pad or board for working anywhere.
  • EASY to Carry and Store - With an ergonomic and simplistic design, the lap desk is portable to store in a backpack. Only 15" in size, 2.2 lb of weight and with slim 0.6 inch thickness, it is ready to be easily carried around.
  • Widely Applicable - The smooth platform accommodates laptops and tablets up to 15.6 inches(Diagonal), making it a versatile accessory and one of the best gifts for mom, dad, students and professionals. Perfect for use as a laptop bed tray or tablet holder anywhere at home, library, or park.

Using WSL 2 for CUDA development

WSL 2 is the supported route when your local AI project depends on Linux tooling but you want to keep Windows as the host operating system. Microsoft’s CUDA documentation covers acceleration for existing tools and frameworks, including PyTorch, TensorFlow, and NVIDIA container workflows.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Install or enable a Windows NVIDIA driver that supports CUDA in WSL.
  2. Enable WSL 2 and install a Linux distribution supported by Microsoft’s guide.
  3. Open the Linux environment and install the framework, libraries, or container tooling required by your project.
  4. Run the framework’s device check before downloading a large model. Confirm that the CUDA device is visible inside WSL.
  5. Start with a model and context size that fit the GPU memory, then monitor both GPU memory and system RAM during inference.

WSL does not remove the underlying memory limits. A model that fits in Windows-native CUDA may still fail if the Linux process, container, or context configuration consumes additional memory. Conversely, a model that technically loads may generate too slowly if it is partly offloaded to system RAM.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Using Windows ML or Foundry Local

Windows ML provides a Windows-native inference layer for applications. Foundry Local is Microsoft’s local model experience that can select among available execution providers, including NPU, DirectML/WinML, CUDA, and CPU. This is useful when the application should adapt to different Windows hardware rather than require one GPU vendor.

Foundry Local’s privacy boundary is specific and important: Microsoft states that inference inputs and outputs stay on the device. The initial model download and optional catalog metadata refresh still require network access. If the catalog is cached, inference can continue while offline, provided the model is already present.

For an application workflow, identify the provider selected on the target PC, verify the model is cached, and test the same prompt under the expected CPU, NPU, DirectML/WinML, or CUDA path. Provider availability can vary by Windows build, driver, hardware generation, and model format.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How to diagnose common failures

The model will not load

  • Choose a smaller parameter count or a more heavily quantized variant.
  • Reduce the context length and close other GPU-intensive applications.
  • Check whether the runtime is trying to reserve dedicated VRAM, system RAM, or both.
  • Compare the model’s actual file and runtime memory requirements with your available memory rather than relying only on the parameter count.

Generation is extremely slow

  • Check whether the CPU is doing most of the work because the model exceeded VRAM.
  • Verify that the intended CUDA, DirectML/WinML, NPU, Vulkan, or ROCm provider is active.
  • Use a smaller model or shorter context to keep more of the workload on the accelerator.
  • Do not infer that one runtime is universally faster; the documented sources do not provide a controlled comparison across hardware and models.

An AMD GPU is not detected

Ollama’s documented AMD path applies to listed cards with a ROCm v7/HIP7-capable driver stack. Check the current compatibility list and driver requirements. Vulkan may be available as another route, but support and performance remain runtime-specific.

Best Value
Sale
LAPGEAR Home Office Lap Desk – Pink, Fits 15.6” Laptops
  • Spacious Design: Measuring 21.1" wide and 12" deep, our lap desk comfortably fits most laptops up to 15.6". Extra room for accessories ensures convenience.
  • Enhanced Functionality: Packed with handy features, including a 5x9" precision tracking mouse pad and a built-in phone slot for seamless work or video calls. Plus, enjoy laptop support with the integrated device ledge.
  • Cool Comfort: Enjoy a stable surface with our lap desk's dual bolster cushion, designed for comfort and airflow, keeping your lap cool during extended use.
  • Durable Surface: Work with confidence on our lap desk's solid surface, featuring a blush pink color, ensuring optimal air circulation to prevent your laptop from overheating.
  • On-the-Go Convenience: With an integrated handle and lightweight design (2.14 lbs), our lap desk is portable for travel or moving around the house, offering flexibility in any space.

CUDA is unavailable inside WSL

Recheck the three prerequisites in Microsoft’s guide: the Windows NVIDIA driver, WSL 2, and a supported Linux distribution. Then verify device visibility from inside the Linux environment before debugging the model or framework.

The computer runs out of RAM or VRAM midway through a conversation

Longer context windows require more memory than the initial prompt. Shorten the conversation, reduce the configured context, select a smaller or more quantized model, or move to hardware with more dedicated VRAM. Restarting the runtime can release memory left by a failed load, but it does not make an oversized model fit permanently.

Privacy, updates, and offline operation

“Runs locally” describes where inference happens, not whether the entire setup is permanently offline. Model downloads, runtime updates, optional catalogs, and telemetry policies differ by application. Before handling sensitive material, read the selected runtime’s network and logging settings.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For Foundry Local specifically, Microsoft says prompts and generated outputs remain on-device during inference. Network traffic is still used for initial model downloads and optional catalog refreshes, and cached catalog data can support offline inference afterward. Do not extend that guarantee to an unrelated desktop runtime without checking its own documentation.

What hardware should you upgrade?

If a small model runs acceptably on your current system, an upgrade is optional. When your target model does not fit, prioritize dedicated GPU VRAM because model weights and context data must be resident somewhere during accelerated inference. A larger-VRAM GPU can enable a larger model or longer context, but the exact benefit depends on quantization, drivers, and runtime support.

More system RAM can help with CPU inference or partial offload, but it does not turn a memory-starved GPU workflow into a fast one. An SSD upgrade mainly improves download and load convenience; the supplied hardware guidance does not establish a universal RAM or SSD capacity recommendation beyond LM Studio’s 16 GB RAM recommendation.

Bottom line for different readers

  • First local chat: install LM Studio or Ollama, choose a small model, and test a short prompt.
  • NVIDIA developer workflow: use WSL 2 with CUDA when you need Linux tooling, PyTorch, TensorFlow, or NVIDIA containers.
  • Windows application: use Windows ML or Foundry Local to integrate local inference and select among available hardware providers.
  • Hardware decision: compare the model’s memory demand with dedicated VRAM, RAM, quantization, and intended context length before buying anything.
  • Privacy decision: verify the specific runtime’s download and catalog behavior; local inference does not necessarily mean zero network traffic during setup.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.