# "What Runs Where? Local AI in Production — Ahmad Osman, Osmantic"
<!--
ref: @content/youtube/aie/what-runs-where-local-ai-in-production-ahmad-osman-osmantic
tags: [local AI, inference engines, quantization, hardware choice, small specialized models, continuous learning, benchmarks]
version: 2
updated_at: 2026-11-22T09:50:15.427Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=GKSQYbELDzw)**

# What Runs Where? Local AI in Production — Ahmad Osman, Osmantic

*Synthesized from Ahmad Osman's talk on AI Engineer, 2026-11-21.*

Ahmad Osman, CEO and founder of a company he names Osmantic in the title (the captions render it variously), gives a conference talk of roughly 170 slides on local AI; the transcript is a rough machine translation, so some product names are garbled.

## Core Thesis
Ahmad argues that local AI has reached a "90s Linux" stage in which open models are catching closed ones quickly, and that the remaining gaps are systems-engineering and user-experience problems rather than raw intelligence. His bet is that small, specialized models tuned per chip, per model and per workflow will do most useful work, and that continuous learning will only happen on hardware you control.

## Key Insights
- **Open versus closed is a benchmark question.** He says the gap is over 30% on one benchmark while another has open models two points ahead; an index showed open models rising from 13 to 51 points since January 2025. He distrusts benchmarks and prefers measuring on his own traces.
- **Tokens versus spend.** Per an October 2026 OpenRouter report he cites, most tokens go to open models such as a DeepSeek Flash variant, while most money goes to a closed Haiku-tier model. Since February 2026 he says agents, not humans, generate most tokens.
- **Agents wait on tools.** Much agent time is spent waiting for shell commands, so even a single RTX 3090 delivers practical value; time-horizon figures he shows double roughly every four months.
- **Quantization is not uniform.** Dynamic quantization keeps the most-used layers at 16 or 8 bits and crushes near-unused ones to 1 bit; blanket 4-bit conversion can wreck a model. He cites GLM 5.3 at 4 bits keeping about 94% of its accuracy versus 76.1% for a DeepSeek V3.1 quant a year earlier.
- **Hardware follows workload.** Prefill is compute bound and decode is memory-bandwidth bound, so long prompts raise time to first token. A dense 27B model runs slowly on a DGX Spark (273 GB/s) compared with a mixture-of-experts model. In a test with Hugging Face on the same 27B model across an RTX Pro 6000, an M5 Max MacBook Pro, a DGX Spark and a Strix Halo, the GPU won on speed, and at 50 parallel requests the RTX Pro 6000 produced almost 1,300 tokens per second.
- **Software is the bottleneck.** He says Apple's AI software is weak and CUDA is far ahead, and argues for a separate inference path per model per chip rather than llama.cpp's catch-all approach. A tokenizer written to be 100 times faster sped a whole request up only 1.1 percent.
- **Search access matters.** A friend's local Qwen setup failed to change GPU fan RGB colors until it was given web search, which Ahmad says shows that bad first experiences come from missing infrastructure.
- **Small specialized models.** He cites Airbnb getting state-of-the-art quality at about 1% of the cost from a 2-billion-parameter model trained on agent traces with a synthetic-data pipeline.
- **Density keeps rising.** A 27B dense Qwen 3.6 beat a 397B mixture-of-experts model about 15 times larger in total memory; DeepSeek V4.1 Flash cut KV cache from 13 GB for 400,000 tokens to 29 MB for 1,000 tokens, which he describes as a 437-fold compression.
- **Continuous learning.** He predicts it must run locally, since providers train for their average user. His recipe is n-gram tables plus decision models plus weight editing, with processors, SSD or RAM sufficient for the n-grams.

## Actionable Takeaways
1. Choose hardware from your workload: long-context prefill needs compute; decode-heavy agents need memory bandwidth.
2. Prefer NVIDIA and CUDA if you want things working; expect to spend time otherwise.
3. Rent GPUs below a utilization threshold, since a GPU costs the same idle or busy, and check that cheap API providers are really serving the model they advertise.
4. Give local agents web search and test on your own traces instead of trusting published numbers.
5. Collect agent traces from frontier models, build an evaluation and synthetic-data pipeline, and train a small specialist.
6. Measure time to first token, tokens per second per user and per agent, requests per second and task accuracy on your own machine.
7. Plan for the model you will run next year when buying hardware.

## Notable Quotes
> "open source AI is an optimization problem. Local AI is a user experience problem." — Ahmad Osman

> "So, the cloud is just someone's basement." — Ahmad Osman

> "We need many more people contributing to the open source community by optimizing their hardware for the models they are currently using." — Ahmad Osman

---

*Related: `@content/youtube/yifan-bth/claude-code-beat-cursor-4-2-heres-why-im-still-using-both` · `@content/youtube/david-ondrej/fable-5-is-never-coming-back-heres-why` · `@content/youtube/cole-medin/is-kimi-k3-really-that-good-don-t-just-believe-the-hype` · `@content/youtube/aie/the-death-of-developer-advocates-stephanie-jarmak-sourcegraph` · `@content/youtube/david-ondrej/build-a-5-000-ai-datacenter-at-home-here-s-how`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*