Run Olmo 3.1 32B Instruct on a 64 GiB Intel desktop
Serve LM Studio’s exact 19.48 GB Q4_K_M derivative of Ai2 Olmo 3.1 32B Instruct using pinned llama.cpp and the separately pinned native Instruct template. Use an owned Intel Core i5-12400 desktop. Allocate 64 GiB RAM, eight inference threads and 80 GiB disk, one sequence and 4,096 total context tokens. Authenticated loopback; documented instructions with unknown full fit, latency and speed.
- Hardware
- Intel Core i5-12400 desktop, 8 inference threads, 64 GiB RAM
- Runtime
- llama.cpp v0.7.0 (620d2225cc436ab0b001e3200e590e3b286ef9ab) · CPU
- Model format
- GGUF · GGUF Q4_K_M mixed quantization · Q4_K_M post-training GGUF quantization by LM Studio community
- Workload
- 4,096 token context · 1 concurrent
Based on source documentation; this setup has not been executed by OpenTools. Memory: unknown. No compatible measurement available.
Read the complete setup guide
Before you start
- Use an Intel Core i5-12400 desktop (6 cores / 12 threads, AVX2) with Ubuntu 24.04 x86_64, 64 GiB installed RAM and 80 GiB free disk. Allocate eight inference threads. Before a RAM upgrade, confirm motherboard, DIMM and OS compatibility; Intel’s 128 GB CPU maximum depends on memory type and does not validate a particular desktop. Build and run natively on this same CPU.
- 64 GiB RAM, 80 GiB free/root disk and eight threads are author allocations for the 19.48 GB artifact plus runtime/OS resources, not measured minimums or fit guarantees.
- Read the publisher’s Apache 2.0 declarations and linked Ai2 Responsible Use Guidelines. LM Studio community publishes this GGUF derivative of Ai2’s model. This recipe serves text requests.
- Use the exact Instruct variant. Its native config specifies Olmo3ForCausalLM, 64 dense layers, a hidden size of 5,120, 40 attention heads and eight KV heads. Three sliding-attention layers precede each full-attention layer, with a 4,096-token sliding window.
Exact model and requirements
- Artifact:
- LM Studio community (GGUF quantization); Ai2 (original model) / Olmo-3.1-32B-Instruct Q4_K_M, LM Studio derivative · checkpoint lmstudio-community/Olmo-3.1-32B-Instruct-GGUF
- Publisher revision:
- 14816572819f6a5a57f0151b60a6bcb9ebed2f59
- Artifact digest:
- sha256:565f7092bbde56e98940547feab6a3947cc9cddf657e5d664c88bef05b9c90b0
- Download size:
- 18.14 GiB
- Memory requirement (unknown):
- Unknown — No exact full-process peak for this Olmo Q4_K_M, sliding/full-attention and workload configuration.
- System RAM / disk:
- Unknown / Unknown
- Placement:
- single device. One CPU host; no tensor/pipeline sharding. CPU-only execution; --device none and zero GPU layers. No disk or accelerator offload.
- KV cache:
- F16 attention K and V; architecture includes sliding-window and full-attention layers. No full cache-memory estimate or measured peak.
- Workload:
- 4,096 token context; Unknown; Unknown; concurrency 1; batch 1; cache unknown; repetitions Unknown.
- Tokenizer:
- Exact LM Studio GGUF tokenizer with separately pinned Ai2 native Instruct Jinja template · 14816572819f6a5a57f0151b60a6bcb9ebed2f59; template ac0587e4a7744a551c059d8cd17ba220bc940dae
- Sampling / reasoning:
- Temperature 0.6 and top_p 0.95 from native generation_config; top_k 50 from publisher example. Explicit author choices min_p 0.0, repeat_penalty 1.0; validation max_tokens 512, not measured output length. The exact Instruct checkpoint uses its native Jinja template and returns raw message.content. This text recipe does not configure a reasoning parser, tool executor or speculative drafter.
- Runtime prerequisites:
- Ubuntu 24.04 x86_64; See prerequisites above.
Ai2’s pinned model card explicitly declares Apache License 2.0 and links its Responsible Use Guidelines; LM Studio derivative metadata also declares Apache-2.0 and links the original model. A separate root LICENSE file returned 404 at the pinned base revision; this classification relies on those explicit declarations, not an invented retrieved license file. Read applicable terms and retain required notices when redistributing.
- olmo31-chat-template.jinja · 0 GiB · revision ac0587e4a7744a551c059d8cd17ba220bc940dae
- The complete model file is 19,482,034,976 bytes. Runtime weights, sliding-window and full-attention cache, buffers, the operating system and build artifacts add requirements. File size alone does not prove fit.
- 64 GiB RAM and 80 GiB disk are author planning allocations, not measured minimums. Full working memory, latency and speed remain unknown.
One-time setup and hardware
- hardware
- Unknown — Existing desktop purchase price and incremental hardware cost depend on the reader; unknown.
- Existing desktop purchase price and incremental hardware cost depend on the reader; unknown. Tax: unknown.
- setup
- Unknown — Initial provisioning/build time and labor cost are unknown.
- Initial provisioning/build time and labor cost are unknown. Tax: unknown.
Recurring costs
- electricity
- Unknown — Actual wall power, electricity rate and powered hours are unknown; no TDP-to-wall-power conversion.
- Actual wall power, electricity rate and powered hours are unknown; no TDP-to-wall-power conversion. Tax: unknown.
- storage
- Unknown — Incremental cost of local disk capacity is unknown. The 80 GiB free-disk walkthrough allocation is an author choice, not a measured requirement.
- Incremental cost of local disk capacity is unknown. The 80 GiB free-disk walkthrough allocation is an author choice, not a measured requirement. Tax: unknown.
- egress
- Unknown — Data transfer price, allowances and traffic volume are unknown.
- Data transfer price, allowances and traffic volume are unknown. Tax: unknown.
- administration
- Unknown — Maintenance labor rate and hours are unknown.
- Maintenance labor rate and hours are unknown. Tax: unknown.
Install the runtime
1. Build the pinned CPU server
Install build dependencies and compile the exact official source revision. These packages are system shared dependencies; no CUDA/GPU driver is required. GGML_NATIVE=ON selects -march=native for this GNU/Linux x86 build, compiling for the host CPU. Build and run on the same machine; no AVX-512 requirement is imposed on the i5-12400.
Commandsudo apt-get update sudo apt-get install -y build-essential cmake git curl ca-certificates openssl mkdir -p "$HOME/olmo31-32b-hosting/models" cd "$HOME/olmo31-32b-hosting" git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp git checkout --detach 620d2225cc436ab0b001e3200e590e3b286ef9ab cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DGGML_METAL=OFF -DGGML_NATIVE=ON cmake --build build --config Release -j 8 ./build/bin/llama-server --versionExpected result: Build succeeds and server version identifies pinned source. Stop if checkout or build fails.
Download the model
1. Download exact LM Studio GGUF and native Ai2 template
Verify both independent immutable inputs. LM Studio says the derivative was produced using llama.cpp b7364; this walkthrough selects newer pinned runtime 0.7.0. Source architecture support is not an executed compatibility proof.
Commandcd "$HOME/olmo31-32b-hosting" curl --fail --location --output models/Olmo-3.1-32B-Instruct-Q4_K_M.gguf 'https://huggingface.co/lmstudio-community/Olmo-3.1-32B-Instruct-GGUF/resolve/14816572819f6a5a57f0151b60a6bcb9ebed2f59/Olmo-3.1-32B-Instruct-Q4_K_M.gguf' curl --fail --location --output models/olmo31-chat-template.jinja 'https://huggingface.co/allenai/Olmo-3.1-32B-Instruct/raw/ac0587e4a7744a551c059d8cd17ba220bc940dae/chat_template.jinja' sha256sum --check <<'SHA256' 565f7092bbde56e98940547feab6a3947cc9cddf657e5d664c88bef05b9c90b0 models/Olmo-3.1-32B-Instruct-Q4_K_M.gguf 49a944c9814e130bd3cc80a2420c55ff22e24a4e4ba97009aa60000909b5eac3 models/olmo31-chat-template.jinja SHA256Expected result: Both files report OK; model 19,482,034,976 bytes, template 2748 bytes. Stop on mismatch.
Configure
1. Create a private service credential
Generate this only on your own host when following the guide. It is a local service password, not an OpenAI/provider credential. Keep it private and never paste it into tickets. Create it only when absent; preserve an existing key so a repeated setup does not silently rotate access. It is not created during this documentation run.
Commandcd "$HOME/olmo31-32b-hosting" umask 077 if [ ! -e .api-key ]; then openssl rand -hex 32 > .api-key fi test -s .api-key || { echo 'Existing .api-key is empty; restore it before continuing.'; exit 1; } chmod 600 .api-keyExpected result: A non-empty private .api-key file exists; existing key preserved. No secret is printed.
Start the model
1. Start one CPU Instruct sequence
The pinned converter registers Olmo3ForCausalLM as OLMO2 and preserves its sliding-window pattern. The native runtime maps 64 layers to the 32B variant and supports sliding and full attention. The CPU build and native template are documented here without execution. Use 4,096 total context tokens and reserve room for 512 output tokens. Temperature, top-p and top-k follow publisher defaults or its example; min-p zero and repeat penalty one are explicit walkthrough choices.
Commandcd "$HOME/olmo31-32b-hosting" export OLMO31_SERVICE_KEY="$(cat .api-key)" ./llama.cpp/build/bin/llama-server -m models/Olmo-3.1-32B-Instruct-Q4_K_M.gguf --alias olmo31-32b --host 127.0.0.1 --port 8080 --api-key "$OLMO31_SERVICE_KEY" --device none -ngl 0 -t 8 -c 4096 -np 1 --cache-type-k f16 --cache-type-v f16 --jinja --chat-template-file models/olmo31-chat-template.jinja --reasoning-format none --skip-chat-parsing --temp 0.6 --top-p 0.95 --top-k 50 --min-p 0.0 --repeat-penalty 1.0Expected result: Model initializes and listener starts. Pass readiness and authenticated chat checks before relying on it. Command-line key may be visible to privileged/local users; trusted host required.
Connect to your endpoint
http://127.0.0.1:8080/v1
Same desktop loopback only; no LAN/public listener. Use on a trusted single-user host.
Access: loopback. Reader-generated private service key in Authorization: Bearer header for chat; /health is public on loopback. Run the client on this same desktop. Keep the key private; this is not an OpenAI API key.
Verify the setup
1. Check readiness and authenticated text generation
Use a second terminal on the server. Verify nonempty final content accurately summarizes the supplied passage and finish_reason is not length. This is a functional check, not measured quality or exact wording.
Commandcd "$HOME/olmo31-32b-hosting" export OLMO31_SERVICE_KEY="$(cat .api-key)" curl --fail http://127.0.0.1:8080/health curl --fail http://127.0.0.1:8080/v1/chat/completions -H "Authorization: Bearer $OLMO31_SERVICE_KEY" -H 'Content-Type: application/json' -d '{"model":"olmo31-32b","messages":[{"role":"user","content":"Summarize this supplied passage in one sentence without adding facts: The community library opens at 9am on weekdays and closes at 6pm. On Saturday it opens at 10am and closes at 4pm. It is closed on Sunday."}],"max_tokens":512,"temperature":0.6,"top_k":50,"top_p":0.95,"min_p":0.0,"repeat_penalty":1.0}' curl -o /dev/null -s -w '%{http_code}\n' http://127.0.0.1:8080/v1/chat/completions -H 'Content-Type: application/json' -d '{"model":"olmo31-32b","messages":[{"role":"user","content":"Hello"}]}'Expected result: Health HTTP 200 when ready; authenticated chat has nonempty choices[0].message.content with accurate completed summary and finish_reason not length; unauthenticated chat HTTP 401. Incorrect or truncated output fails.
Performance evidence
No compatible measurement available. Documented support and estimated memory do not establish response speed.
Limits and troubleshooting
- Documented instructions only. OpenTools has not run this build or model, or measured peak memory, throughput or latency.
- This is the dense Olmo 3.1 32B Instruct text model. The separate Think variant and tool execution are outside this configuration.
- The native config advertises 65,536 maximum positions with YaRN factor 8 and an original window of 8,192 tokens. Three of every four layers use a 4,096-token sliding window, which is distinct from the global context. This recipe configures only 4,096 combined prompt and output tokens. It does not validate the larger window or alter RoPE settings.
- F16 flags specify attention K and V cache precision. Full process memory and fit remain unknown; no cache-memory formula or performance observation is supplied.
- LM Studio says this derivative was quantized using llama.cpp b7364. The selected newer source runtime supports the Olmo 3 architecture, but this exact binary has not undergone a startup or compatibility test here.
- The separately pinned native Instruct template is used verbatim, including its default system prompt and role formatting. Inspect the actual final response with the functional check below. Equality with the template embedded in the GGUF and tool-call behavior have not been verified.
- Temperature 0.6 and top_p 0.95 come from the native generation config; top_k 50 comes from the publisher example. min_p 0 and repeat_penalty 1 are walkthrough choices. The 512-token output cap is for this validation prompt and does not establish adequate output length for every task.
- 64 GiB RAM, 80 GiB disk and eight inference threads are resource allocations, not minimum requirements. Original dated cloud compute and storage quotes exclude tax, egress and administration. Local hardware purchase and electricity costs remain unknown.
- Loopback binding and a service key do not isolate the service from privileged local users. A public or shared service needs separately designed TLS, authentication and operations. Operating-system and build dependencies resolve at installation; retain tool versions and build logs.
- Download or checksum failure
- Verify exact uppercase filename and pinned URL; remove only the incomplete dedicated model file and retry. Do not run a mismatching file.
- Architecture unsupported or build fails
- Confirm exact pinned source commit, Ubuntu compiler/CMake dependencies and GGUF. Do not substitute an older packaged llama.cpp silently.
- Out of memory or context overflow
- Stop server, free/provision RAM or reduce context and restart; shorten input/output within configured total. Allocation is not a measured guarantee; record any changed configuration.
- Connection refused or HTTP 401
- Check foreground server logs, 8080 binding, matching private key and Bearer header. Run the client on this same desktop and keep the loopback listener.
- Template error, incomplete answer or architecture mismatch
- Confirm the exact Olmo Instruct GGUF and native template SHA-256 values, and the pinned runtime with its OLMO2 architecture mapping. Stop on loading or template errors. Keep the prompt, template and output within 4,096 tokens; inspect finish_reason and the summary’s facts. A changed artifact or context creates a different configuration.
Stop the model
1. Stop the service
Press Ctrl+C in server terminal. Unset key in each shell. Confirm this desktop localhost:8080 no longer serves the model.
Commandunset OLMO31_SERVICE_KEYExpected result: Server stops and localhost:8080 stops serving.
Uninstall
1. Remove dedicated model, build and credential files
Back up wanted logs/files first. Remove only this walkthrough directory after confirming its path. Shared apt packages can remain; do not remove other workloads.
Commandrm -r -- "$HOME/olmo31-32b-hosting"Expected result: Dedicated files and local service credential removed; shared system dependencies remain.
Sources and verification
Sources checked Oct 16, 2026. Verification source
- https://huggingface.co/api/models/allenai/Olmo-3.1-32B-Instruct?blobs=truepublisher · retrieved Oct 16, 2026
- https://huggingface.co/api/models/lmstudio-community/Olmo-3.1-32B-Instruct-GGUF?blobs=truepublisher · retrieved Oct 16, 2026
- https://huggingface.co/allenai/Olmo-3.1-32B-Instruct/raw/ac0587e4a7744a551c059d8cd17ba220bc940dae/README.mdpublisher · retrieved Oct 16, 2026 · revision ac0587e4a7744a551c059d8cd17ba220bc940dae
- https://huggingface.co/allenai/Olmo-3.1-32B-Instruct/raw/ac0587e4a7744a551c059d8cd17ba220bc940dae/config.jsonpublisher · retrieved Oct 16, 2026 · revision ac0587e4a7744a551c059d8cd17ba220bc940dae
- https://huggingface.co/allenai/Olmo-3.1-32B-Instruct/raw/ac0587e4a7744a551c059d8cd17ba220bc940dae/chat_template.jinjapublisher · retrieved Oct 16, 2026 · revision ac0587e4a7744a551c059d8cd17ba220bc940dae
- https://huggingface.co/allenai/Olmo-3.1-32B-Instruct/raw/ac0587e4a7744a551c059d8cd17ba220bc940dae/generation_config.jsonpublisher · retrieved Oct 16, 2026 · revision ac0587e4a7744a551c059d8cd17ba220bc940dae
- https://huggingface.co/allenai/Olmo-3.1-32B-Instruct/raw/ac0587e4a7744a551c059d8cd17ba220bc940dae/tokenizer_config.jsonpublisher · retrieved Oct 16, 2026 · revision ac0587e4a7744a551c059d8cd17ba220bc940dae
- https://huggingface.co/lmstudio-community/Olmo-3.1-32B-Instruct-GGUF/raw/14816572819f6a5a57f0151b60a6bcb9ebed2f59/README.mdpublisher · retrieved Oct 16, 2026 · revision 14816572819f6a5a57f0151b60a6bcb9ebed2f59
- https://api.github.com/repos/ggml-org/llama.cpp/git/trees/620d2225cc436ab0b001e3200e590e3b286ef9ab?recursive=1runtime maintainer · retrieved Oct 16, 2026 · revision 620d2225cc436ab0b001e3200e590e3b286ef9ab
- https://raw.githubusercontent.com/ggml-org/llama.cpp/620d2225cc436ab0b001e3200e590e3b286ef9ab/conversion/olmo.pyruntime maintainer · retrieved Oct 16, 2026 · revision 620d2225cc436ab0b001e3200e590e3b286ef9ab
- https://raw.githubusercontent.com/ggml-org/llama.cpp/620d2225cc436ab0b001e3200e590e3b286ef9ab/src/models/olmo2.cppruntime maintainer · retrieved Oct 16, 2026 · revision 620d2225cc436ab0b001e3200e590e3b286ef9ab
- https://raw.githubusercontent.com/ggml-org/llama.cpp/620d2225cc436ab0b001e3200e590e3b286ef9ab/src/llama-arch.cppruntime maintainer · retrieved Oct 16, 2026 · revision 620d2225cc436ab0b001e3200e590e3b286ef9ab
- https://raw.githubusercontent.com/ggml-org/llama.cpp/620d2225cc436ab0b001e3200e590e3b286ef9ab/src/llama-model.cppruntime maintainer · retrieved Oct 16, 2026 · revision 620d2225cc436ab0b001e3200e590e3b286ef9ab
- https://raw.githubusercontent.com/ggml-org/llama.cpp/620d2225cc436ab0b001e3200e590e3b286ef9ab/src/llama-chat.cppruntime maintainer · retrieved Oct 16, 2026 · revision 620d2225cc436ab0b001e3200e590e3b286ef9ab
- https://www.intel.com/content/www/us/en/products/sku/134586/intel-core-i512400-processor-18m-cache-up-to-4-40-ghz/specifications.htmlmanufacturer · retrieved Oct 16, 2026
- https://raw.githubusercontent.com/ggml-org/llama.cpp/620d2225cc436ab0b001e3200e590e3b286ef9ab/docs/build.mdruntime maintainer · retrieved Oct 16, 2026 · revision 620d2225cc436ab0b001e3200e590e3b286ef9ab
- https://raw.githubusercontent.com/ggml-org/llama.cpp/620d2225cc436ab0b001e3200e590e3b286ef9ab/ggml/src/ggml-cpu/CMakeLists.txtruntime maintainer · retrieved Oct 16, 2026 · revision 620d2225cc436ab0b001e3200e590e3b286ef9ab
- https://docs.liquid.ai/lfm/inference/llama-cppruntime maintainer · retrieved Oct 16, 2026
- https://raw.githubusercontent.com/ggml-org/llama.cpp/620d2225cc436ab0b001e3200e590e3b286ef9ab/tools/server/README.mdruntime maintainer · retrieved Oct 16, 2026 · revision 620d2225cc436ab0b001e3200e590e3b286ef9ab
- https://raw.githubusercontent.com/ggml-org/llama.cpp/620d2225cc436ab0b001e3200e590e3b286ef9ab/common/arg.cppruntime maintainer · retrieved Oct 16, 2026 · revision 620d2225cc436ab0b001e3200e590e3b286ef9ab
- https://api.github.com/repos/ggml-org/llama.cpp/releases/latestruntime maintainer · retrieved Oct 16, 2026