# What Runs Where? Local AI in Production

Ahmad Osman, Osmantic | AI Engineer CODE 2026 | 56:09

Source: https://www.youtube.com/watch?v=GKSQYbELDzw
Channel: AI Engineer (https://www.youtube.com/@aiDotEngineer). Summarised by AIE Talks.
Page: https://aietalks.com/talks/what-runs-where-local-ai-in-production
Published: 2026-11-21
Tags: continual-learning, gpus, inference, quantization

## TL;DR
- Local AI performance depends on the model, chip, inference engine, quantization, and workflow being optimized together.
- Small specialized models can handle specific agent tasks at much lower cost when teams have useful traces, evaluations, and synthetic data.
- Continual learning needs to run locally because a hosted model cannot be trained around one user's private workflow.

## Summary
Ahmad Osman argues that local AI is moving from model selection toward systems engineering. Teams need to choose hardware according to their workload, since prefill and decode have different bottlenecks and parallel agent requests can favor GPUs over Macs. Quantization has also become more careful, with different layers kept at different precisions instead of compressing every weight in the same way. Osman argues for inference engines optimized per model and per chip, rather than relying on one general-purpose engine. He also says local agents need a complete harness with search, tools, traces, and evaluation. His case for small models is practical: a model specialized for a narrow workflow can be cheaper and faster than a larger general model. He expects local hardware to become more useful as models improve, and he connects that hardware to continual learning. His proposed direction combines engrams, decision models, and weight edits so a model can learn from a user's own corrections without accumulating unwieldy markdown memory files.

## Key ideas
### Local AI requires optimization and a usable experience at the same time
[01:12](https://www.youtube.com/watch?v=GKSQYbELDzw&t=72s)
Osman separates two problems. Open-source AI is an optimization problem, while local AI is a user experience problem. His team built a local inference engine and used it with an RTX system to create a game without cloud services or Codex. He says the ecosystem is now producing more model-, chip-, and workflow-specific optimization, including new inference engines and what people call mega-kernels. The hardware and software need to improve together, because a technically capable local model is not enough if the setup is difficult to use.

### Agent workloads often wait on tools more than on token generation
[03:35](https://www.youtube.com/watch?v=GKSQYbELDzw&t=215s)
Osman says agents spend much of their time running shell commands, reducing data, executing tools, and waiting for results. That means a single RTX 3090 can still be useful even when it is not the fastest possible token generator. He also questions benchmark comparisons, citing cases where different evaluations put closed and open models in different positions. For him, the relevant test is the work an agent actually performs. A model that is highly optimized for coding may be more useful for that task than a supposedly smarter general model.

### Small specialized models can replace frontier models for narrow work
[05:45](https://www.youtube.com/watch?v=GKSQYbELDzw&t=345s)
Osman's company, Osmantic, is built around the idea that every step does not need frontier intelligence. He expects smaller models trained for specific workflows to become more common. He describes a video trailer made by an agent that selected clips, music, text overlays, and edits, with local RTX Pro 6000 GPUs handling media processing. He expects a small specialized model to perform similar work at home. He also points to a security example where a small specialized open model reproduced the security performance of a larger system.

### Quantization must preserve the layers that matter
[15:57](https://www.youtube.com/watch?v=GKSQYbELDzw&t=957s)
Osman warns that quantization is not one uniform operation. Quantization-aware training can keep frequently used layers at higher precision while compressing less-used layers more aggressively. Other methods assess layer use with benchmarks and assign different precisions, such as 16-bit, 8-bit, or 1-bit. Putting every layer at four bits can damage a model. He says newer quantization methods are retaining more of a model's accuracy while reducing memory needs, which makes larger models practical on smaller machines.

### Hardware choice depends on prefill, decode, and parallel requests
[18:56](https://www.youtube.com/watch?v=GKSQYbELDzw&t=1136s)
Prefill is compute-bound, while decode is largely limited by memory bandwidth. Long prompts can therefore increase time to the first token, while shorter prompts can produce tokens sooner. Osman says buyers should start with the workflow they need to run, rather than choosing hardware by a general specification. Dense and mixture-of-experts models can behave differently on the same machine. He also describes tests where an RTX Pro 6000 handled parallel requests far better than several other systems, which he attributes partly to software rather than hardware alone.

### Inference engines should target a model and a chip
[23:15](https://www.youtube.com/watch?v=GKSQYbELDzw&t=1395s)
Osman argues that one general engine cannot fully optimize every platform. Different instruction sets and hardware capabilities change what the system can extract from a model. He wants inference engines optimized per model, per chip, and per workflow, with measurements for time to first token, tokens per second, requests per second, and task accuracy. He encourages engineers to contribute platform-specific optimizations to ODS. He also recommends experimenting with small kernels, rather than assuming that a general recipe or benchmark will work well on a particular machine.

### A local agent needs search and a complete harness
[32:56](https://www.youtube.com/watch?v=GKSQYbELDzw&t=1976s)
Osman describes a local model that could not change the RGB lighting on a new GPU until he gave it search access. The model needed information about a tool and device released after its training data. With a search engine and the right environment variable, it completed the task. His conclusion is that a local model should come with the surrounding infrastructure required for real work, including search and tools. ODS includes search for this reason. Without that support, a first local-AI experience can fail even when the model itself is capable.

### Real task traces can train cheaper specialist models
[36:13](https://www.youtube.com/watch?v=GKSQYbELDzw&t=2173s)
Osman says teams can collect traces from agents using frontier models, build evaluations around those traces, and create synthetic data for reinforcement learning. A smaller model trained on a narrow workflow can then approach the quality needed for that task at a much lower cost. He cites an Airbnb example involving a 2-billion-parameter model at a fraction of the cost of frontier intelligence. He is also clear about the limits: a specialized model may perform very well on its intended work and fail badly on novel, out-of-distribution tasks.

### Continual learning needs local weight and memory updates
[48:07](https://www.youtube.com/watch?v=GKSQYbELDzw&t=2887s)
Osman says cloud providers cannot train a general hosted model specifically around each user's private workflow. Markdown files and accumulated memory instructions become bloated and can conflict with one another. He expects continual learning to require local execution. His proposed recipe combines engrams, which provide a map on storage or memory for retrieval, decision models, and weight edits. He says these components could work on CPUs with SSD or RAM support. The aim is to replace growing harness files with a system that learns from a user's traces and corrections.

## Notable quotes
- "Open source AI is an optimization problem. Local AI is a user experience problem." (01:12)
- "The most important thing is that what you use in terms of hardware and what you buy depends on the workflow that you're going to be running." (19:25)
- "We shouldn't be asking a model tasks without internet, without giving it search access if it was trained on data that didn't have the tool that you're using right now." (33:43)
- "For continual learning, it needs to run locally." (48:23)
- "The only way to solve that is actually continual learning." (49:21)

## Tools & references mentioned
- Osmantic
- ODS
- NVIDIA
- RTX Pro 6000
- RTX 3090
- DGX Spark
- M5 Ultra
- M5 Max
- Apple
- Hugging Face
- OpenAI
- Codex CLI
- Artificial Analysis Index
- DeepSeek
- Qwen
- Unsloth
- llama.cpp
- vLLM
- Actual Inc.
- FlashAttention
- speculative decoding
- EXO
- OpenRouter
- Airbnb
- Fireworks
- Claude Code
- Gemini Pro 2.5
- Engrams

## Who should watch
- You are choosing between owned GPUs, laptops, and rented instances for agent workloads, and need to match the hardware to prefill, decode, or parallel-request behavior.
- You are building a local agent and need practical guidance on search, inference engines, quantization, traces, and evaluation instead of a model leaderboard alone.
- You want to make a specialist model learn from private task traces without sending the whole workflow to a cloud provider.

## Related talks

- [Run Frontier AI at Home](https://aietalks.com/talks/run-frontier-ai-at-home) (Alex Cheema, EXO Labs, 1:45:02)
- [State of the Union: Why Local, Why Now](https://aietalks.com/talks/state-of-the-union-why-local-why-now) (Nader Khalil, NVIDIA & Joseph Nelson, Roboflow & Alex Cheema, EXO Labs & Ahmad Osman, Osmantic & Matthew Berman, Forward Future, 44:29)
- [Foundry Local: Cutting-Edge AI Experiences on Device with ONNX Runtime/Olive](https://aietalks.com/talks/foundry-local-cutting-edge-ai-experiences-on-device-with-onnx-runtime-olive) (Emma Ning, Microsoft, 22:52)
- [Large clusters for small models](https://aietalks.com/talks/large-clusters-for-small-models) (Daniel Svonava, Superlinked, 25:07)
- [AI Engineering 201: Inference](https://aietalks.com/talks/ai-engineering-201-inference) (Charles Frye, Full Stack Deep Learning, 1:43:16)
