Skip to content
Get started

Hardware and models

litecode runs on any machine, from a 4 GB laptop to a workstation with a large GPU. It measures the machine and picks models that fit. On a small PC it picks small, fast models. On a big machine it picks bigger, stronger models.

How litecode chooses#

  1. litecode setup reads total RAM, CPU cores, disk type, and GPU.
  2. It plans with about 60% of total RAM, so your browser and editor keep working.
  3. It picks a model for each role: code, chat, fim (autocomplete), security, and quality (hard tasks).
  4. With a GPU build, it moves model layers to the GPU (gpu_layers = 99).

Tiers#

MachineWhat litecode loadsExpected use
4 GB RAM, no GPUQwen2.5-Coder-1.5B + 0.5B autocompletecode help, explanations, small fixes
8 GB RAM, no GPUMiniCPM5-2B + 1.5B autocompletedaily coding, security review, writing
16 GB RAM, no GPULFM2.5-8B-A1B (fast MoE) + security model on demandfull agent work on real projects
32 GB RAMadds Qwen3.5-9B as the quality modelharder multi-file tasks
GPU, 12 GB+ VRAMQwen3.6-35B-A3B and other 30B-class modelslarge refactors, deep reviews, long context

These are defaults. Any GGUF model works. Set it with litecode config roles.code MyModel.gguf.

GPUs#

GPUEngine buildHow to get it
NVIDIACUDAsetup offers it when it finds nvidia-smi
AMD, Intel, NVIDIAVulkansetup offers it when it finds vulkaninfo
Apple SiliconMetal (in the macOS build)automatic
Old GPUs (2 GB, Kepler era)CPUlitecode ignores the GPU

Set how many layers go to the GPU: litecode config gpu_layers 99 (all) or a smaller number to share VRAM.

What makes it fast#

Reference machine#

All published litecode numbers come from this low-end PC, so you can compare:

PartValue
CPUAMD Ryzen 3 3200G, 4 cores, 4 threads (2019)
RAM16 GB DDR4-2133, dual channel
GPUGeForce GT 710 2 GB (too old, not used)
Disk7200 rpm hard drive for models

If litecode runs well on this machine, it runs better on yours. See Benchmarks.

Source: docs/HARDWARE.md