Using Claude Code with GitHub Models

Using Claude Code with GitHub-Hosted Anthropic Models

Introduction Claude Code is an incredible AI-powered coding assistant that runs in your terminal. While it typically connects to Anthropic’s API, did you know you can use it with GitHub Hosted Anthropic Models instead? This is particularly useful if you have access to GitHub’s AI model. In this post, I’ll show you how to proxy Claude Code requests to GitHub-hosted Anthropic models using litellm, an open-source proxy server that translates between different LLM API formats. ...

January 31, 2026 · 3 min · Suraj Deshmukh