claudeers.

🔓 unclaimed — this page was auto-generated from GitHub. Are you the creator?

Claim this page →
// Developer Tools

anthropic-proxy

Proxy server that converts Anthropic API requests to OpenAI format and sends it to OpenRouter. It's used to use Claude Code with OpenRouter instead of the An…

// Developer Tools[ cli ][ api ][ claude ]#claude#anthropic#claude-code#llm#openrouter#devtools$open-sourceupdated 11 days ago
Archived
5/100
last commit about 1 year ago
last release none
releases 0
open issues 6
// install
git clone https://github.com/maxnowack/anthropic-proxy

anthropic-proxy

A proxy server that transforms Anthropic API requests to OpenAI format and sends it to openrouter.ai. This enables you to use Anthropic's API format while connecting to OpenAI-compatible endpoints.

Usage

With this command, you can start the proxy server with your OpenRouter API key on port 3000:

OPENROUTER_API_KEY=your-api-key npx anthropic-proxy

Environment variables:

  • OPENROUTER_API_KEY: Your OpenRouter API key (required when using OpenRouter)
  • ANTHROPIC_PROXY_BASE_URL: Custom base URL for the transformed OpenAI-format message (default: openrouter.ai)
  • PORT: The port the proxy server should listen on (default: 3000)
  • REASONING_MODEL: The reasoning model to use (default: google/gemini-2.0-pro-exp-02-05:free)
  • COMPLETION_MODEL: The completion model to use (default: google/gemini-2.0-pro-exp-02-05:free)
  • DEBUG: Set to 1 to enable debug logging

Note: When ANTHROPIC_PROXY_BASE_URL is set to a custom URL, the OPENROUTER_API_KEY is not required.

Claude Code

To use the proxy server as a backend for Claude Code, you have to set the ANTHROPIC_BASE_URL to the URL of the proxy server:

ANTHROPIC_BASE_URL=http://0.0.0.0:3000 claude

License

Licensed under MIT license. Copyright (c) 2025 Max Nowack

Contributions

Contributions are welcome. Please open issues and/or file Pull Requests.

// compatibility

Platformscli, api
Operating systems
AI compatibilityclaude
License
Pricingopen-source
LanguageJavaScript

// faq

What is anthropic-proxy?

Proxy server that converts Anthropic API requests to OpenAI format and sends it to OpenRouter. It's used to use Claude Code with OpenRouter instead of the Anthropic API. It is open-source on GitHub.

Is anthropic-proxy free to use?

anthropic-proxy is open-source, so it is free to use.

What category does anthropic-proxy belong to?

anthropic-proxy is listed under devtools in the Claudeers registry of Claude-compatible tools.

1 views
416 stars
unclaimed
updated 11 days ago

// embed badge

anthropic-proxy on Claudeers
[![Claudeers](https://claudeers.com/api/badge/anthropic-proxy.svg)](https://claudeers.com/anthropic-proxy)

// retro hit counter

anthropic-proxy hit counter
[![Hits](https://claudeers.com/api/counter/anthropic-proxy.svg)](https://claudeers.com/anthropic-proxy)

// reviews

// guestbook

0/500

// related in Developer Tools

🔓

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Curs…

// devtoolsaffaan-m/JavaScript225,699MIT[ claude ]
🔓

Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA

// devtoolsgarrytan/TypeScript119,234MIT[ claude ]
🔓

AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs,…

// devtoolssafishamsi/Python80,484MIT[ claude ]
🔓

🙌 OpenHands: AI-Driven Development

// devtoolsOpenHands/Python79,324NOASSERTION[ claude ]
→ see how anthropic-proxy connects across the ecosystem