claude-to-chatgpt
This project converts the API of Anthropic's Claude model to the OpenAI Chat API format.
jtsang4/claude-to-chatgpt is ranked 10,789 with 1,300 stars.
jtsang4/claude-to-chatgpt is ranked 10,789 among these 8 peers; Agentshire/Agentshire is ranked 10,780.
| Name | Rank | Metrics |
|---|---|---|
| nok/sklearn-porter | 10,774 |
|
| puppyone-ai/puppyone-cloud | 10,775 |
|
| ItsPi3141/alpaca-electron | 10,776 |
|
| Agentshire/Agentshire | 10,780 |
|
| kuafuai/aipexbase | 10,839 |
|
| kubeai-project/kubeai | 10,840 |
|
| Xerxes-2/clewdr | 10,842 |
|
| fatwang2/search2ai | 10,847 |
|
| Parameter | Value |
|---|---|
| Language | Python |
| Category | Infrastructure |
| Subcategory | Gateway |
| Stars | 1,300 |
| Forks | 144 |
| Contributors | 4 |
| Created date | 2023-05-10 |
| Updated date | 2026-10-13 |
| Stars in 1 day | 0 |
| Stars in 7 days | 2 |
| Rank | 10,789 |
| Previous rank | 10,765 |
| Rank change | -24 |
| 7-day stars rank | 8,121 |
| Previous 7-day stars rank | 7,009 |
| 7-day stars rank change | -1,112 |
| Total stars rank | 9,096 |
| Previous total stars rank | 9,084 |
| Total stars rank change | -12 |
| Country | China |
✨ Call Claude API like OpenAI ChatGPT API 💦 Support streaming response 🐻 Support , models 🌩️ Deploy by Cloudflare Workers or Docker Getting Started You can run this project using Cloudflare Workers or Docker: Deployment Using Cloudflare Workers By using Cloudflare Workers, you don't need a server to deploy this project. Paste the code in to Cloudflare Worker "Quick Edit" Editor 3. (Optional) Set custom domain for your Cloudflare Worker The Cloudfalre Workers support 100k requests a day, If you need to call more
than that, you can use Docker to deploy as below. Using Docker Using Docker Compose The API will then be available at API endpoint: Usage When you input the model parameter as or , it will be substituted with . GUI Here are some recommended GUI software that supports this project: Bin-Huang/chatbox Yidadaa/ChatGPT-Next-Web CLI Conversion Details The Claude Completion API has an endpoint which takes the following JSON request: And returns JSON with choices and completions. The
OpenAI Chat API has a similar endpoint which takes: And returns JSON with a response string. This project converts between these two APIs, get completions from the Claude model and formatting them as OpenAI Chat responses. License This project is licensed under the MIT License - see the LICENSE file for details.
How many stars and forks are recorded?
jtsang4/claude-to-chatgpt has 1,300 stars and 144 forks.
What is the repository rank?
jtsang4/claude-to-chatgpt is ranked 10,789.
What language and category are recorded?
jtsang4/claude-to-chatgpt has 1,300 stars, uses Python and belongs to Infrastructure.
Which repository is closest in rank?
jtsang4/claude-to-chatgpt is compared with Agentshire/Agentshire, ranked 10,780 with 1,301 stars.