Status: [LIVE] Endpoints found: https://oxalpha.com/api/chat https://oxalpha.com/chat https://oxalpha.com/api/chat` Source: https://github.com/gravixrdp/oxalpha-api # Ox Alpha OpenAI-Compatible LLM API Proxy A production-ready, high-performance API reverse proxy built with **FastAPI**, **Uvicorn**, and **HTTPX** in Python 3.13. This service exposes standard OpenAI-compatible endpoints (`/v1/chat/completions`, `/v1/models`, and `/health`) backed by the upstream Ox Alpha web chat service (`https://oxalpha.com/api/chat`) running the `z-ai/glm-5.3-flash` model. It allows you to plug the upstream model directly into any OpenAI-compatible application, UI, framework (such as LangChain, LlamaIndex, LiteLLM, Continue, Open WebUI), or the official OpenAI Python SDK. --- ## Architecture ``` Client (OpenAI SDK / curl / WebUI) │ │ Authorization: Bearer ▼ FastAPI Application Proxy (:8000 or $PORT) ├── Request ID Middleware (X-Request-ID propagation) ├── Access Logger (Sanitizes tokens, cookies & prompts) ├── Body Size Limiter (Rejects > 2MB payloads) ├── Bearer Authentication (Constant-time token validation) └── Sliding Window Rate Limiter (Configurable window/requests) │ │ Session Warmup: GET https://oxalpha.com/chat │ Extracts: ox_alpha_session & XSRF-TOKEN ▼ Ox Alpha Web Upstream (POST https://oxalpha.com/api/chat) ├── Headers: X-XSRF-TOKEN, Origin, Referer, X-Context-Sent ├── 428 Precondition Required Automatic Recovery & 1-Retry └── Model: z-ai/glm-5.3-flash │ │ Content-Type: text/event-stream (SSE) ▼ Proxy Streaming / Aggregation Engine ├── If stream=true --> Yields OpenAI SSE chunks (data: {...}) + data: [DONE] └── If stream=false --> Consumes SSE stream, combines chunks, returns JSON │ ▼ Client (OpenAI-compatible Response) ``` --- ## Important Legal & Technical Disclaimer > [!CAUTION] > **Unofficial / Internal Upstream Notice**: The upstream endpoint (`https://oxalpha.com/api/chat`) is an