Opening GitHub…Opening Discord…

    Why Your Own Provider's Model Was Capped at 128K, and How Atlarix Finds the Real Size Now

    December 2026~4 min readDeep Dive

    Atlarix is the private AI coding agent for any model, by Norah Labs, and that includes models behind your own endpoint: a vLLM server, a company gateway, or any OpenAI-compatible address. A user told us that every model from their provider ran at 128K tokens of context, whatever the model really holds. They were right. Here is why that happens in coding agents, and how Atlarix finds the real size since 15.24.

    Why an agent needs the size at all

    A coding agent sends your conversation, your files and its tool results to the model on every step. It has to know how much fits. Too high, and the provider refuses the request when a long task gets near the end of the window. Too low, and the agent compacts (summarises older steps) long before it needs to, so the model forgets things it could have kept.

    For well-known providers, the size is in a public catalog. For a model behind your own address, there is often nothing to look up, so the agent has to guess.

    Why the guess was 128K

    128K tokens is a common size for current models, and a safe middle when nothing else is known. The trouble was that Atlarix fell back to it too often. Many OpenAI-compatible servers don't say how large a model is in their /models list, and custom ids like 02 - Qwen3.8-Flash-Next-NVFP4 don't match any catalog entry as written. So a model that holds a million tokens ran at 128K, and one that holds 32K was sent more than it could take.

    The order Atlarix uses now

    Since 15.24, for a provider you added, Atlarix takes the first answer it finds, in this order:

    1. 1Your size. Set it in the app's model list (Context size), or with /model context <size> in the CLI. It always wins.
    2. 2Your server's. If your /models list reports a size (max_model_len on vLLM, or context_length, context_window or max_context_length), Atlarix uses it.
    3. 3An exact catalog match. The id is compared after ignoring case and punctuation. It must be the same model, never a model from the same family: in the catalog, one Qwen model holds 262K and its sibling with a similar name holds 1M. If two catalog entries disagree, Atlarix takes the smaller.
    4. 4128K, only when none of the above answers.

    Local models in Ollama and LM Studio already report their real window, and they still do.

    200K · yours

    Where the size came from
    you set it

    32K · server

    Where the size came from
    your server's /models list

    977K · catalog

    Where the size came from
    an exact match in the model catalog

    128K · default

    Where the size came from
    nothing else answered

    What to do if yours shows 128K · default

    If you know the model's size, set it: /model context 262k in the CLI (or 1m, or a number of tokens), or the Context size field in the app. If you run the server, have /models report the size; vLLM does this with max_model_len. Then the right number reaches everyone who uses that endpoint, with no setting to copy around.

    Update Atlarix from the app, or download it at atlarix.dev. The other changes in this release are in the Atlarix 15.24 post.

    Questions

    Why did my custom model run at 128K in Atlarix?
    Your server didn't report the model's size and its id didn't match a catalog entry, so Atlarix used its 128K default. Since 15.24 it reads your setting, your server's size, then an exact catalog match first.
    How do I set a model's context size in the Atlarix CLI?
    Run /model context <size>, for example /model context 262k or /model context 1m. /model context auto goes back to automatic.
    Which /models fields does Atlarix read for the size?
    max_model_len (vLLM), context_length, context_window and max_context_length.
    Does Atlarix guess from a similar model name?
    No. It only uses a catalog entry for exactly the same model, because models with similar names can have very different sizes.