claude-to-chatgpt
claude-to-chatgpt is an open-source project for converting Anthropic's Claude model API into the OpenAI Chat API format. The core goal of this project is to let developers call the Claude API in the same way as the OpenAI ChatGPT API. It supports streaming responses and is compatible with both the claude-instant-1 and claude-2 models. The project offers two deployment methods: via Cloudflare Workers or Docker. When using Cloudflare Workers, no server of your own is needed, and it supports 100,000 requests per day; if a higher call volume is needed, Docker deployment can be used. When the input model parameter is gpt-3.5-turbo or gpt-3.5-turbo-0613, it is replaced with claude-instant-1; otherwise claude-2 is used. This conversion layer enables GUI clients that originally only support the OpenAI API (such as Chatbox and ChatGPT-Next-Web) to also connect to the Claude models. The project is open-sourced under the MIT license.