Your own PC
The model runs on a computer you own, connected to CodeHero as a device. CodeHero uses it like any other AI provider, in one of its two local slots.
Local AI models
CodeHero can use an AI model that runs on your own PC. This page says which models we chose, how CodeHero runs them, and what we measured.
These are our measurements on one PC, made on 25 and 26 October 2026. Another computer, driver, llama.cpp version, setting or task gives other numbers. They are not guarantees.
The model runs on a computer you own, connected to CodeHero as a device. CodeHero uses it like any other AI provider, in one of its two local slots.
A ticket on a local model sends its text, code and tool output to your own PC, not to an AI company. A ticket on an AI service still sends its text to that service: you choose the provider per project and per ticket.
You pay for the hardware and its electricity, not for each request. Several developers can share one server.
CodeHero 5.7.0 writes its rules so that a strong model and a weaker one read them the same way. The reference reader was Qwen3.6-35B-A3B, a model that runs on your own PC: for each ticket kind it answered 29 of 29 questions about its rules correctly, twice.
On Windows, llama.cpp’s ROCm build needs AMD’s HIP SDK (the graphics driver has older HIP files), so the Vulkan build is the way. Which hardware you need for these models: Hardware
local-llm does the setup on the PC. Every install is said first — what, where, how big, how long — and runs only after your yes: llama.cpp into C:\CodeHero\llm, each model into C:\CodeHero\models. Each file is checked by its SHA-256.| Who | How |
|---|---|
| CodeHero, on your own machine | Through the device’s SSH (a tunnel): nothing to open on the PC |
| CodeHero or your team, on the same network | http://<the PC’s IP>:<port>/v1 + the API key |
| CodeHero or your team, in the CodeHero VPN | http://<its VPN IP>:<port>/v1 + the API key |
Your team gets only the address and the key, never the PC’s SSH login. On Windows the two network ways need the port allowed in Windows’ firewall, for Private networks only: your decision. CodeHero never changes the PC’s firewall.
The server can use the model’s MTP head or its drafter: it guesses a few tokens ahead, and the model checks them. Faster answers for one user.
Several «slots»: each user gets the model’s full context in a shared pool, without MTP. Each user’s speed drops; the total goes up.
CodeHero 5.7.0 has a catalog of ten models: the official files and, for nine of them, unsloth’s files, every size with its SHA-256 from Hugging Face, their vision and MTP files, and their settings for development work. It picks the 8-bit file when it fits the graphics card’s memory, else the 4-bit one.
| Model | Type | File size: 8-bit · 4-bit | Vision | Faster for one user | Licence and notes |
|---|---|---|---|---|---|
| Qwen3.6-35B-A3B | MoE, 35B (3B active) | 36.9 GB · 20–22 GB | yes | MTP (side file) | Apache-2.0. Most of our measurements use it. |
| Qwen3.8-27B | dense, 27B | 29 GB · 18–19 GB | yes | MTP (a side file; inside unsloth’s file) | Apache-2.0. Its template takes the effort low, medium or xhigh; CodeHero’s balanced is medium. |
| Qwen3.8-Flash-Next | MoE, 125B (6B active) | — · 102 GB | yes | MTP (side file) | Qwen Community License: free for your own development, commercial use too. A separate licence from Qwen only for a company that offers models to others (an API) or makes an AI coding or office product — and even then its internal use is free. |
| Ornith-1.5-35B-A3B | MoE, 35B (3B active), an improved Qwen | 37.8 GB · 21.7 GB | yes | MTP (inside its file) | MIT. |
| Ornith-1.5-122B | MoE, 122B (10B active) | 132 GB · 76–80 GB | yes | MTP (inside its file) | MIT. |
| Gemma-4-31B | dense, 31B | 32.6 GB · 18.8 GB | yes | drafter | Apache-2.0. A 16-bit KV cache with its drafter. |
| Gemma-4-26B-A4B | MoE, 26B (4B active) | 26.9 GB · 17 GB | yes | drafter | Apache-2.0. |
| gpt-oss-20b | MoE, 21B | — · 12.1 GB (MXFP4) | no | EAGLE-3 — slower on our PC | Apache-2.0. It cannot stop thinking: «off» = its lowest effort. |
| gpt-oss-120b | MoE, 117B | — · 63.4 GB (MXFP4) | no | EAGLE-3 — slower on our PC | Apache-2.0. It cannot stop thinking: «off» = its lowest effort. |
| Flint | MoE, 40B (2.5B active) | 42.3 GB · 23–26 GB | no | — | Apache-2.0. It decides by itself when to think; on «off» it thinks at most 1,024 tokens. |
The context is 262,144 tokens; for gpt-oss 131,072. A model that is not in the catalog works too, with generic settings you set on the Providers page.
| Model | File | Without | With MTP: code / thinking | Tokens guessed ahead |
|---|---|---|---|---|
| Qwen3.6-35B-A3B | official, 8-bit | 55 | 87 / 71 | 3 |
| Ornith-1.5-35B-A3B | official, 8-bit | 55 | 75 / 73 | 2 |
| Gemma-4-26B-A4B | official, 8-bit + drafter | 46.5 | 73.4 / 66.1 | 2 |
| Gemma-4-31B | official, 8-bit + drafter | 6.7 | 21.1 / 20.9 | 4 |
| Qwen3.8-27B | unsloth, 8-bit, MTP head inside | 7.8 | 21.8 / 17.2 | 3 |
| gpt-oss-20b | official, MXFP4 | 73.1 | 61.8 with EAGLE-3 | 3 |
| gpt-oss-120b | official, MXFP4 | 52.5 | 44.0 with EAGLE-3 | 3 |
A ticket’s first request is long: 40,000 to 90,000 tokens. Qwen3.6-35B-A3B, official 8-bit, a new prompt read with a prompt batch of 1024:
| Power mode | A 22,000-token prompt | An 88,000-token prompt | The graphics card |
|---|---|---|---|
| Balanced | 1,062 tokens/s | 575 tokens/s, about 2.5 minutes | at most 70 °C |
| Performance | 1,131 tokens/s | stopped by our test: the card reached 89 °C in about 40 seconds | 89 °C |
| Prompt batch | Qwen3.6-35B-A3B: 22K · 88K | Ornith-1.5-35B-A3B: 22K · 88K |
|---|---|---|
| 1024 | 1,062 · 575 | 1,047 · 581 |
| 2048 | 919 · 542 | 728 · 488 |
Qwen3.6-35B-A3B, 8-bit, one conversation that grows (the server reuses the part it already read):
| Context so far | Reading | Writing |
|---|---|---|
| 22,000 tokens | 1,140 tokens/s | 44 tokens/s |
| 131,000 tokens | 463 tokens/s | 30 tokens/s |
| 251,000 tokens | 227 tokens/s | 22 tokens/s |
Qwen3.6-35B-A3B, 8-bit, one user. Eight engineering tasks with 65 hidden tests; the model does not see the tests.
| Thinking | Tests passed, of 65 | Time for the 8 tasks |
|---|---|---|
| off | 55.9 | about 2 minutes |
| up to 2,048 tokens | 58.0 | about 5 minutes |
| up to 4,096 tokens | 60.5 | about 9.5 minutes |
| up to 8,192 tokens | 56.3 | about 17 minutes |
| no limit | 45 — twice it ran out of 32,768 tokens without an answer | about 31 minutes |
| Users | Each one | Together |
|---|---|---|
| 1 | 55 tokens/s | 55 tokens/s |
| 4 | about 23–27 tokens/s | about 100 tokens/s |
| Model | File | Writing: without · with MTP | Tests passed, of 65 |
|---|---|---|---|
| Tiel-Coder-35B-A3B, built on Ornith-1.5-35B-A3B | UD-Q8_K_XL | 48 · 56–65 tokens/s (its own MTP head) | thinking off: 46 |
| Dirk-Qwen3.8-27B, a Qwen3.8-27B fine-tune | UD-Q8_K_XL | 10.5 · 14.2 tokens/s | thinking off: 85 %; up to 4,096 tokens: 98 % |
These are our measurements on one PC, made on 25 and 26 October 2026. Another computer, driver, llama.cpp version, setting or task gives other numbers. They are not guarantees.
User guide §33: devices and the local LLM Hardware Can small local models do real work? Securing CodeHero
For the local models we tested and recommend for this work, at least 96 GB of memory for the model. Our tests ran on a PC with an AMD Ryzen AI Max+ 395 and 128 GB, with Windows 11.
Not for the tickets that use it: the model runs on your own PC, so their text stays in your network. A ticket on an AI company’s service sends its text to that service.
Inside the factory, yes — more than on their own. Small, clear tickets, a checklist for finishing, tool help and a stronger model that checks the result let small models on your own hardware do much of the building. Read the article
Not the ones you store as secrets (eight characters or longer): your application uses them, but their values are not sent to the AI service. A password typed into a chat message or shown in a screenshot cannot be recognised — store every password as a secret. Read the article
No. CodeHero works with many AI companies at once and with models on your own hardware. You can change company or model at any time — the project, its rules and its history stay. Read the article