Claude Code with Anthropic API compatibility
What changed
Claude Code with Anthropic API compatibility January 16, 2026 Ollama v0.14.0 and later are now compatible with the Anthropic Messages API, making it possible to use tools like Claude Code with open-source models. Run Claude Code with local models on your machine, or connect to cloud models through ollama.com. Using Claude Code with Ollama Claude Code is Anthropic’s agentic coding tool that lives in your terminal.
Why it matters
A concrete addition to Practical AI: Tools, Models & Frameworks: it changes what's available to builders today rather than being general commentary.
How it compares
Related prior coverage to compare against:
- Anthropic launches Cowork, a Claude Desktop agent that works in your files — no coding required
- OpenAI compatibility
- Claude Code costs up to $200 a month. Goose does the same thing for free.
Sources
- Claude Code with Anthropic API compatibility (ollama-blog)primary