What is BaseRT?

4 min readMarkdown

BaseRT is an inference engineInference engineThe layer that does the actual maths, such as llama.cpp or MLX.Read more 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 and llama.cpp.

What it is

BaseRT sits at the engine layer of What is a runtime, and what sits under my app?, next to llama.cpp and MLXMLXApple's machine learning framework for Apple silicon.Read more. 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. 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.

PlatformRequirement
Apple siliconM1 or later, macOS 15 or newer
NVIDIA GB10 (DGX Spark)Linux on arm64 with a CUDA driver
AMD Strix Halo or Strix PointLinux 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 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? covers the Strix Halo and DGX Spark machines it targets.

The .base format

BaseRT reads its own .base format. A .base bundle holds the weightsWeightsThe full set of a model's parameters, stored in a file.Read more with affine quantizationQuantizationStoring each weight with fewer bits so the model takes less memory.Read more from Q2 to Q8, optional AWQ calibration and an optional signature. What is 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 GGUFGGUFThe single-file model format used by llama.cpp and the apps built on it.Read more, Hugging Face or MLX checkpoint into .base.

Base Compute also publishes ready-made quantizations called BaseQuant. Which quantization should I download? 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.

shell
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.

shell
brew install basecompute/tap/basert

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

shell
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:

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

basert serve runs Superfluid, 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? 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
shell
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. 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. 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 deeperThat's enough

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.

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

The README suggests a dense modelDense modelA model where every parameter runs for every token.Read more for tool callingTool callingA model asking the app to run a function, such as a search or a shell command.Read more. Can I run a coding agent on a local model? 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 runtimeRuntimeThe software that loads a model file and runs it.Read more, 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? explains what an NPU does.