In development · Benchmarking now

The engine
for local AI

Bring your model. Loculus Core brings it to life.

The engine

Between the model
and the metal

From the moment a model file arrives to the last token of a response, the last pixel of a picture or the last frame of a video, ten systems do the work. Scroll to step through them, drag to turn the engine, or pick a layer.

01 · Model loading

Reads the model, not a rulebook

A model arrives as a single GGUF file. Loculus Core reads its architecture, tokenizer and chat template straight from it, so a new model from a supported family runs without new code.

  • Zero-copy GGUF loading
  • Architecture auto-detection
  • Tokenizer auto-config
  • Native chat templates
  • Tool-call format detection

20 architectures · 22 quantization formats

02 · Auto-tuning

Measured on your machine

First start fingerprints your GPU, CPU, memory and SSD, then benchmarks the fastest kernel settings for this exact hardware, in seconds and once. Every start after that is instant.

  • Hardware fingerprinting
  • Per-shape kernel autotuning
  • GPU cache & SSD calibration
  • Runs with or without matrix cores
  • Persisted tuning profiles

Zero configuration

03 · Memory & KV cache

Every spare byte. Never one too many.

No fixed split between engine and system: memory grows into what is free while the engine works and is handed back the instant anything else needs it. The KV cache grows the same way, only as the context fills.

  • Elastic memory allocation
  • Pressure-aware reclamation
  • On-demand KV cache growth
  • Adaptive KV-cache compression
  • Up to 1M-token context

KV memory scales with use, not with max context

04 · MoE expert offloading

Bigger than your memory

Mixture-of-experts models larger than RAM keep their experts on the SSD. The experts each layer needs are predicted ahead and streamed in before they are asked for; recent ones stay in spare memory.

  • SSD → RAM → GPU expert tiers
  • Predictive expert prefetch
  • High-throughput SSD streaming
  • Elastic expert cache
  • Models larger than RAM

748B parameters on a 96 GB machine

05 · Infinity Context

Long jobs never hit the wall

Every model has a fixed context, and a long agent session soon outgrows it. Loculus Core manages the model’s working memory itself, so the session carries on: the task and the work in hand stay exact, finished work takes less and less room, and the model can ask for what was set aside. Even a single message larger than the context goes in, as its ends and a map of the rest. Old reasoning gives way first, so a reasoning model keeps room to think about the next step.

  • Sessions longer than the context
  • Task kept word for word
  • Earlier work on request
  • Room kept free for reasoning
  • No summaries, no settings

A session that grew to 189K tokens finished in a 64K context

06 · Prefill & prefix caching

Only new tokens cost time

Conversations are checkpointed as they grow and long prompts are cached on disk, so an agent’s next turn prefills only what is new, even after a restart.

  • Prefix caching
  • State checkpointing
  • Persistent prompt cache
  • Matrix-core prefill
  • Chunked long-context prefill

8k-token prompts resume in under a second

07 · Decoding

Faster, and still the model’s own words

Draft tokens race ahead and the model keeps only those it would have chosen itself, so code edits generate up to 3.1× faster.

  • Lossless speculative decoding
  • No separate draft model
  • Batched verification
  • Long-context decode attention
  • Cache-aware kernels

Only the model’s own picks are kept

08 · Image & video generation

Paints and films what you describe

Picture and video models run on the same engine as your chat model. A diffusion transformer, guided by your prompt, refines random noise into a picture, or into a whole clip whose frames and sound are made together in one pass: the rain is heard on the glass, the footsteps land in time. Describe a scene, or give it a picture to bring to life.

  • Diffusion transformers
  • Video with its own sound
  • Text or picture to video
  • OpenAI Images & Videos APIs
  • Seeded, repeatable results

Pictures to native 8K · video with sound to 4K

09 · API server

Speaks the APIs you already use

One engine behind the Anthropic Messages, OpenAI Responses, Chat Completions, Images and Videos APIs. Point existing agents and apps at it and go.

  • OpenAI & Anthropic APIs
  • Structured outputs
  • Native tool calling
  • Reasoning streams
  • Streaming (SSE)

Drop-in for existing clients

10 · Runtime & kernels

Built from first principles

No borrowed runtime. Every CPU and GPU kernel is written from scratch for this engine, and every model is validated against an exact reference before it ships.

  • Graph-free runtime
  • Custom Vulkan & CPU kernels
  • Low-overhead GPU dispatch
  • Fused kernels
  • 22 quantization formats

Validated against an exact reference

A man at night reading a private AI assistant on a tablet, its screen lit green

Private by design

Evolving local AI
for the future

Run large language models locally, on hardware you own: your models and your data never leave it. No cloud round trip, no per-token bill, no connection required. As open models grow, Loculus Core grows with them.

Compatibility
A small, minimal computer with a thin green light line, on a polished black surface

Lean by design

Unblocking hardware
and memory constraints

Experts stream from the SSD, context costs memory only as it fills, and long histories are compacted as they age. A 748-billion-parameter model runs on one machine with 96 GB of memory.

Performance

Status

Now in benchmarking

Loculus Core is in benchmarking and compatibility testing across model families and GPUs. The first release is for Linux, then Windows, Android, macOS and iOS: buy once, sign in with Google or Apple, and download on any of your devices.