# What is BaseRT?

> BaseRT is an inference engine from Base Compute for Apple silicon, NVIDIA's GB10 and AMD's Strix chips. It reads its own .base format and serves models through the Superfluid server.

BaseRT is an inference engine made by Base Compute. It runs on a short list of chips: Apple silicon, NVIDIA's GB10 in the DGX Spark, and AMD's Strix Halo and Strix Point. If your machine is on that list, it is one more engine worth testing against [MLX](https://localagi.co/mlx) and [llama.cpp](https://localagi.co/llama-cpp).

## What it is

BaseRT sits at the engine layer of [What is a runtime, and what sits under my app?](https://localagi.co/the-stack), next to llama.cpp and MLX. Its GPU kernels are hand-written for each supported chip, through Metal on Apple, CUDA on the GB10 and ROCm on AMD. One command-line tool, `basert`, downloads, converts, chats and serves.

The project lives at [github.com/basecompute/baseRT](https://github.com/basecompute/baseRT). The CLI, the `.base` format, the C API and the bindings for Python, Node, Rust and Swift are under the Apache-2.0 licence.

**The catch.** 
The engine itself ships as a prebuilt binary under its own proprietary licence. The tooling around it is open, the part that does the maths is not. If you need open source at every layer, llama.cpp and MLX meet that and BaseRT does not.

## Supported hardware

The README lists three platforms and nothing else.

| Platform | Requirement |
| --- | --- |
| Apple silicon | M1 or later, macOS 15 or newer |
| NVIDIA GB10 (DGX Spark) | Linux on arm64 with a CUDA driver |
| AMD Strix Halo or Strix Point | Linux on x86-64, Ubuntu 24.04 or newer, AMD's ROCm 10 runtime and a kernel AMD supports |

There is no Windows build, no Intel support and no listed support for desktop graphics cards. For an RTX card or a Radeon, [llama.cpp](https://localagi.co/llama-cpp) is still the engine to use.

On AMD the setup takes more steps: AMD's package repository, a BLAS package for your exact chip and a supported kernel. The installer checks all of this and prints the commands for your machine. [Are the big unified-memory boxes worth it?](https://localagi.co/unified-memory-boxes) covers the Strix Halo and DGX Spark machines it targets.

## The .base format

BaseRT reads its own `.base` format. A `.base` bundle holds the weights with affine quantization from Q2 to Q8, optional AWQ calibration and an optional signature. [What is quantization?](https://localagi.co/quantization) explains what the bit widths cost you.

You rarely convert by hand. `basert pull` downloads a model from Hugging Face and converts it on arrival. `basert convert` turns a local GGUF, Hugging Face or MLX checkpoint into `.base`.

Base Compute also publishes ready-made quantizations called BaseQuant. [Which quantization should I download?](https://localagi.co/choosing-a-quantization) covers them.

**The catch.** 
A `.base` file runs only in BaseRT and the servers that load it. A GGUF works in llama.cpp, Ollama, LM Studio and most apps. If you keep using those too, you keep two copies of each model on disk.

## From the command line

Install the engine and the CLI with the install script.

```bash
curl -LsSf https://basecompute.co/install.sh | sh
```

It puts both in `~/.basert` and adds that to your `PATH`, so restart your shell afterwards. Homebrew, pip and npm work too.

```bash
brew install basecompute/tap/basert
```

Pull a model, then chat with it in the terminal.

```bash
basert pull Qwen/Qwen3-4B
basert chat Qwen/Qwen3-4B
```

Models land in `~/Library/Caches/baseRT/models` on macOS and `~/.cache/baseRT/models` on Linux. `basert list` shows what you have.

To serve an API:

```bash
basert serve Qwen/Qwen3-4B --api-key "$(uuidgen)" --port 8080
```

`basert serve` runs [Superfluid](https://localagi.co/cluster-tools), Base Compute's server, and installs it on first use. It serves OpenAI, Anthropic and Ollama compatible endpoints, so the code in [How do I call a local model from code?](https://localagi.co/local-api) works against it. Clients must send the key you set, so keep a copy of it.

**The catch.** 
basert updates itself by default. A command run in a terminal moves to a new release as soon as it is out. `basert self auto-update off` turns that off, and `basert self auto-update wait 3` waits three days after each release.

**Try it.** 

```bash
basert chat Qwen/Qwen3-4B
```

## Speed claims

Base Compute says BaseRT is up to 7.4 times faster than llama.cpp, a vendor-reported figure from its [inference page](https://www.basecompute.co/inference). It carries the word "up to", so treat it as a best case on chosen models and chips. We have not seen an independent test that confirms it.

Measure it yourself before you switch. Run the same model at a similar file size in BaseRT and in MLX or llama.cpp, using [a quick benchmark](https://localagi.co/benchmarking). `basert bench` gives BaseRT's own throughput number.

**Rule of thumb.** 
Try BaseRT if your machine is on its list and you want to compare engines. Stay with llama.cpp if you need one setup across many kinds of hardware.

## Go deeper

### Bindings

BaseRT has bindings for Python, Node, Rust and Swift over one C API. The Python one loads a `.base` file and generates text.

```python
import baseRT

model = baseRT.Model("models/your-model.base")
print(model.generate_text("The capital of France is", max_tokens=64))
```

### As a coding-agent backend

The pi coding agent can use BaseRT through an extension called pi-basert. It finds whatever models your server is running.

```bash
basert serve basecompute/gemma-4-E2B-it
pi install git:github.com/basecompute/pi-basert
pi
```

The README suggests a dense model for tool calling. [Can I run a coding agent on a local model?](https://localagi.co/coding-agents) covers agents and the models they need.

### Beyond text

BaseRT handles text, vision and audio on supported models. When Superfluid serves a model, images and audio work only on its BaseRT runtime, not on its llama.cpp or MLX runtimes.

### The NPU on AMD

Recent releases also use the XDNA2 NPU on Strix chips to read prompts faster, next to the GPU. That needs the NPU driver, AMD's XRT packages and an unlimited locked-memory limit. Without them it runs on the GPU alone, and the installer says what is missing. [Can I run models without a GPU?](https://localagi.co/cpu-and-npu) explains what an NPU does.
