jtsang4

Claude To ChatGPT — AI skill for Claude Code

AI community

This project converts the API of Anthropic's Claude model to the OpenAI Chat API format.

How to install Claude To ChatGPT

This entry records only its repository, not the path inside it, so there is no exact command to give. Open jtsang4/claude-to-chatgpt and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude To ChatGPT does

This project converts the API of Anthropic's Claude model to the OpenAI Chat API format.

Alternatives in AI

  • Open Dots — Open-source, self-hosted AI agent workspace and alternative to OpenAI Dots, Meta Muse, Grok Bot, Instinct, Man 5.5k ★
  • Deepreasoning — A high-performance LLM inference API and Chat UI that integrates DeepSeek R1's CoT reasoning traces with Anthr 5.4k ★
  • Claude Code Switch — One-command model switcher for Claude Code (Only for Anthropic API) 655 ★

README

English | 简体中文 | 日本語

Claude to ChatGPT

release GitHub Repo stars GitHub Repo Badge GitHub Repo Language

This project converts the API of Anthropic's Claude model to the OpenAI Chat API format.

  • ✨ Call Claude API like OpenAI ChatGPT API
  • 💦 Support streaming response
  • 🐻 Support claude-instant-1, claude-2 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.

  1. Create a Cloudflare Worker
  2. Paste the code in `cloudflare-worker.js` to Cloudflare Worker "Quick Edit" Editor
  3. Save and deploy
  4. (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 Dock