Repeated requests to a local model can benefit from oMLX’s caching, but first get one request working from outside the oMLX app.

Install on Mac

DMG route, recommended for a first run. On an Apple Silicon Mac, check the current macOS requirement in the README. Download the macOS DMG from oMLX Releases, open it, and move oMLX to Applications. Launch it from Applications. In the welcome screen, set the model folder, start the server, and download one small MLX model. Before connecting a client, leave the server on localhost.

Set it up

Install the official macOS release and download a supported MLX model that fits your Mac. Start the server from the menu bar and send a short message in its built-in chat. Then point a compatible client at the base URL displayed by oMLX and select the same model. The documented default is http://localhost:8000/v1. If the client cannot see the model, check the URL, configured authentication and model ID before changing model settings.

Check that it works

First verify that the client can answer a new prompt using the chosen local model while offline. For a caching comparison, save the first-token delay for the same prefix across repeats and keep the model and settings fixed. Record a separate run after restarting or using a different prefix so that a warm server is not mistaken for a prefix-cache result.

Send a new prompt from the client with Wi-Fi off. Verify that the reply arrives without the client falling back to a cloud provider. To evaluate caching later, use the same prefix twice and record time to first token; one quicker reply alone does not isolate caching.

Save a working request before connecting another app

Once the menu-bar server is running, copy the displayed address and the identifier of the model you intend to use. The example base address ends in /v1. In a client that asks for a base address, supply that base. In a direct HTTP request, append the documented resource path. If a log shows two consecutive /v1 components, use the base address field and the client documentation to determine which part it adds. Keep the configured listening address on the Mac while checking a local client.

Use one small prompt with a known answer. Ask for the code in “Cedar shipment: code RIVER-284.” In the built-in chat, confirm it gives that code. In the external client, select the exact same model and ask in a fresh conversation. Confirm that the answer contains the code and has ended. The model picker, successful server connection and correct text are distinct outcomes.

If the model list succeeds and the chat request fails, compare the model ID and route before changing weights. If a request is rejected because the server expects authentication, check the local application settings and supply the configured credential through the client’s supported mechanism. Keep credentials out of screenshots or test transcripts. If the server is reachable but the client returns an unexpected model name, check its provider and saved base URL against the menu-bar server.

Explain a faster repeat with a three-run comparison

Use one fixed prefix and put a short, checkable question at its end. Record the first answer-token delay and when you receive the complete answer. Prompt reuse is easier to investigate if you keep the model, context and output cap identical. After the first request, send the same prefix with a fresh short question so you can inspect a new answer. Then use a different prefix with similar length while the same model remains loaded. Save output lengths and any cache indicators the running version reports.

If both later requests are faster by roughly the same amount, a warm model or other session effect may explain the change. If the shared-prefix case is consistently faster and the runner reports reuse, describe it as a gain measured under that repeat workload. Avoid predicting a gain for unrelated input. Repeat after a restart only if cold-start behavior matters to your use case. Retain the complete response and any errors so a fast first token with a failed result stays visible in your record.

Start with a record of the exact model the server exposes

In the running oMLX instance, note the model directory, displayed package name and model identifier. A filesystem name and an API model ID can have different spelling. The successful model listing from the check above supplies the ID the local server actually reported. Save the real base address and port as a separate item. If a client uses an OpenAI-compatible base URL, confirm whether it needs the version path and whether it appends the operation itself. Keep a working small request before adding a document pipeline or other application.

For a Mac with multiple local tools, verify which process actually owns the relevant port. Two applications can expose OpenAI-compatible routes and display familiar model names. A successful response only belongs to the intended server if you can identify its configuration and exact model. Use the running app and direct reply to compare them. Preserve the local-only route used for this task. Changes to wider access belong to a different setup decision.

Confirm the model list, direct answer and client answer in order

First call the supported model-list route with the usual local address. If the response is missing or appears to come from a different server, check startup and the port. If the list works but the wanted ID does not appear, look at the actual model directory and the implementation’s supported format. A package intended for another runtime can exist on disk without being ready in oMLX. Compare its files with the expected MLX package, and verify the program’s current source instructions before repeating the request.

Next ask a small complete question directly. Use a two-line notice with similar values. For example, “Draft shelf N-41 opens on Wednesday. Approved shelf N-14 opens on Friday.” Ask for the shelf and day from the approved note. Confirm N-14 and Friday in the complete response. Save the exact route, ID, reply and status. An HTTP success and a complete but wrong answer belong to different checks. If an answer stops before both values appear, retain it as incomplete, with a finish reason if the documented response supplies one.

Then use the intended client and start a new session with the same plain source. Select the same model explicitly and avoid additional context until the simple case works. If the client cannot send a request, inspect its base URL, selected provider and expected route. If it sends the request successfully and the returned content differs, compare what that client supplied. A history or document workflow can change the full prompt even when the last user message looks identical.

Find the source of a wait before tuning the cache

Record the start state before the request. A server restart with a model still unloaded, an already loaded model with new text and a repeated input with reusable context can all have different waits. For a fair local comparison, choose one short source passage, record the exact ID and runner state and use the same answer requirement each time. Label the timing boundary you can observe from the app or client. Report first visible output separately from how long it takes to finish the required facts.

A useful sequence includes a fresh small input, a longer input with a shared prefix and a comparably sized input with a new source. Keep output criteria fixed while you decide whether the work changed. If your runner exposes observed reuse or cache metrics, record those with the configuration. If the interface only shows that a repeat was faster, leave the cause open. The model may already be loaded or other activity may have changed. Confirm the active conditions before describing a speed-up as cache reuse.

Use a clean positive and negative test for a repeated document

Make a short document with two source versions and a clearly identifiable final instruction. Ask for a value and its exact supporting line once from a fresh document. Then ask a follow-up that refers to the same document without changing its main content. Separately ask the same type of question of a different document of similar size. Give the second document its own new values. Check the exact information in each final reply. A response that repeats the first document’s value fails even when it appears quickly.

If the client reconstructs prompts automatically, inspect which source material it actually supplied if that information is available. A shared heading alone may offer little reusable input. An unchanged document followed by a new question has a different structure. Record the amount of new input or note that it was unobserved. Only compare measured values from cases with enough matched conditions. If output length grows between runs, retain the count and actual completed response alongside the timing.

Keep loading, first useful content and final completion distinct

For a model used only occasionally, include the first launch and loading wait in the real acceptance check. For a repeated stream of requests, record a separate warm outcome. If a user reads only an extracted field, first useful content arrives when the correct field is visible. If they need multiple fields and a citation, judge the complete result and its last required item. A stream of tokens that ends early cannot meet that requirement even if the underlying decode rate is high.

Use a hypothetical case to plan the comparison. Suppose a repeated chat reply starts sooner, but it chooses an old pickup code. Record that as a timing improvement for the observed stream and an accuracy failure for the task. If the fresh prompt starts later and gives the right result, work from the accurate source or adjust the retrieval setup before changing a generation option. Compare an identical prompt type with a wholly new document so the faster path cannot pass by repeating the same evidence.

Verify a longer context without sacrificing the answer

Start with an excerpt containing the approved instruction and an older conflicting line. Keep both in sight while reading the response. Then present a longer document containing additional decisions. Include a requirement to identify the applicable revision or quote the supporting line. If the shorter request is accurate and the larger one fails, verify whether the full source actually reached the model and examine the context setting the runtime reports.

Record the machine’s memory behavior and any application interruptions during that real request. On a Mac, the model shares memory with work apps. A download size or a model-list entry cannot show whether that workload remains usable. If needed, keep a shorter verified excerpt for the main interactive job and use a larger request only where it preserves a required condition. A smaller input chosen by the user can be easier to check than adding all history by default.

Keep a reversible change when trying another model

Save the known working packet with a short direct request, expected answer and server settings. Change only the model or cache setting when evaluating one effect. After the change, confirm the model list, send the same short fixture and verify the actual source and complete output. If it fails, restore the working option before narrowing any other changes. For a later restart, repeat with a new unused source value to confirm the active route.

For a colleague, record the server and model versions, actual base URL, model identifier, desired local state, source location and two verified answers. Include the unresolved test, such as a longer file or optional client feature, in a separate line. If you depend on the cache path, document which metrics you observed rather than assuming all versions report it the same way. This record keeps a repeatable daily configuration and a clear boundary for anything still untested.

Test the effect of reusing a prefix without changing the question type

Consider a local editor that asks several questions about the same handoff document. Choose a harmless source where section A contains an older date and section B the approved one. Ask for the approved date and line. Submit a follow-up that keeps the document and asks for another verifiable detail. Then replace the source with a similarly sized independent document containing different dates. Repeat the same kind of question. Verify the facts in all three outputs before treating any timing as useful.

Do not interpret a shorter subsequent reply as faster cache processing unless you can compare its prompt phase. An already loaded model may account for most of the delay of the first request. Start with one short fresh prompt after the runtime reports suitable readiness, then an already loaded fresh source and an intentionally repeated source. Record the configuration and visible cache metrics where your specific version exposes them. If it does not, describe the timing as an observed repeat rather than declaring a measured cache hit.

For a client that supplies extra text automatically, keep the direct prompt and its full received client request as separate evidence when available. An automatically generated system prefix may be common across both tests while the relevant document changes. Note the distinction in the comparison. If the matched prompt and output cannot be reconstructed, preserve the practical measurements with the differences you know.

Establish a stable local client path before changing cache or work size

If the local app works through the direct API and a browser extension does not, confirm what server the client is actually configured to use. Try just one short record with no prior conversation or document attached. If it works, add a verified source passage and repeat only that difference. If the output is slow after the passage is added, compare its timing at the same readiness state and read the answer. Keep the app’s actual source and any later resume in the record.

Save the smallest working route with one short task, and a separate longer task that represents the repeated document workflow. Both should use their own known values. If a server update changes the status or timing fields available, keep the old values as historical evidence and write which new observations can still be verified. This helps you compare changes without assuming a cache option or prompt count has the same meaning in every release.

Who built it

GitHub maintainer jundot says oMLX began as a personal project in February 2026. The repository labels its February 13, 2026 v0.1.0 release as the initial release. In September 2026 the maintainer announced joining Hugging Face to work on oMLX and the MLX community.

References