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
Kimi K2.5: China's Native Multimodal and Agentic AI Revolution

Kimi K2.5: China's Native Multimodal and Agentic AI Revolution

I’m back with a groundbreaking development that is shaking up the tech world! Yes, as you guessed from the title, we are talking about Kimi K2.5. Developed by the Chinese company Moonshot AI, this model is currently taking the world by storm with its 1.04 Trillion parameters and technical specifications. πŸš€ In this post, we will take a close look at the technical details, features, and popularity of Kimi K2.5, which is challenging giants like GPT-4.1 and Claude. πŸ‘‡πŸ» ...

February 1, 2026 ·  4 min ·  797 words