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

Yes, but only in a reduced, experimental form. Yeo Kheng Meng ported the C inference engine llama2.c to DOS using Open Watcom v2 and a 32-bit DOS extender. The smallest tested TinyStories model ran on a 486 DX-2 at 2.08 tokens per second. That is a demonstration of local language-model inference on old hardware—not evidence that a full-size 7B, 13B, or 70B Llama 2 model is practical on a vintage PC.

What “Llama 2 on DOS” means

The project adapts Andrej Karpathy’s llama2.c, a compact, single-C-file implementation for running FP32 Llama 2 inference. It uses small TinyStories models created to make basic language-model functionality possible on resource-constrained systems. The project’s documented model files range in size from 260K to 110M.

So the accurate answer to “Can a 486 run an LLM?” is that a 486 has run the smallest model in this particular DOS port. It does not mean DOS is running a standard full-sized Llama 2 model. The author published both source code and an executable, with demonstrations on a 1996 Toshiba Satellite 315CDT with a 200 MHz Pentium MMX, a 2004 ThinkPad T42 with a 1.7 GHz Pentium M 735, and a 2020 ThinkPad X13 Gen 1 with a 1.7 GHz Core i5-10310U running FreeDOS 1.4. The project page and source repository document the port and demonstrations.

Why it needs a 32-bit DOS setup

The documented target is 386-or-newer hardware, using a 32-bit DOS extender. This is not a conventional 16-bit DOS program: the inference code and even the smallest model’s memory demands require a 32-bit path. The author describes the memory requirement as needing “at least a 32-bit system.” The project notes explain the compatibility approach.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

In broad terms, Open Watcom v2 compiles the program for the DOS extender, which allows it to use 32-bit protected mode. That is why “runs on DOS” should not be read as “runs as-is in a stock 16-bit MS-DOS 6.22 environment.” The project’s documented method depends on the extender and a suitable model file.

What had to change in the port

  • Floating-point functions: The port wraps functions missing from the DOS build environment, including sqrtf, powf, cosf, sinf, and expf, using available double-precision functions.
  • Model-file loading: Modern memory-mapping calls were replaced by loading the entire model file into memory. The available RAM must therefore accommodate the file and the program’s working needs.
  • Timing: Unavailable high-resolution timing APIs were replaced with the compiler’s clock() function.
  • Filename compatibility: A tokenizer filename was shortened to comply with DOS’s 8.3 filename limit.

These are port-specific adjustments rather than instructions for installing a general-purpose Llama 2 package on any DOS machine. Current build details and binaries are maintained in the project repository.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

How fast is it on a 486 and other systems?

The following figures are the project author’s reported measurements from 2025. Each listed result uses the 260K model unless otherwise noted; they are not independent benchmark replications.

System Model Reported speed Hardware context
Generic 486 DX-2, 66 MHz 260K 2.08 tokens/s Vintage 486-class PC
Toshiba Satellite 315CDT, Pentium MMX, 200 MHz 260K 15.32 tokens/s Vintage laptop
Pentium III, 667 MHz 260K 80.04 tokens/s PC CPU; specific system not stated
ThinkPad T42, Pentium M 735, 1.7 GHz 260K 331.6 tokens/s 2004 laptop
ThinkPad X13 Gen 1, Core i5-10310U, 1.7 GHz 260K 386.36 tokens/s 2020 laptop running FreeDOS 1.4
Ryzen 5 7600 260K 927.27 tokens/s Modern CPU; DOS environment

The table also reports results for the larger 110M model: 1.71 tokens/s on the ThinkPad T42 and 1.53 tokens/s on the ThinkPad X13 Gen 1. The Ryzen 5 7600 could not load the larger models because of a memory-allocation error; the author says the DOS extender or protected-mode implementation may be involved. The figures and explanation are in the project’s benchmark and source repository.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

The 486 result is remarkable as a demonstration, but tokens per second is only one part of usability. The model is exceptionally small, and the DOS port loads it fully into memory. Model size, available RAM, CPU generation, and whether the test uses vintage hardware or a modern computer running a DOS environment all matter when interpreting the numbers.

Can you run it on your own DOS PC?

For a reproduction, the documented ingredients are the author’s dosllam2 source or executable, Open Watcom v2, a 32-bit DOS extender, and a small TinyStories model. Check the repository’s current instructions for exact build steps and available downloads, since those details can change.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
  1. Confirm the environment: Use 386-or-newer hardware and a DOS setup capable of running the 32-bit extender. A standard 16-bit-only setup does not match the documented target.
  2. Choose a small model: Start with the smallest available TinyStories model. The tested model sizes range from 260K to 110M, and larger files increase memory demands substantially.
  3. Build or obtain the program: Follow the current instructions in the project repository for Open Watcom v2 and the DOS extender.
  4. Check file and memory constraints: The program loads the complete model file into memory, and DOS filenames may need to follow the 8.3 convention.
  5. Run the executable and interpret the output as a demonstration: Performance will depend on the hardware and model; the author’s 2.08 tokens/s 486 result is a useful reference, not a guaranteed result for every system.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What this demonstration does—and does not—show

It shows that a small neural language model can perform local inference on DOS when paired with a 32-bit extender, compatible compiler setup, and modest model. It does not establish that a full contemporary Llama 2 model will run comfortably on a 486, nor that every DOS configuration can run the port. The project’s own benchmarks also show that more modern hardware does not automatically eliminate issues: the Ryzen system hit a memory-allocation failure with larger models.

Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 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.

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.