Skip to content

Local API server ​

Local Server exposes an OpenAI-compatible API so other apps can use the model you already have loaded.

How the screen is laid out ​

At the top, pinned while you scroll, sits the server state: running or stopped, the address with a copy button, the loaded model and the generation speed. The rest comes in four tabs:

TabWhat's in it
OverviewConnect (address, key, connection test), use it in another app, and what has been served so far
Performance"Adjust for this machine" (the recommendation for a model), configure llama.cpp, concurrency, measured speculation, benchmark history and GPU power
NetworkPort, local-network access and extra GPU on the network
AdvancedGlobal flags and the server log (the same lines as the logs panel, Ctrl+Shift+L, which also has the decider, 9router and the gateway)

On the first visit, Overview opens with three steps — start it, copy the address, paste it into the app that will use it. They disappear on their own once the server answers its first request.

Starting it ​

Press Start at the top and the address appears with a copy button. The port and network access live in the Network tab, and the concurrency numbers in Performance; all of them apply at start time — change one and the engine has to be stopped and started again. The screen says so.

SettingWhat it does
PortWhere it listens
Allow access from local networkOther devices on your network can reach the API
API keyOptional; when set, requests must present it (it lives in Connect, under Overview)
Concurrent models (Performance › Concurrency)With 1, switching models unloads the previous one — what most GPUs can take. Above that, models stay loaded together and may not fit in video memory
Conversations at once (Performance › Concurrency)Each simultaneous conversation takes a slice of the context window. With 1, the window you ask for is the window you get. It is the default for every model; a model with its own number in the engine configuration uses its own

The server log lives in the Advanced tab.

The build behind the API can change on its own: picking a Bonsai model restarts the server on the PrismML engine, and picking any other model restarts it on the official build. The header of this screen says which one is running, and /v1/models reports that build.

Configuring llama.cpp ​

The Performance tab holds Configure llama.cpp: the per-model load configuration, in the same place where the model gets loaded.

Pick a model from your library and the section shows what the file declares — whether it is MoE, whether it ships an MTP head, whether it has a vision projector, what window it was trained for. Recommend for this machine fills everything in by measuring your actual hardware (memory comes from llama-fit-params, shipped with llama.cpp itself, not from arithmetic of ours).

From there:

WhatWhere
Context window, KV cache, flash attention, visionDirect controls, each with what it costs
SpeculationMTP and n-gram, and both at once — they are complementary, see below
GPU layers, experts on CPU, batch, threads, mmap, mlockUnder "more options"
Every other flagA search across the whole catalogue of your installed llama.cpp — rope, yarn, cache-reuse, jinja, lora, override-kv, whatever exists

The catalogue is not a hand-written list that goes stale: the most used flags carry a label and a hint, and everything else is read from the binary itself. When the engine is updated, new flags show up in the search on their own.

Flags the app administers (port, API key, model path, cluster) appear with a padlock pointing at the right control, instead of vanishing.

Presets save a named set; Default, MTP turbo, VRAM saver and Long context ship with the app. Applying a preset merges over what you already had.

The preview shows the exact command and INI file the engine will receive on its next boot — generated by the same code that writes the real file, so what is on screen is what will happen.

Because the router only reads this configuration at startup, changes are marked as "effective on the next restart". The Load button restarts on its own when something is pending, and the same button unloads the model — video memory comes back immediately.

Measured speculation ​

Speculative decoding has the model guess several tokens ahead and check them all in one pass, keeping what it agrees with. Two kinds are on offer and they are complementary: a draft (MTP, from layers inside the file itself) guesses new text, while an n-gram guesses what is already written in the prompt — which is most of what a coding agent does all day, rewriting a file it just read. llama.cpp accepts both at the same time, so the app offers both.

Whether it pays off depends on the machine and on the kind of text, so the app does not decide by rule — it measures. Once per model, machine and engine version, while the machine is idle, it tries each combination on two prompts (code and prose, reported separately, because an average would hide exactly the thing that matters) and applies the winner. The engine restarts between tests; any use of yours interrupts and defers it. The switch that turns this off is on the same card.

A speed number cannot tell you the answer is broken

This is the part that matters. Speculative decoding is lossless — the large model checks every draft and throws away what it rejects — so at temperature zero the answer must be identical to the one you get with no speculation at all. The app compares the text, and refuses any configuration that changed it, showing the diverging passage instead of just claiming it checked.

It also tests itself first: if the reference run disagrees with its own repeat, the non-determinism is the GPU kernel's, not speculation's, and nothing is disqualified.

GPU power ​

Generating tokens is bound by the card's memory bandwidth, not by how much it may burn — and bandwidth does not rise with the power limit. So on this workload, lowering the limit usually costs almost nothing in speed while taking away a good deal of heat and consumption.

Usually is the honest word, so the card reads the state from NVML and lets you switch between the card's stock limit and an efficient target — both values come from the driver — and then tells you to measure. The performance history records the limit in force on every run, marking any comparison that crosses two different limits, so the experiment is one you can actually read.

Two things the card states rather than hides: applying needs administrator rights, and the limit does not survive a reboot — that is NVIDIA's design, documented in NVML, and no application works around it.

VRAM at stock clock (P2) ​

While CUDA runs, the NVIDIA driver puts the card in the P2 state, and in P2 the memory sits below its stock clock — on an RTX 3090 with driver 617.14, 9501 MHz instead of 9751. Since generating tokens is bound by bandwidth, that is worth about 2–3% tokens per second; the performance history shows before and after.

The Disable P2 for CUDA (VRAM at stock clock) option, on the same card and off by default, writes an application profile named OpenWeights (llama.cpp) to the driver, with the "CUDA - Force P2 State" setting Off for llama-server.exe and llama-bench.exe — the same tweak NVIDIA ships in the Discord and OBS profiles. The switch shows what the driver says, not what was clicked. What is different from the power limit:

  • It persists. The profile survives a reboot, and unchecking the option deletes the profile. If llama-server.exe was already in a profile of yours (made in NVIDIA Profile Inspector, say), the app writes the setting there, only that one, and puts back what was there when you uncheck. That includes an entry with a path (cuda-13.3/llama-server.exe): the driver applies the most specific entry, so the app also asks about the full path of each installed engine. If P2 stays off through a profile the app did not write, or through the driver's global profile, unchecking leaves it alone and the card says so.
  • It takes effect the next time the server starts. The driver reads the profile when the process loads CUDA. The card offers Restart now; it never restarts on its own.
  • It applies to any llama-server.exe and llama-bench.exe on the machine, and to nothing else. The driver's base (global) profile is not touched.
  • It may ask for administrator. The app tries without; if the driver refuses, it runs itself elevated (openweights.exe --ow-drs-p2 off) and Windows asks for confirmation.
  • A driver update can reset the profile. The app remembers you turned the option on and tells you ("the driver lost the setting"), with a button to apply it again and another to drop the option, which writes nothing when the driver already has nothing of ours. The configuration backup does not carry this option: importing a file never asks for administrator.
  • Memory runs a little warmer. On GDDR6X cards, watch the memory junction temperature in a monitor such as HWiNFO; the driver does not report it on GeForce cards.

Windows only: the application profile belongs to NVAPI. On Linux the option does not show. On Windows it shows even when the driver does not report the power limit (many laptops): the card then carries only this option.

Performance history ​

Every measurement is kept per machine, model and engine build, with the change against the previous run. Two numbers, not one: generation and prompt processing are different jobs, and they get separate deltas with separate conditions — comparing 800 tok/s on a 512-token prompt with 300 on a 4096-token one called a regression what was simply another axis.

A run is left without a delta when the engine version changed, when the card was heating up during it, or when there is nothing comparable before it. The screen says which.

Global flags ​

In the Advanced tab, a card holds the flags that apply to every model. Process flags become llama-server arguments; the rest go into the INI's [*] section, and a model's own setting always wins over the global one.

Open in a harness ​

Under Overview, the Use it in another app card hands your models to an external coding agent pointed at your local API — one click, no endpoint to configure by hand. This is also where agent work lives now: the app has no chat-with-tools of its own.

HarnessHow
AgenticOwOur fork of the DeepSeek Harness, with a screen of its own in the sidebar — start, stop and remove it from there, and use it inside the app's window. The app installs a prebuilt, verified runtime in an app folder (on its portable Node) and hands it all your providers and models, keeping them current while it runs. The card here takes you to that screen
Claude CodeLaunched against your local API, with the model already selected
AiderStarts pointed at your API, with the model already selected
OpenCodeSame, through the environment variables it expects

Each card says whether the program is installed, shows the command (copyable) and offers the Open button, which starts the program in a terminal session on the OwCLI screen and takes you there. On Windows the card also offers External terminal, for a window of its own. When it is not installed but npx exists, the app uses npx and shows the command for installing it for good.

The AgenticOw screen is where its whole life cycle lives: the progress of the first open (download, verification, start), its interface once it is up, and an uninstall that can also take the sessions and settings created inside it. The Agent button in the Chat composer takes you to the same screen.

The app also tells AgenticOw two things about each local model that it would otherwise leave to guesswork. The output cap is declared from the model's own context window (half of it), instead of AgenticOw assuming 32k for every model — a number that a small model cannot honour. And when the model's chat template reads enable_thinking — Qwen3 and friends — the app declares the reasoning switch, so AgenticOw shows an effort selector with an Off that really turns thinking off. That matters more than it sounds: a reasoning model asked for something open-ended ("build me a beautiful site") can spend its entire output budget thinking, and stop before writing a single file.

The key never rides in the command

When you set an API key, it travels through an environment variable — never on the command line, which any process on the machine can read. The preview shows the key masked.

Using it ​

bash
curl http://127.0.0.1:PORT/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model": "YOUR-MODEL", "messages": [{"role": "user", "content": "Hello!"}]}'
python
from openai import OpenAI

client = OpenAI(base_url="http://127.0.0.1:PORT/v1", api_key="local")
resp = client.chat.completions.create(
    model="YOUR-MODEL",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)

GET /v1/models lists what is loaded. Model ids are the ones shown in My Models.

Local network means local network

Turning on network access removes the "only this machine" boundary. Anyone on the same network reaches your models — set an API key, and only enable it on a network you trust.

Requirements ​

The AI engine has to be installed first — that happens on your first run. Until then the screen says so rather than failing on start.

Borrowing a GPU from another machine ​

The same screen carries the pairing panel for Extra GPU on the network: another OpenWeights on your network lends its card so the two of them can load a model neither could hold alone. It is off by default.

Seeing what is running ​

Logs. Ctrl+Shift+L (or the logs button in the status bar, or the command palette) opens a panel with everything that runs under the app: the server, the decider, 9router, the OwCLI gateway and OpenWeights itself. It filters by source and text, pauses so you can read, copies, saves to a file in the app's exports folder and clears. What the server said while it started is still there when you open the panel later.

The command it runs. In Performance, the preview shows the exact llama-server command, the environment and the INI of the models, and says whether what is running is what is configured ("Pending changes" means a restart will change something). Copy as a command gives a shell line with the API key masked; Show the INI in its folder opens the file.

Backing up the configuration ​

Settings › Configuration backup exports what you set up — server, per-model profiles, presets, sources, OwCLI projects — as JSON, and imports it on another machine. Importing merges (what the file brings replaces what exists) and asks first, saying what is in the file. API keys, the OpenRouter key and the Hugging Face token stay out unless you tick the box, and then the file is as sensitive as the keys themselves. A running server uses the imported configuration after a restart.