claudedwithlove
explore/ant-proxy

ant-proxy

♥Cherished

A proxy server that translates Anthropic API requests into OpenAI-compatible format, enabling Claude Code to work with third-party LLM providers like OpenRouter and Zen. It supports streaming, cost estimation, and observability through Phoenix/OpenTelemetry tracing, while also allowing direct passthrough to Anthropic's API when native Claude models are needed.

·★ 0··submitted April 16, 2026
View on GitHub
Clauded With Love Rating
7.4 / 10

A TypeScript proxy server that translates Anthropic API requests to OpenAI format, enabling Claude Code to work with third-party LLM providers like OpenRouter and Zen. It includes production features like streaming support, observability tracing, health checks, and graceful shutdown handling.

Code Quality7.5
Usefulness8.5
Claude Usage6.0
Documentation8.0
Originality7.0
Highlights
  • ✓Production-ready architecture with comprehensive health endpoints, graceful shutdown, and configurable timeouts
  • ✓Smart dual-mode operation supporting both third-party OpenAI-compatible APIs and direct Anthropic passthrough
  • ✓Excellent observability integration with Phoenix/OpenTelemetry tracing and detailed status endpoints
To Improve
  • →Add comprehensive test coverage including unit tests for API translation logic and integration tests for different provider backends
  • →Include request/response validation and detailed error handling with specific error codes for different failure scenarios
Language
Stack