[LIVE] [sabyaghosh/hy3-openai-api-v2] 2 endpoint(s)
ChatGPT
API Proxy/ChatGPT
2,202 characters
Status: [LIVE]
Endpoints found:
https://tencent-Hy3.hf.space/gradio_api/call/chat
https://tencent-Hy3.hf.space/gradio_api/call/chat/{event_id}
Source: https://github.com/sabyaghosh/hy3-openai-api-v2
# Hy3 OpenAI-Compatible API
A production-ready OpenAI-compatible API proxy for [Tencent Hy3](https://huggingface.co/spaces/tencent/Hy3) — the 295B MoE model — via HuggingFace's Gradio API. **No API key required** to call Hy3 upstream. Drop-in replacement for `https://api.openai.com/v1`.
[](https://render.com/deploy)
[](https://www.python.org/downloads/)
[](https://fastapi.tiangolo.com/)
[](LICENSE)
---
## ✨ Features
- **OpenAI-compatible** — point any OpenAI SDK / LangChain / LlamaIndex client at `/v1`
- **Streaming + non-streaming** — full SSE support with `text/event-stream`
- **Thinking mode** — exposes model reasoning via `reasoning_content` (o1-style)
- **Tool calling** — full OpenAI function-calling format
- **Multi-turn conversations** — pass full message history
- **Concurrency control** — semaphore with queue + 503 + `Retry-After` (prevents upstream overload)
- **Observability** — structured logging, in-memory ring buffer, admin endpoints, `/stats` dashboard
- **Production hardening** — optional API keys, admin token auth, input size limits, CORS spec compliance, graceful error handling
- **CLI client** (`hy3.sh`) — quick one-shot prompts from the terminal
- **Docker-ready** — one-command deploy to Render / Fly.io / Cloud Run / Koyeb / Railway / HF Spaces
---
## 📦 What's New in v1.3.0 (Bug-Fix Release)
This version includes **25 surgical fixes** over the original `hy3-openai-api`. Key improvements:
### Critical Fixes
- **`Dockerfile` now copies `logging_layer.py`** — Docker images were crashing on startup with `ModuleNotFoundError`
- **CORS spec compliance** — `Access-Control-Allow-Origin: *` is no longer paired with `credentials=true` (browser