# x-dr/chatgptProxyAPI

🔥 使用cloudflare 搭建免费的 OpenAI api代理 ，解决网络无法访问问题。支持流式输出

Repository: https://github.com/x-dr/chatgptProxyAPI
Canonical: https://ross.abutalabs.com/products/chatgptproxyapi
Homepage: https://chatai.451024.xyz
Language: HTML
License: MIT
License Family: permissive
Topics: chatgpt, cloudflare-workers, free, openai-api, cloudflare-pages
Archived: true
Last push: 2025-06-24T11:58:01+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 28, release rhythm 35, longevity 91
- inputs: {"age_days": 1280, "days_push": 435, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3029, forks 656 (observed 2026-08-28T04:07:38.861957+00:00)

## What it is
A self-deployable reverse proxy for the OpenAI API built on Cloudflare Workers and Cloudflare Pages, letting users replace api.openai.com with their own domain to bypass network restrictions. It supports streaming output and includes a Docker deployment option for overseas VPS hosts.

## Use cases
- access the OpenAI API from regions where it is blocked
- proxy api.openai.com through my own Cloudflare domain
- deploy a free OpenAI API reverse proxy on Cloudflare Workers
- set up a streaming OpenAI chat completions proxy
- self-host an OpenAI API endpoint for my apps
- check OpenAI API balance via a proxied endpoint

## When to choose
- you need to reach api.openai.com from a network that blocks it
- you want a free, serverless proxy using Cloudflare's free tier
- you need streaming (SSE) responses through the proxy
- you want to bind the proxy to your own custom domain

## When to avoid
- you need a production-grade proxy with rate limiting and auth controls
- you cannot deploy on Cloudflare and lack an overseas VPS
- you need Docker deployment with SSE streaming support (not supported)
- you expect heavy public usage of someone else's demo instance

## Facets
- artifact type: service
- maturity: active
- function: proxy, http-server, llm-inference
- domain: large-language-models, apis, self-hosted, censorship-circumvention
- platform: cloud, self-hosted
- tags: openai-api-proxy, cloudflare-workers, cloudflare-pages, reverse-proxy, streaming, free-tier, web-server, docker

## Member repositories
- x-dr/chatgptProxyAPI (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:38.861957+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-30T07:29:51.032819+00:00, confidence not recorded.
  - readme: https://github.com/x-dr/chatgptProxyAPI (fetched 2026-08-28T04:07:38.861957+00:00, sha ddcbd63b437a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
