An eGPU enclosure lets your thin Linux laptop run a 16 GB or 24 GB graphics card for local LLMs. The box is the easy part. Your laptop’s port decides how fast the card can talk, and Linux decides whether plugging it in and out is safe. No maker on this list promises Linux support, so you’re relying on the kernel.
This guide picks five Thunderbolt eGPU enclosures you can buy new, from the Razer Core X V2 and Sonnet’s Breakaway Boxes to two Thunderbolt 5 docks with OCuLink. You’ll see what each port carries, what the four-lane link costs a model, and how to make hotplug behave. Specs come from maker pages and independent coverage; we didn’t bench these boxes. I checked every spec and listing again in October 2026, and the bolt and switcheroo commands below ran on Ubuntu 26.04 and Fedora 45, so they still hold.
Pick an eGPU enclosure at a glance
Every pick needs a graphics card. Three of the five also need a desktop ATX or SFX power supply that you buy separately. Here’s who each one suits:
| Award | Pick | Why it wins | Price band |
|---|---|---|---|
| Best for most Thunderbolt 5 laptops | Razer Core X V2 | Closed TB5 box, 4-slot cards, 140 W laptop charging | about $350 + PSU |
| Best value, laptop and mini PC | Minisforum DEG2 | TB5 and OCuLink in one dock, M.2 slot, 2.5GbE | about $250 + PSU |
| Best with the power supply included | Sonnet Breakaway Box 850 T5 | 850 W PSU, triple-wide cards, 5GbE and USB ports | about $600 |
| Best for an older Thunderbolt 3 or 4 laptop | Sonnet Breakaway Box 750ex | 750 W PSU in the box, long track record | about $400 |
| Lowest price for Thunderbolt 5 | AOOSTAR EG02 | TB5 plus OCuLink, powers a mini PC over DC | about $220 + PSU |
Those bands are what each listing charged on October 27, 2026. eGPU stock moves quickly, and two of these listings showed limited stock, so check the live price before you order.
Check your laptop’s Thunderbolt port first
Your laptop needs a port that tunnels PCIe, and not every USB-C port does. Intel’s Thunderbolt 4 spec requires a PCIe tunnel of at least 32 Gbps plus VT-d DMA protection. So any certified Thunderbolt 4 laptop can drive an eGPU. Plain USB4 is the part that trips people up, because the USB4 spec makes PCIe tunnelling optional for hosts. That is why Razer and Sonnet both tell you to confirm your USB4 laptop supports external graphics first.
| Laptop port | Link rate | PCIe to the GPU | What it means for an eGPU |
|---|---|---|---|
| Thunderbolt 3 | 40 Gbps | PCIe 3.0 x4 tunnel | Only the 750ex lists TB3 hosts; Razer and Sonnet’s 850 T5 name TB4, TB5 and USB4 |
| Thunderbolt 4 | 40 Gbps | 32 Gbps minimum | Razer and both Sonnets list TB4 hosts; the safe floor for a new laptop |
| USB4 (40 Gbps) | 40 Gbps | Optional on hosts | Check the laptop maker’s spec for PCIe tunnelling or eGPU support |
| Thunderbolt 5 / USB4 v2 | 80 Gbps, 120 Gbps boost | 64 Gbps (PCIe 4.0 x4) | Twice the PCIe headroom; needs a TB5 box to use it |
Thunderbolt 5 doubles the PCIe link, but it’s still four lanes. Even the fastest box here gives your card a quarter of a desktop x16 slot. You also want a recent kernel. Initial USB4 v2 and Intel Barlow Ridge support arrived in Linux 6.5, and the asymmetric 120/40 Gbps mode followed in 6.7. A current Ubuntu or Fedora release covers both, so you don’t need a custom kernel.
You can read the controller’s security level before the enclosure arrives. If it reports user or secure, the eGPU’s PCIe tunnel stays closed until you authorize it (covered in the hotplug section):
cat /sys/bus/thunderbolt/devices/domain0/security
cat /sys/bus/thunderbolt/devices/domain0/iommu_dma_protection
A result of dponly, usbonly or nopcie means the firmware blocks PCIe tunnels, so no eGPU will work until you change the Thunderbolt security setting in the BIOS. If the second file reads 1, the IOMMU guards the port, and the kernel’s Thunderbolt documentation says the security level is then redundant. If /sys/bus/thunderbolt doesn’t exist, the kernel found no Thunderbolt or USB4 controller. That is what our Ubuntu 26.04 and Fedora 45 test VMs reported, and an eGPU won’t work from a machine like that.
See what the four-lane link costs a local LLM
If your model fits entirely in VRAM, the narrow link barely matters, because generation runs on the GPU once the weights load. Jeff Geerling ran an RTX 4090 on a single PCIe 3.0 lane. In his benchmark log, a Qwen3 model generated 41.05 tokens per second on that lane, hosted by a Raspberry Pi, against 42.51 in an x16 slot on a Core Ultra desktop. That is a 3.4% loss on a link far narrower than any Thunderbolt enclosure.
Spill layers into system RAM and the picture changes. A llama.cpp test ran gpt-oss-120b with only 12 of 36 layers on an RTX 3090. Over Thunderbolt 3, prompts ran at 140 tokens per second against 304 for the same card model in a PCIe 3.0 x16 slot in the same workstation. Token generation barely moved, from 2.33 to 2.27. So spend on enough VRAM for your models, because no enclosure makes up for weights in laptop RAM. The VRAM sizing guide shows what fits where, and the best GPUs for local LLMs covers the cards to put inside.
How the picks were chosen
Each pick is sold new by its maker or by Amazon and was in stock on October 27, 2026. Each has a manufacturer spec page plus at least one independent source. We didn’t have these enclosures in a lab, so every performance figure links to whoever measured it. The Linux commands ran on Ubuntu 26.04 and Fedora 45 virtual machines. That proves the packages and syntax, not how a given box behaves on your laptop.
A few well-known boxes didn’t make the cut. Check these before you shop:
- You won’t find the Plugable TBT5-AI here, because Plugable says it doesn’t support Linux.
- You can’t buy Gigabyte’s RTX 5090 or RTX 5060 Ti AI BOX right now; every listing was out of stock.
- You’ll only find the original Razer Core X and Sonnet’s 650 and 750 used or from resellers.
- You should avoid bare Thunderbolt-to-PCIe boards with no maker spec page.
One more thing applies to every box. Razer, Sonnet and the dock makers list Windows as the supported OS. On Linux, support comes from the kernel’s Thunderbolt and PCIe hotplug code, not from the vendor. That works, but a firmware or driver problem is yours to debug.
Compare the five enclosures
These are the specs that change your decision: the host link, the power supply, the largest card and the charging power sent back to your laptop.
| Enclosure | Host link | Controller | PSU | Largest card | Laptop charging | Extra ports |
|---|---|---|---|---|---|---|
| Razer Core X V2 | TB5, PCIe 4.0 x4 | Not published | Not included (ATX) | Up to 4 slots wide | 140 W | None |
| Minisforum DEG2 | TB5 or OCuLink, PCIe 4.0 x4 | Intel JHL9480 | Not included (ATX/SFX) | Full-length (no mm limit published) | 140 W | M.2 2280, 2.5GbE, 2x USB-A, TB5 out |
| Sonnet Breakaway Box 850 T5 | TB5 | Intel JHL9580 | 850 W included | 345 x 155 x 70 mm, triple-wide | 100 W | 3x USB-A 10 Gbps, 5GbE, TB5 out |
| Sonnet Breakaway Box 750ex | TB3, PCIe 3.0 x4 | Intel JHL6540 | 750 W included | 312 x 160 x 55 mm, double-wide | 85 W | 4x USB-A 5 Gbps, Gigabit Ethernet |
| AOOSTAR EG02 | TB5 or OCuLink, PCIe 4.0 x4 | Not published | Not included (ATX/SFX) | No 3-slot-plus metal brackets | 140 W | TB5 out, 150 W DC out |
Two patterns stand out. Only the Sonnet boxes ship with a power supply. Add a decent 750 W to 850 W ATX unit to a Razer or a dock, and the price gap shrinks a lot. The two open-frame docks are the only ones with OCuLink, which matters if you’ll also plug the GPU into a mini PC. Sonnet doesn’t publish the 850 T5’s electrical PCIe width, so treat that link as unconfirmed.
Get the Razer Core X V2 for most Thunderbolt 5 laptops
It suits you if you have a Thunderbolt 4 or 5 laptop, want a closed desk box, and have an ATX power supply.
Razer rebuilt the Core X around Thunderbolt 5 and dropped the power supply and every extra port. You bring an ATX PSU sized at the card’s requirement plus 230 W, Razer’s rule, because the box also charges your laptop at up to 140 W. It takes cards up to four slots wide and ships with a Thunderbolt 5 cable and up to two years of warranty. It also works with Thunderbolt 4 and USB4 laptops that support external graphics. CGMagazine confirms the GPU link is PCIe 4.0 x4 and measured roughly a 10% loss against an internal slot in games.
Pass on it if you want the enclosure to double as a dock, since it has no USB, Ethernet or M.2 slot. It is also a Windows product on paper: Razer lists Windows 10 or 11 and says nothing about Linux. It was about $350 from Amazon.com on October 27 with 94 reviews, so check the live price of the Razer Core X V2.
Save with the Minisforum DEG2 if you also own a mini PC
Pick this one if one card has to serve a Linux laptop and an OCuLink mini PC, or you want an SSD inside the dock.

The DEG2 uses Intel’s JHL9480 Thunderbolt 5 controller. A hardware switch picks the Thunderbolt 5 port or OCuLink, both at PCIe 4.0 x4. The open frame takes full-length, high-power cards and runs from an ATX or SFX supply through 24-pin and 8-pin headers. It charges your laptop at 140 W and adds an M.2 2280 slot, 2.5GbE, two USB-A ports and a downstream Thunderbolt 5 port. Minisforum also lists auto power-on with the host, so you don’t switch the PSU on by hand.
Look elsewhere if the GPU will sit on a busy desk or near pets, because the open frame leaves the card exposed. Its Thunderbolt mode is also no faster than OCuLink. At about $250 from Minisforum’s Amazon store with 100 reviews, it’s the best value here if you own a PSU. We cover the OCuLink side in the OCuLink eGPU dock and mini PC guide, and you can see the DEG2’s current price.
Buy the Sonnet Breakaway Box 850 T5 for a PSU in the box
Choose it when you want one box that powers a big triple-slot card and adds network and USB ports.
Sonnet pairs an Intel JHL9580 Thunderbolt 5 controller with an 850 W power supply. It feeds the card through three 8-pin connectors or one 16-pin 12VHPWR cable, which covers current RTX 50 and Radeon RX 9000 cards. Cards up to 345 x 155 x 70 mm fit. You also get three 10 Gbps USB-A ports, 5GbE, a downstream Thunderbolt port and 100 W of laptop charging. It weighs 6.4 kg and ships with a 0.8 m Thunderbolt 5 cable and a two-year warranty.
Wait on it if your laptop wants more than 100 W, or if you’d rather wait for reviews. The box launched in September 2026, and Guru3D noted independent testing is still needed. Sonnet lists Windows 11, with experimental Apple Silicon support, and no Linux. It was about $600 from Sonnet’s own Amazon store with 16 reviews and limited stock, so check whether the 850 T5 is still in stock.
Keep an older laptop going with the Sonnet 750ex
This is the box for a Thunderbolt 3 or 4 laptop when you want a PSU included and a double-wide card is enough.
The 750ex is the older design, built on an Intel JHL6540 Thunderbolt 3 controller with a PCIe 3.0 x4 link. Sonnet says the full 2,800 MB/s of that link goes to the card. Its 750 W supply delivers 375 W continuous to the GPU, plus 100 W of peak headroom, through two 8-pin connectors. Cards up to 312 x 160 x 55 mm fit. You also get four 5 Gbps USB-A ports, Gigabit Ethernet and 85 W of laptop charging, and Sonnet still sells it as current.
It’s the wrong buy for a Thunderbolt 5 laptop, since you’d pay about $400 for half the PCIe bandwidth. For a model in VRAM, that gap mostly shows up as longer load times. That’s why the 750ex is still a fair buy for a Thunderbolt 3 or 4 laptop. It had 136 reviews and limited stock from Sonnet’s Amazon store on October 27, so confirm the 750ex price before you commit.
Spend the least with the AOOSTAR EG02
Go for it if you want Thunderbolt 5 and OCuLink for the lowest price and accept a new listing.
The EG02 gives you the DEG2’s Thunderbolt 5 plus OCuLink combination, both at PCIe 4.0 x4, with 140 W of laptop charging. Its extra trick is a 6-pin-to-DC cable that sends 150 W from your ATX or SFX supply to a mini PC. A stand holds that mini PC above the card. Notebookcheck reports the second Thunderbolt 5 port is downstream only, at 27 W with DisplayPort output, so you can’t attach a second host to it.
Rule it out if your card is three slots or wider with a full metal bracket, which AOOSTAR says won’t fit. The listing is also new, with a single review on October 27. It was about $220 from AOOSTAR’s own store on Amazon, so look up the EG02’s live price.
Make Thunderbolt eGPU hotplug work on Linux
Hot-plugging an eGPU suits compute jobs like Ollama far better than a desktop drawing on the card. The ArchWiki says compute-only setups should support full hotplug, while Xorg needs the eGPU present when it starts. Plugging in still depends on authorization and BAR space, both covered below. Unplugging while a driver or process still holds the GPU is where systems freeze. That is true for every enclosure here, because the behaviour comes from the kernel and the GPU driver, not the box.
Authorize the enclosure with boltctl
Ubuntu and Fedora both ship bolt, the daemon behind GNOME’s Thunderbolt settings. Its boltctl tool lets you approve the enclosure once, so it connects on its own afterwards. Install it if your image lacks it:
sudo apt install bolt
On Fedora the package has the same name, so sudo dnf install bolt does the job. Connect and power the enclosure, then list what bolt sees and note the uuid line for the eGPU:
boltctl list
With nothing attached, as on our test VMs, the command prints nothing and exits cleanly. So an empty result means bolt can’t see your device. The enroll subcommand stores a device with a policy, and its help on Ubuntu 26.04 and Fedora 45 lists three values:
Usage:
boltctl enroll [OPTION…] DEVICE - Authorize and store a device in the database
Help Options:
-h, --help Show help options
Application Options:
--policy=POLICY Policy for the device; one of {auto, manual, *default}
--chain Authorize parent devices if necessary
Enroll the eGPU with the auto policy so bolt authorizes it every time you plug it in. Replace the UUID variable with the value from boltctl list. The command goes through polkit, so a desktop session asks for an admin password, and over SSH you’ll want sudo:
DEV_UUID="paste-the-uuid-from-boltctl-list"
boltctl enroll --policy auto "$DEV_UUID"
Add --chain when the eGPU sits behind a dock that needs approval too. If your iommu_dma_protection reads 1, you can often skip this step, because bolt enrolls new devices on those machines automatically. GNOME Settings can approve devices through bolt as well, on the Thunderbolt page under Privacy and Security, which only appears when bolt sees a controller. Our Thunderbolt 4 dock guide for Linux walks through boltctl on a regular dock.
Stop the GPU before you unplug it
NVIDIA’s driver README says the Linux driver supports eGPUs, but “system stability when an eGPU is unplugged while in use (also known as ‘hot-unplug’) is not guaranteed”. That’s why the NVIDIA X driver ignores external GPUs unless you set Option "AllowExternalGpus" "true". NVIDIA adds that short compute jobs tolerate an unplug better than a desktop. AMD cards fare better, since amdgpu hot-unplug handling was queued for Linux 5.14. Still, anything drawing on the card goes with it when the cable comes out.
For a compute-only box, release the card before you pull the cable:
- Stop every service that holds the GPU, such as Ollama and, on NVIDIA,
nvidia-persistenced, withsudo systemctl stop. - Run
nvidia-smi(oramd-smiorrocm-smion AMD) and confirm nothing is still using the card. - Unplug the Thunderbolt cable, then power off the enclosure.
The ArchWiki’s eGPU page notes that an active nvidia-persistenced is expected to block a clean hot-unplug, which is why it’s on the list. If you’re setting up the NVIDIA stack from scratch, the NVIDIA driver and CUDA install on Ubuntu covers the packages. Nothing about the driver changes for an external card.
Fix eGPU BAR “can’t assign; no space” errors
Large GPUs need a big memory window, and firmware often reserves only a small one for a port that was empty at boot. On current kernels, dmesg then shows a line like BAR 1 [mem size 0x10000000 64bit pref]: can't assign; no space followed by the same BAR with failed to assign, and the driver can’t use the card. Kernels older than 6.8 word it as BAR 1: no space for [mem ...], so search for both. Booting with the enclosure connected and powered gives the firmware a chance to size the window for the card that’s already there.
That cold-boot trick has a catch on USB4 and Thunderbolt 5 laptops. The thunderbolt driver resets USB4 v2 host routers by default since Linux 6.5, and since Linux 6.9 it also tears down firmware-built tunnels on USB4 v1 hosts that the kernel’s own connection manager runs. Both follow the thunderbolt.host_reset parameter, which defaults to on, and a Linux Foundation forum thread reports that thunderbolt.host_reset=0 keeps the firmware’s tunnel and BAR sizing. The same thread says a hot-plugged eGPU gets the default 256 MB BAR instead of Resizable BAR, and a Core X V2 owner on a Thunderbolt 4 laptop still saw 256 MB after a cold boot. So treat a large BAR over Thunderbolt as something to check, not something to expect.
If you must hotplug, these kernel parameters reserve or reassign space for hotplug bridges:
- You can add
pci=reallocso the kernel reassigns bridge windows the firmware made too small. - You can raise
pci=hpmmioprefsize=andpci=hpmmiosize=above their 2 MB defaults. - You can reserve extra bus numbers with
pci=hpbussize=(the default is 1).
The defaults come from the kernel parameter reference. Add them to the kernel command line the usual way for your distro (/etc/default/grub and update-grub on Ubuntu, grubby --update-kernel=ALL --args on Fedora). Which combination works depends on your laptop’s firmware, so add one at a time and check dmesg after each boot. If a parameter stops the laptop booting, open the GRUB menu (hold Shift or tap Esc at power-on on Ubuntu, where it is hidden), press e, delete the parameter from the linux line and boot. That only skips it once, so remove it for good from /etc/default/grub and rerun update-grub, or use grubby --update-kernel=ALL --remove-args on Fedora.
Send apps and models to the eGPU
To CUDA or ROCm an eGPU is just another PCIe GPU, so Ollama and llama.cpp should pick it up the same way. If your laptop also has a discrete GPU, pick the card by UUID. Ollama’s GPU docs prefer UUIDs because numeric order can change, and nvidia-smi -L prints them:
nvidia-smi -L
Put the eGPU’s UUID in CUDA_VISIBLE_DEVICES with an Environment= line under [Service] in sudo systemctl edit ollama.service, or use ROCR_VISIBLE_DEVICES for AMD. Restart the service with sudo systemctl restart ollama, because it only reads the variable at start. The Ollama install guide for Ubuntu 26.04 sets up the ollama.service unit you’d add it to. For desktop apps, switcherooctl launch from switcheroo-control runs a command on the first non-default GPU. Its help lists four commands:
Usage:
switcherooctl COMMAND [ARGS…]
Commands:
help Print help
version Print version
list List the known GPUs
launch Launch a command on a specific GPU
Want the eGPU to drive the whole Wayland desktop? The all-ways-egpu project flips the boot VGA device and shipped a release in September 2026. Its README warns NVIDIA owners not to re-enable the iGPU after boot, or you may get a black screen. The older egpu-switcher only handles X.Org and needs a reboot to switch, so skip it.
Error: “ModuleNotFoundError: No module named ‘gi'” from switcherooctl
On a Fedora 45 Cloud image, switcherooctl failed right after we installed switcheroo-control. The package didn’t pull in the Python GObject bindings it imports:
Traceback (most recent call last):
File "/usr/bin/switcherooctl", line 3, in <module>
from gi.repository import Gio, GLib
ModuleNotFoundError: No module named 'gi'
Install the bindings and the command works:
sudo dnf install python3-gobject-base
A Fedora Workstation desktop normally has that package already. You’re most likely to hit this on a minimal or server install you’re turning into an AI box. Ubuntu 26.04 didn’t need it.
Choose by what you run
Start from your laptop port and your workload, because the port caps the link and the workload decides how much that hurts:
- You have Thunderbolt 5 and models that fit in VRAM, so get the Razer Core X V2 and an ATX supply.
- You also own an OCuLink mini PC, so the Minisforum DEG2 serves both from one card.
- You want the PSU included and a triple-slot card, so buy the Sonnet Breakaway Box 850 T5.
- Your laptop tops out at Thunderbolt 3 or 4, so the Sonnet 750ex is enough.
- You’re on a tight budget, so the AOOSTAR EG02 is the cheapest Thunderbolt 5 box.
If your models don’t fit in 24 GB and you’d offload layers to laptop RAM, an enclosure is the wrong fix. That is exactly where the four-lane link halved prompt speed. A laptop with more unified memory is the better buy then, and the best laptops for local LLMs compares those machines side by side.



