Hardware
eGPU for AI: Is an External GPU Worth It for LLMs?
Is an eGPU for AI worth it? How Thunderbolt and OCuLink affect local LLM speed, what you need, the real bottlenecks, and when a desktop is better.
An eGPU for AI can work surprisingly well: once a model is loaded into the external card's memory, running a local LLM uses very little bandwidth, so token generation on an eGPU is usually close to the same card in a desktop. The connection mainly slows down loading models, splitting a model between the GPU and the computer's memory, and training. An eGPU is worth it if you already have a laptop or mini PC with Thunderbolt or OCuLink and want to run models that fit in a desktop card's VRAM. If you're buying everything from scratch, a desktop PC is usually cheaper and faster.
This guide covers how eGPUs work, Thunderbolt vs OCuLink, real eGPU LLM performance, the requirements, costs, setup tips and when an eGPU is the wrong choice.
What Is an eGPU?
An eGPU (external graphics processing unit) is a desktop graphics card in a separate enclosure with its own power supply, connected to a laptop or mini PC by a cable. The computer sees it as a PCIe device, just like a card in a desktop slot, but over a much narrower link.
There are three common setups:
- Thunderbolt or USB4 enclosure: a box with a PCIe slot, a power supply and a Thunderbolt controller. One cable can also charge the laptop and connect USB devices.
- OCuLink dock: a simpler adapter that carries PCIe directly over a cable, used with mini PCs and handhelds that have an OCuLink port, or an M.2-to-OCuLink adapter.
- All-in-one eGPU boxes with a built-in mobile or desktop GPU.
For AI, the card inside matters most: an NVIDIA GeForce RTX card with as much VRAM as possible, because NVIDIA's CUDA software is the best supported by AI tools, or a recent AMD Radeon card if your tools support ROCm or Vulkan.
eGPU OCuLink vs Thunderbolt
Both links are much narrower than a desktop slot (PCIe 4.0 x16 moves about 32 GB/s in each direction).
| Connection | PCIe link | Practical bandwidth | Hot-plug | Carries power and USB |
|---|---|---|---|---|
| Desktop slot | PCIe 4.0/5.0 x16 | ~32–63 GB/s | No | n/a |
| OCuLink (PCIe 4.0 x4) | PCIe 4.0 x4 | up to ~8 GB/s | No | No |
| Thunderbolt 5 | PCIe 4.0 x4 tunnelled | up to ~8 GB/s, a little less in practice | Yes | Yes |
| Thunderbolt 4 / USB4 (40 Gbps) | PCIe tunnelled | roughly 3–4 GB/s | Yes | Yes |
| Thunderbolt 3 | PCIe 3.0 x4 tunnelled | roughly 2.5–3 GB/s | Yes | Yes |
Thunderbolt 5 is marketed as 80 Gbps, but its PCIe tunnel for an external GPU tops out at PCIe 4.0 x4, the same as OCuLink. Tom's Hardware's gaming tests found Thunderbolt 5 up to 14% slower than OCuLink, because Thunderbolt adds protocol overhead and latency. Even OCuLink lost up to 23% against a desktop slot with an RTX 4090 in games.
For eGPU OCuLink vs Thunderbolt, then: OCuLink is a little faster and cheaper, but it's not hot-pluggable, needs a separate power supply for the card and a matching port, and doesn't carry USB or charging. Thunderbolt 5 is more convenient and works with far more laptops.
eGPU LLM Performance
Games constantly stream data to the card; LLM inference mostly doesn't. Here's what happens in each phase:
Loading the model. The model file is read from the SSD and copied into the GPU's VRAM. This is where the link matters most. A 20 GB model takes a few seconds over a desktop slot, and a few times longer over Thunderbolt 4. Over Thunderbolt 5 or OCuLink, the SSD is often the bottleneck anyway. If you load one model and keep it running, you pay this once.
Processing the prompt. The prompt's text is tiny. The work happens inside the GPU, so prompt processing speed is close to a desktop.
Generating tokens. Each new token sends a few bytes back to the computer. Speed is set by the GPU's memory bandwidth, not the cable, so eGPU LLM performance in tokens per second is usually within a few percent of the same card in a desktop, as long as the whole model fits in VRAM.
Partial offloading. If a model is too big for VRAM and some layers run on the CPU (llama.cpp and Ollama do this automatically), data crosses the link for every token. Performance then drops sharply, on an eGPU even more than in a desktop. Choose models that fit entirely in VRAM; our guide to VRAM for AI shows how much each model size needs.
Image generation. Similar to LLMs: once the model is loaded, each image is generated on the card. Switching between models and LoRAs often triggers more loading.
Training and fine-tuning. Training moves batches of data to the GPU constantly, and multi-GPU training sends large amounts of data between cards. A single eGPU is usable for small LoRA fine-tunes; for anything bigger, a desktop is much better.
eGPU Requirements
Before buying, check these eGPU requirements:
- A suitable port: Thunderbolt 3, 4 or 5, or USB4 with PCIe tunnelling support (not every USB4 port has it), or an OCuLink port. A USB-C port alone isn't enough; check the laptop's specifications.
- Operating system support: Windows and Linux both work with NVIDIA and AMD cards. Apple silicon Macs don't support eGPUs for graphics or AI; only older Intel Macs did.
- An enclosure that fits the card's length and thickness, with a power supply large enough for it. High-end cards need 850 W or more and the right power connectors.
- BIOS settings: some laptops need Thunderbolt security or PCIe tunnelling enabled.
- Drivers and AI software: NVIDIA's driver and CUDA, or AMD's ROCm where supported, plus tools like Ollama, LM Studio, llama.cpp or vLLM.
- Enough system RAM and fast storage to hold and load model files, ideally 32 GB of RAM and a fast NVMe SSD.
On Windows laptops with their own NVIDIA GPU, make sure your AI tool uses the external card, for example by setting CUDA_VISIBLE_DEVICES or choosing the GPU in the app's settings.
What an eGPU for AI Costs
| Part | Typical price range |
|---|---|
| Thunderbolt 4 or 5 enclosure | ~$150–$400 |
| OCuLink dock and cable | ~$60–$150 |
| Power supply (if not included) | ~$80–$200 |
| GPU, 16 GB VRAM | ~$400–$1,000 |
| GPU, 24–32 GB VRAM | ~$900–$3,000+ |
Prices vary by country and change with GPU supply. The enclosure is the eGPU "tax": money you wouldn't spend on a desktop.
Is an eGPU for AI Worth It?
Whether an external GPU for LLM work is worth it depends on what you already own:
Worth it if:
- You have a capable laptop or mini PC with Thunderbolt 5, Thunderbolt 4 or OCuLink and don't want a second computer.
- You want to run models of up to about 30B parameters (quantised) on a 24–32 GB card, or smaller models on a 16 GB card.
- You want a portable laptop on the road and a powerful GPU at your desk.
- You might move the card to a desktop later, so nothing is wasted.
Not worth it if:
- You're starting from scratch: the enclosure money buys a lot of desktop.
- You want multiple GPUs or regular training.
- You use a Mac with Apple silicon.
- You need to run models larger than the card's VRAM; the narrow link makes CPU offloading even slower.
Alternatives to an eGPU
- A desktop PC with the same card: faster loading, room for a second GPU, and usually cheaper overall.
- A mini PC with lots of unified memory, such as systems built on AMD's Ryzen AI Max+ 395 with up to 128 GB, which can run larger models more slowly but without a separate GPU.
- A Mac with unified memory, such as a Mac mini for AI or Mac Studio, which runs large models quietly but more slowly than a high-end NVIDIA card.
- Cloud GPUs, rented by the hour, for occasional large jobs or training.
Setup Tips
- Use the cable that came with the enclosure, or a certified Thunderbolt cable; cheap cables cause dropouts.
- Connect directly to the laptop's Thunderbolt port, not through a hub.
- Use an external monitor connected to the eGPU if you also game; for AI-only use it doesn't matter.
- Keep models fully in VRAM. Pick a quantisation (such as Q4 or Q5) that leaves room for the context window.
- Load once, keep running. Set Ollama's keep-alive or leave LM Studio's model loaded so you don't pay the load time repeatedly.
- Watch temperatures: enclosures with small fans can throttle large cards under sustained load.
FAQ
Is an eGPU good for AI?
For running local models that fit in the card's VRAM, yes. Token generation speed is close to the same card in a desktop, because inference sends very little data over the cable. Model loading, CPU offloading and training are slower over an eGPU link.
Does an eGPU slow down LLM inference?
Only a little, if the whole model fits in VRAM. Loading the model takes longer, but generating tokens runs at nearly the same speed. If part of the model runs on the CPU, the narrow link makes it much slower.
Is OCuLink better than Thunderbolt for an eGPU?
OCuLink is slightly faster because it carries PCIe directly with less overhead, and it's cheaper. Thunderbolt is more convenient: it's hot-pluggable, carries USB and charging, and works with far more laptops. For AI inference the difference is small.
Can I use an eGPU with a Mac for AI?
Not with Apple silicon Macs, which don't support eGPUs. Older Intel Macs supported some AMD eGPUs but not NVIDIA cards, so they're a poor fit for AI. On Apple silicon, local AI runs on the Mac's own GPU and unified memory.
What GPU should I put in an eGPU for AI?
Choose by VRAM first: 16 GB for small models, 24–32 GB for models of around 30B parameters when quantised. An NVIDIA RTX card has the broadest software support for AI tools.