# jtsang4/claude-to-chatgpt

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

Repository: https://github.com/jtsang4/claude-to-chatgpt
Canonical: https://ross.abutalabs.com/products/claude-to-chatgpt
Language: Python
License: MIT
License Family: permissive
Topics: anthropic, chatgpt, claude, claude-ai, openai
Last push: 2024-08-18T08:35:25+00:00

## Health v2 (maintenance only)
Score: 20/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 86
- inputs: {"age_days": 1212, "days_push": 745, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1297, forks 147 (observed 2026-08-28T04:04:17.081584+00:00)

## What it is
A proxy service that translates Anthropic Claude API calls into the OpenAI Chat Completions API format, so Claude can be used anywhere the OpenAI API is expected. It supports streaming responses and can be deployed via Cloudflare Workers or Docker.

## Use cases
- use claude with openai api clients
- expose claude as a chatgpt-compatible endpoint
- connect claude to chatgpt gui apps
- self-host an openai-compatible claude proxy
- swap gpt-3.5-turbo for claude in existing tools
- deploy claude api adapter on cloudflare workers

## When to choose
- you have existing OpenAI-format tooling and want to use Claude models
- you want a serverless Cloudflare Workers deployment
- you need streaming chat completions backed by Claude

## When to avoid
- you need current Claude model support, as the project targets claude-instant-1 and claude-2 and has not been updated since 2024
- you need a native Anthropic API client
- you require production-grade maintenance or security updates

## Facets
- artifact type: service
- maturity: maintenance
- function: api-framework, http-server, middleware, llm-inference
- domain: large-language-models, apis, backend, artificial-intelligence
- platform: cloud, self-hosted, python
- tags: api-proxy, api-conversion, anthropic-claude, openai-compatible, cloudflare-workers, chatgpt, docker, web-server

## Member repositories
- jtsang4/claude-to-chatgpt (main) score 20

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:17.081584+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:53:53.828189+00:00, confidence not recorded.
  - readme: https://github.com/jtsang4/claude-to-chatgpt (fetched 2026-08-28T04:04:17.081584+00:00, sha 433a92c3ee1e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
