{"slug": "why-your-own-provider-s-model-was-capped-at-128k-and-how-atlarix-finds-the-real", "title": "Why Your Own Provider's Model Was Capped at 128K, and How Atlarix Finds the Real Size Now", "summary": "Norah Labs' Atlarix, a private AI coding agent that works with any OpenAI-compatible model endpoint, released version 15.24 to fix a context-window bug that capped custom models at 128K tokens regardless of their real size. The agent now resolves context length in priority order: a user-set /model context value, a size reported by the server's /models list (max_model_len on vLLM, or context_length, context_window, max_context_length), an exact model-catalog match, and only then the 128K default. The company says the change stops million-token models from being truncated and prevents 32K models from being sent more than they can handle.", "body_md": "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.\n\nA 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.\n\nFor 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.\n\n128K 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.\n\nSince 15.24, for a provider you added, Atlarix takes the first answer it finds, in this order:\n\n`/model context <size>` in the CLI. It always wins.`/models` list reports a size (`max_model_len` on vLLM, or `context_length`, `context_window` or `max_context_length`), Atlarix uses it.\nLocal models in Ollama and LM Studio already report their real window, and they still do.\n\n| The model list shows | Where the size came from | \n|---|---|\n| 200K · yours | you set it | \n| 32K · server | your server's /models list | \n| 977K · catalog | an exact match in the model catalog | \n| 128K · default | nothing else answered | \n\nIf 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.\n\nUpdate Atlarix from the app, or download it at [atlarix.dev](https://www.atlarix.dev/). The other changes in this release are in the [Atlarix 15.24 post](https://www.atlarix.dev/blogs/atlarix-15-24-real-context-size-stop-ends-everything).\n\n**Why did my custom model run at 128K in Atlarix?**\n\nYour 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.\n\n**How do I set a model's context size in the Atlarix CLI?**\n\nRun /model context , for example /model context 262k or /model context 1m. /model context auto goes back to automatic.\n\n**Which /models fields does Atlarix read for the size?**\n\nmax_model_len (vLLM), context_length, context_window and max_context_length.\n\n**Does Atlarix guess from a similar model name?**\n\nNo. It only uses a catalog entry for exactly the same model, because models with similar names can have very different sizes.\n\n*Originally published at [atlarix.dev](https://www.atlarix.dev/blogs/why-your-own-providers-model-was-capped-at-128k).*", "url": "https://wpnews.pro/news/why-your-own-provider-s-model-was-capped-at-128k-and-how-atlarix-finds-the-real", "canonical_source": "https://dev.to/abishaiama/why-your-own-providers-model-was-capped-at-128k-and-how-atlarix-finds-the-real-size-now-2oeb", "published_at": "2026-12-04 05:44:07+00:00", "updated_at": "2026-12-04 05:45:01.175448+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "large-language-models", "developer-tools"], "entities": ["Norah Labs", "Atlarix", "vLLM", "Ollama", "LM Studio", "Qwen3.8-Flash-Next-NVFP4"], "also_reported_by": [], "takeaway": "Atlarix 15.24 resolves a custom endpoint's context window from a user-set /model context value, then the server's /models size fields (max_model_len, context_length, context_window, max_context_length), then an exact catalog match, falling back to 128K only when nothing answers.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/why-your-own-provider-s-model-was-capped-at-128k-and-how-atlarix-finds-the-real", "markdown": "https://wpnews.pro/news/why-your-own-provider-s-model-was-capped-at-128k-and-how-atlarix-finds-the-real.md", "text": "https://wpnews.pro/news/why-your-own-provider-s-model-was-capped-at-128k-and-how-atlarix-finds-the-real.txt", "jsonld": "https://wpnews.pro/news/why-your-own-provider-s-model-was-capped-at-128k-and-how-atlarix-finds-the-real.jsonld"}}