Converts Claude API requests into OpenAI API format using a Cloudflare Workers proxy, enabling seamless integration with OpenAI-compatible clients.
This TypeScript project provides a proxy server deployed on Cloudflare Workers, designed to bridge the gap between Claude and OpenAI APIs. It seamlessly converts requests formatted for the Claude API (`/v1/messages` endpoint) into the structure required by the OpenAI API. This allows existing Claude-compatible clients, such as the Claude Code CLI, to effectively communicate with any service that supports the OpenAI API format, including dynamic routing to various endpoints and automatic tool calling conversion for broader compatibility.