How to Use Claude Code with Ollama, Kimi and GLM

How to Use Claude Code with Ollama, Kimi and GLM

Running Claude Code against a non-Claude model works, and you do it on a path the providers document themselves rather than through a hack. Ollama, Moonshot and Z.ai all publish an Anthropic-compatible endpoint. Setup comes down to three environment variables. This guide covers the steps for all three providers, how to make the configuration stick, and the errors people hit most πŸ”Œ The Short Answer Three providers, three addresses Provider ANTHROPIC_BASE_URL Ollama (local) http://localhost:11434 Moonshot / Kimi https://api.moonshot.ai/anthropic Z.ai / GLM https://api.z.ai/api/anthropic MiniMax https://api.minimax.io/anthropic Alibaba / Qwen depends on the plan Add ANTHROPIC_AUTH_TOKEN and a model name and that’s the whole setup. ...

August 8, 2026 ·  9 min ·  1728 words
What Is Kimi K3? The AI That Designed a Chip in 48 Hours

What Is Kimi K3? The AI That Designed a Chip in 48 Hours

TL;DR: Kimi K3 in 30 Seconds Kimi K3 is the new AI model Chinese company Moonshot AI announced on July 16, 2026; at 2.8 trillion parameters, it is the largest open source model released so far. In a single 48-hour run it designed a working chip, finished an astrophysics study in 2 hours instead of 2 weeks, and cut a teaser video from 56 raw clips. It reads 1 million tokens at once: roughly like reading the entire Lord of the Rings trilogy in one sitting and remembering all of it. On coding it plays in the same league as the strongest Claude and ChatGPT models, and beats them on some tests. It falls behind on hard knowledge questions. You can try it in the Kimi app and on kimi.com. The model files go public on July 27, 2026. Ask an AI to design a chip for you and what happens? It probably writes you a nice article about how chips are designed. ...

July 17, 2026 ·  10 min ·  2058 words