Your local coding agent can find the first route in a configuration file and still miss the override near the end. Before raising the Junie Local context length, reproduce the lookup with an answer you can grade. Then run the same request in a fresh session at a higher limit and see whether the answer improves enough to justify the wait and memory use on your Windows machine.
You’ll install the Inkling-2-Mini preview, make a disposable repository with one route file, and compare 150K with a larger setting. The result is a context setting you can defend for this kind of repository question. The comparison records the answer, the context estimate, the first-response delay, and the pressure on dedicated GPU memory and system RAM.
Install the preview and verify the model
- Check that your machine runs Windows 11 and has a discrete NVIDIA RTX GPU from the Ampere generation or newer, with at least 16 GB of VRAM. The Windows requirements in the general Junie Local docs also list NVIDIA driver 581 or newer, the Microsoft Visual C++ runtime, and roughly 21 GB of free disk space. That disk figure describes the general installer requirements. Leave additional room if you already keep other model versions on the machine. JetBrains Junie Local documentation
- For this 16 GB GPU preview, connect the display to the motherboard output and make sure the integrated GPU is driving it. JetBrains calls out display use because Windows and an open browser can already occupy part of the discrete card’s VRAM. Check system RAM separately. JetBrains reports fitting its preview on a system with 16 GB of RAM, and the amount available on your machine depends on the other software you have open. JetBrains Inkling-2-Mini preview
- Run the publisher’s preview command below from a Windows command prompt. It starts PowerShell, sets the installer switch in that process and downloads and runs the JetBrains installer. After you create the fixture in the next section, open a terminal at the root of that disposable repository and run
junie. Launching from the project root lets you pick files in the project you intend to test. Junie CLI quickstart - In the interactive Junie CLI, enter
/modeland select the local Inkling-2-Mini entry. If the picker has several provider tabs, use Tab or Shift+Tab to reach the local model. Confirm the selection before sending the fixture. If Inkling-2-Mini is absent, stop the comparison there. The selected model is part of the test, so a different entry gives you a different experiment. Junie slash command reference
powershell -NoProfile -Command "[Environment]::SetEnvironmentVariable('JUNIE_LOCAL_MODEL', '1', 'Process'); iex (irm 'https://junie.jetbrains.com/install.ps1')"
junie
The December 3, 2026 preview post supplies the Inkling-specific setup and the Change Local Model Settings menu label. The general Local docs describe installer checksum verification, generated model configuration, and the selection flow after a standalone install. Their model list describes the general offering. Use the preview post for this particular build and the picker to establish which model actually became available. JetBrains preview setup · Junie Local installation documentation

If installation ends during a download, record where it stopped before rerunning the same setup. The general Local docs describe resumable downloads and marking unpacked artifacts as installed. If setup reaches completion but the selected model is missing, preserve the installer output and check the preview instructions before changing settings. A download problem, a missing model entry, and a model that appears but fails on its first request occur at different points in the workflow. Keeping those observations separate saves you from treating a setup failure as a context result. Junie Local installation and engine lifecycle
Build a route lookup you can grade
- Make a scratch repository using your usual editor or Git interface. Give it a root-level file named
routes.jsonand paste the complete fixture below. Keep the scratch project free of other application files so there is only one route source. You can create the repository and edit the file manually. The lookup only needs the file, so leave any application services stopped. - Keep the answer key outside the scratch repository and out of the conversation. Leave the route file unchanged after you start comparing runs. If you accidentally edit it, restore the block below and start that comparison again with fresh sessions.
- When you submit the inspection prompt, select
routes.jsonthrough Junie’s@file picker. Use the reference inserted by the picker in place of the first line shown in the prompt. Junie documents@as a way to attach a project file to request context. The prompt names the file in ordinary text as well so the intended source stays clear. Junie CLI file references
{
"route_defaults": {"timeout_ms": 1000, "retries": 1},
"routes": [
{"name": "maple-entry", "timeout_ms": 350, "retries": 0},
{"name": "cedar-events", "timeout_ms": 700, "retries": 1},
{"name": "pine-status", "timeout_ms": 800, "retries": 1},
{"name": "birch-read", "timeout_ms": 1100, "retries": 2},
{"name": "quartz-index", "timeout_ms": 2400, "retries": 2},
{"name": "elm-status", "timeout_ms": 900, "retries": 1},
{"name": "ash-export", "timeout_ms": 3100, "retries": 1},
{"name": "willow-read", "timeout_ms": 1200, "retries": 2},
{"name": "harbor-drain", "timeout_ms": 8750, "retries": 4}
]
}
@routes.json
Read the attached routes.json for task:route-lookup-01. Return exactly three data rows in a Markdown table with the columns source, name, timeout_ms, and retries. In order, report maple-entry, quartz-index, and harbor-drain. Read the explicit values from each matching object in the routes array. If a requested field or route is unavailable, write missing for that value. Use only the attached file. Answer from the attachment without running commands, calling tools, or editing files.
The first, fifth and ninth route objects sit near the beginning, middle and end of the file. All three have explicit timeout and retry values. The defaults give you a recognizable failure signature. If the response says 1000 and 1 for harbor-drain, you can identify precisely which values the agent substituted. The neighboring entries offer another check. For example, 1200 and 2 on the harbor-drain row match willow-read, the object immediately above it. Source attribution matters because on a real repository task you need to know which file to open and verify before acting on the numbers.
| Source | Name | timeout_ms | retries |
|---|---|---|---|
routes.json |
maple-entry |
350 | 0 |
routes.json |
quartz-index |
2400 | 2 |
routes.json |
harbor-drain |
8750 | 4 |
Grade each row as a unit. The route name, both numbers and the source must match. A path such as ./routes.json identifies the same file and is fine. Zero retries on maple-entry is a value and should survive intact. If the numbers match but the file is missing, you have an answer you can recognize but no source in the response to follow. Record the missing attribution explicitly. The model author identifies hallucinations and occasional instruction-following failures among the model’s limitations, so check the file even when the answer looks polished. Thinking Machines Lab model card
Keep the original answer for each run. If the first response gives two correct rows and one wrong row, write down which row failed and the values returned. A follow-up asking the agent to look again would supply a clue and change the conversation. Start a new trial with the original prompt if you need another observation. That gives you two independent conversations to grade against the same key and leaves both answers available for comparison.
The fixture is deliberately small. It gives you a first test of file attachment, model selection and exact extraction. A pass demonstrates that the setting completed this lookup. For a decision about a larger repository input, bring the same method to a file whose size and structure resemble the job you actually do. Keep the short fixture available to tell whether a failure also occurs with a tiny input. The same principle of grading against known values applies to checking agent-written queries. Datasette Lite join verification guide
Compare 150K with a larger limit in fresh sessions
- Enter
/settings, open Change Local Model Settings, and record the original context setting before touching it. Use the documented preview default of 150K for the first condition. If an existing installation shows a different value, save that value for rollback and select or enter the equivalent of 150K using the units displayed by the menu. Reopen the menu to confirm what it shows. JetBrains preview settings instructions - Run
/newwith no prompt text to open an empty live session. Confirm Inkling-2-Mini under/model, and hold the reasoning effort constant if the picker exposes it. Open Task Manager as described in the next section before submitting the prompt. Attach the fixture and submit the inspection prompt. Start a stopwatch at submission and stop it at the first visible text of the answer. Keep a separate note of any loading, tool activity or approval prompt you see while waiting. Junie slash command reference - When the answer finishes, score it against the key and run
/context. Record the estimated context used and free space if available. If no measured request appears, writeunavailable. The report describes the last measured main-agent request, which may be a later request within a turn if tools were used. Treat this as a reading for that request only. Junie/contextreference - Reopen the same settings menu. Use 384K as the larger comparison point if your preview exposes or accepts it, because it is a context size JetBrains reports testing. If the build offers different choices, pick one shown by the screen above 150K and record the exact displayed value. Confirm the setting, start another empty
/newsession and check/modelagain. Then attach the unchanged file and run the identical prompt. Keep other applications and the measurement method the same. JetBrains preview and benchmark · Junie slash command reference
| Input | Action | Expected result |
|---|---|---|
task:route-lookup-01 with routes.json, Inkling-2-Mini and the displayed 150K limit |
Enter /new, verify the model with /model, attach routes.json through @, submit the inspection prompt, then enter /context. |
Illustrative pass. Three rows cite routes.json and give maple-entry 350/0, quartz-index 2400/2 and harbor-drain 8750/4. Record the last-request estimate if shown. |
task:route-lookup-01 with identical file and prompt and a displayed 384K limit |
Set the larger limit under /settings → Change Local Model Settings, repeat in an empty /new session, grade the answer, then enter /context. |
Illustrative pass. The same three rows cite routes.json and preserve both values for every route. If both pass within your budgets, keep 150K among the two settings tested. |
A fresh conversation keeps the first answer from becoming part of the second run. The /new command creates another live session inside the current instance, and existing live sessions remain available. Wait for each run to finish before starting the next. Fresh conversation history and a freshly loaded inference engine are separate conditions. JetBrains says the first request can wait for the engine to finish loading, and initial project prefill can also delay the first answer. For a cold comparison, exit every Junie instance using the local engine between trials, then reopen the project and check the setting and model before starting a fresh session. If you compare with the engine already running, use that condition for both settings and record it. Junie CLI session management · Junie Local engine control
Use the same timing convention when reopening Junie. For example, if you submit as soon as the model and attachment are set on the first trial, do the same on the second. Because the engine can load in the background, time spent checking menus before you submit can affect how much loading remains once the stopwatch starts. If one trial sat idle while you answered a message, keep the grade and repeat the timing under comparable conditions.
If the first pair differs and neither run shows memory trouble, repeat in reverse order. Keep the new observations alongside the original ones. For example, a missed harbor-drain at 150K followed by a correct answer at 384K is worth investigating. If a second 150K run gets all three right with similar estimated context use, the first miss alone gives you a weak reason to raise the limit. Coding-agent retry evaluation guide
Separate load time, context use and memory pressure
- Before the request, open Windows Task Manager and use the Performance views for the NVIDIA GPU and system Memory. Record a baseline reading for dedicated GPU memory and available system memory. Watch both during the wait and generation. For each, write down the highest GPU usage or lowest available RAM you actually see, with the units displayed. These are sampled system readings. A short spike can pass between updates, and unrelated processes can contribute.
- Keep the stopwatch reading beside the status you saw. A long wait followed by a correct answer is a completion with a latency cost. A wait that ends at an approval prompt calls for checking the interaction. Record that run as a deviation from the attached-file-only path. If an explicit out-of-memory or allocation error appears, copy the text and note when it occurred. If the machine exceeds the time you set aside for the lookup, use Esc to cancel the running task when the terminal is responsive and record the timeout separately. Junie keyboard shortcuts
- Compare the observed context estimates with the displayed settings. When both estimates are far below 150K, the pair tells you how the two configurations handled the actual request. To credit a larger context window for an improvement, first establish that the workload actually needed more room. An absent estimate leaves usage unknown. A file on disk has a byte size, while the context report estimates what was used on a particular model request. Retain those as separate observations.
JetBrains’ reported active VRAM is 14.8 GiB at 32K, 15.2 GiB at 384K and 15.5 GiB at 500K for its optimized build. These values illustrate why a 16 GB card can have little spare capacity even though the reported active VRAM grows slowly over the tested range. The published series omits a 150K measurement. Use your own readings for the setting decision. JetBrains preview memory results
The engine’s two-tier KV cache helps explain why system memory belongs beside GPU memory. The implementation keeps compressed cache data in VRAM and stores Q8 cache rows in host RAM. During prefill, it streams the rows needed by a layer. During decode, it uses the compressed representation and fetches selected Q8 rows from host memory when needed. A GPU reading can therefore look steady while available host RAM falls. Read both graphs during the same request. JetBrains llama.cpp implementation notes
Compare each memory reading with its own baseline. For example, a system already short of available RAM before the second trial gives you a different starting point. Close the application that changed the baseline, if it was outside the workload you intended to measure, and rerun that trial. If the editor or browser is part of your normal workload, keep it open under both limits and judge the room left while you use it. The relevant question is whether you can continue working while Junie processes the lookup.
The model card lists a context window of up to 1M tokens for Inkling 2 Mini. Your workstation decision depends on the local preview setting and the request Junie actually assembled. A run with ample free space in /context and a missing row calls for checking the attachment and answer before drawing a capacity conclusion. For server-side configuration and verification, see the separate guide on context size and slots. Thinking Machines Lab model card · llama-server context and slot guide
Keep the smallest setting that passes and restore it if needed
- Decide how long you can wait for the first answer and how much memory headroom you need for the apps you work with. For instance, if the terminal can take 45 seconds to start answering while you keep your editor open, apply the same 45-second budget to both settings. This is an illustrative personal budget. Record engine-load conditions with it so you can tell which wait you measured later.
- If both conditions give all three correct rows with acceptable delay and memory headroom, keep 150K among the settings you compared. If the baseline repeatedly misses and the higher value repeatedly passes within your budget, inspect the estimates before generalizing. Where both runs use a small request, record the observed improvement and leave its cause open. If pressure or delay makes the larger setting unusable, restore 150K or your saved prior value and narrow the input to the files relevant to the task.
- To validate the decision for a real project, repeat on a disposable copy with one actual route configuration file whose three expected rows you have independently checked. Keep the source file, prompt, scoring rule and startup condition fixed across the pair. Choose an early route, one well inside the file, and a late route with an explicit override. Keep the score key open outside Junie. If the attachment or report suggests the relevant data failed to reach the request, try a smaller attachment and test again. The outcome then tells you whether the smaller input solves your daily workflow, even if the oversized request remains unresolved.
- To undo the experiment, enter
/settings→ Change Local Model Settings, restore the number you recorded and verify the display. Open a fresh session and repeat the small lookup to check the restored setting. If removing the preview instead, use/localand choose Remove on the Inkling-2-Mini entry if it appears there. JetBrains documents per-model removal and generated profile cleanup, with full Local removal when it is the last served model. Check/modelafterwards for the resulting list. Keep other models by selecting the specific entry while other models remain installed. JetBrains preview settings · Junie Local removal documentation
For an illustrative decision, suppose both settings return the three exact rows with the correct file path. The 150K run starts answering after 18 seconds and the larger run starts after 34 seconds, with acceptable memory headroom in both cases. Under the example 45-second budget, either completes the task. Save 150K for the lookup. If the larger run instead returns the right answer after 52 seconds, its accuracy grade is still three out of three and its delay exceeds the budget. Keeping both facts in the record explains the decision when you consult it later.
If neither run returns the right rows, go back to the short file and check the attachment and selected model. If the response names a route from a different file or tries to run a command, record that as a deviation from the task. If it returns missing for a field that you can see in the attached file, preserve the response and investigate access to the input before escalating the limit. An explicit allocation failure calls for restoring the last workable setting and checking the integrated display path and background memory use. A wrong answer with a responsive machine calls for checking what was supplied and what the response actually cited.
Save the chosen setting alongside the fixture name, exact model, grades, and condition under which you measured delay. Give the record the scope of the test you completed. For example, a passing task:route-lookup-01 record covers extraction from one attached JSON file. If the next job involves multiple files or a long conversation, keep this record as a reference for the short lookup and grade the new job against its own known answer. For verification on a separate runtime, see the Inkling 2 Mini Ollama tool-call check. For workstation requirements beyond this preview, see Corporate AI on a Windows PC.

