Guides
How to run AI agents on open-source models: serving them, choosing one, fine-tuning it on your own tasks, deploying it where your data lives, and measuring what each finished task costs.
Open-model inference
- Open-source LLM inference for AI agents: the complete guideHow to run AI agents on open-source models: hosted, dedicated or on-prem, what drives the cost, and how agent traffic differs from chat.
- The best open-source models for coding agents in 2026DeepSeek V4, GLM-5.3, Kimi K3, Qwen3.8 and MiniMax M3 compared for coding agents: coding scores, cost per task, and which to pick for your workload.
- How to fine-tune an open-source LLM for your AI agentFine-tune an open model on your agent's own sessions: what data to use, LoRA or full fine-tuning, training on your success signal, and how to know it worked.
- Self-hosted LLMs vs an inference API vs on-prem: how to chooseWhen to use a hosted inference API, dedicated GPUs, or run open models on-prem or in your own cloud: cost, latency, data control and the GPUs each model needs.
- Prompt caching and the KV cache: why cached tokens decide an agent's billAI agents resend their whole context every turn. How prompt caching and the KV cache work, what cached tokens cost on each model, and how to raise your hit rate.
- How to run Claude Code on open-source modelsRun Claude Code on Kimi K3, GLM-5.3 or DeepSeek V4 with three environment variables. Setup, which model to pick, and what it saves against Claude Opus 5.5.
- Cost per successful task: what it is and how to measure itThe number that tells you what an agent outcome costs, which a per-token price does not.
Model comparisons
- Kimi K3 vs Claude Opus 5.5Cost per task, price per million tokens, and when to pick each.
- GLM-5.3 vs Claude Opus 5.5Cost per task, price per million tokens, and when to pick each.
- DeepSeek V4 Pro vs Claude Opus 5.5Cost per task, price per million tokens, and when to pick each.
- DeepSeek V4.1 Flash vs Claude Opus 5.5Cost per task, price per million tokens, and when to pick each.
- Qwen3.8-Max vs Claude Opus 5.5Cost per task, price per million tokens, and when to pick each.
- MiniMax M3 vs Claude Opus 5.5Cost per task, price per million tokens, and when to pick each.