nielspeter/claude-code-proxy
Lightweight HTTP proxy enabling Claude Code to work with OpenRouter (200+ models), OpenAI Direct (GPT-5), and Ollama (local inference). Full tool support, streaming, thinking blocks.
This is a tool for developers who use Claude Code and want to integrate it with a wider range of AI models. It acts as a go-between, taking your requests from Claude Code and routing them to other AI services like OpenRouter, OpenAI Direct, or a local Ollama setup. This means you can use Claude Code's interface and features while leveraging the capabilities of over 200 different models, including advanced GPT versions or free local inference models, without modifying your Claude Code workflow.
Use this if you are a developer using Claude Code and want to expand your access to a variety of AI models and providers, including local ones, while maintaining full Claude Code functionality like tool calling and streaming.
Not ideal if you are not a developer and do not work with AI APIs or if you are already satisfied with Claude's native model offerings.
Stars
20
Forks
3
Language
Go
License
MIT
Category
Last pushed
Nov 24, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/nielspeter/claude-code-proxy"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
KoushikNavuluri/Claude-API
This project provides an unofficial API for Claude AI, allowing users to access and interact...
jwadow/kiro-gateway
Proxy API gateway for Kiro IDE & CLI (Amazon Q Developer / AWS CodeWhisperer). Use free Claude...
liushuangls/go-anthropic
Anthropic Claude API wrapper for Go
yiyao-ai/proxypool-hub
Multi-protocol AI proxy server for Claude Code, Codex CLI, Gemini CLI & OpenClaw. Account...
AbdelStark/anthropic-rs
Anthropic Rust SDK 🦀 with async support.