For developers
Your coding model, on your machine
The same API you already use, no per-token bill, and your code never leaves your network. Ten minutes with Ollama and a 7B model.
41 tok/s qwen2.5-coder:7b · 6.6 GB loaded · measured on our DGX Spark, 2026-10-04
Start in 10 minutes
- Install Ollama from ollama.com.
- Pull the model and call the OpenAI-compatible API:
ollama pull qwen2.5-coder:7b
curl http://localhost:11434/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model": "qwen2.5-coder:7b",
"messages": [{"role": "user", "content": "Write a Python function that reverses a string"}]}'From Python, change only the base URL of the official OpenAI client:
from openai import OpenAI
# The client requires a key; Ollama ignores it.
client = OpenAI(base_url="http://localhost:11434/v1", api_key="ollama")
reply = client.chat.completions.create(
model="qwen2.5-coder:7b",
messages=[{"role": "user", "content": "Explain this error: KeyError on line 12"}],
)
print(reply.choices[0].message.content)Any editor or tool that accepts an OpenAI-compatible base URL can point at http://localhost:11434/v1. With 16 GB of RAM a 7B model is comfortable; for more quality, look at the 32B class in hardware.
What happens on your machine
Your editor talks to a local API identical to OpenAI's; the model runs on your GPU. There is no cable going out.
| Local Ollama on your machine | Cloud API an external vendor | |
|---|---|---|
| Where the model runs | On your machine | On the vendor's server |
| Your code leaves your network | No | Yes |
| Per-token bill | No | Yes |
| Works offline | Yes | No |
| Speed we measured | 41 tok/s | Not measured by us; we do not publish other people's figures. |
Machines that run a coding assistant
The cheapest that run it comfortably and at a practical speed (same rule as the catalogue).
Tools for agents, MCP and prompts
Agent builderDefine an agent and export its configuration.MCP builderScaffold an MCP server for your tools.Skill builderPackage reusable instructions for your assistant.Plugin builderBundle skills, agents and hooks into a plugin.Prompt writerStructure a prompt and score it.VRAM calculatorWhat fits on your GPU before you download.Dev Playground62 self-checking browser exercises: streaming, JSON, RAG, retries.
Guides for developers
- Q4_K_M vs Q8_0 vs FP16: The Quality Difference, MeasuredQwen2.5 7B at Q4_K_M, Q8_0 and FP16 on 40 synthetic invoices: Q8_0 got 8 more fully right than Q4 at 66% of its speed. FP16 added nothing.
- Best Local Embedding Model for Spanish: Measured GuideHow to choose a local embedding model for Spanish: bge-m3, nomic-embed-text and embeddinggemma on 60 questions, plus a script to test your own files.
- Local RAG with Ollama, Qdrant and bge-m3: Complete GuideBuild a local RAG with Ollama, bge-m3 and Qdrant, with cited answers. Then decide chunk size, hybrid search and reranking with our own measurements.
- Private ChatGPT for your business: three options and the costWhat private means with ChatGPT Business, an EU-region API and a self-hosted chat, checked on 15 November 2026, with a cost formula and our own tests.
- Open WebUI for a Small Office: Accounts, Models, Logs, BackupsA complete Open WebUI 0.13 setup for a small office, run step by step on a test instance: accounts, model access by group, logs, backups and GDPR duties.
- How much VRAM does a local LLM need? The maths, checkedWeights, context cache, parallel slots and buffers: the sum for a local LLM's memory, checked to the megabyte against llama.cpp load logs on our machines.
- Claude Code on a Local Ollama Model: Setup, Limits, TestsPoint Claude Code at a local Ollama model: the documented variables, what Anthropic does not support, the context trap, and the tool-call tests we ran.
- CUDA on Fedora: driver, Secure Boot, toolkit, first modelThe sourced path to local AI on Fedora 44 and 45: NVIDIA driver, Secure Boot, CUDA toolkit, GPU containers, Ollama and PyTorch. Sources read 16 Nov 2026.
- GGUF Quantization: Pick the Right File for Your MachineEvery GGUF quantization family explained, how to read a file name, work out what fits with context and slots, and quantize a model yourself with llama.cpp.