cliproxyapi-cloudflare-stack - Self-hosted LLM gateway with CLIProxyAPI and Cloudflare
Deploy an OpenAI-compatible LLM API gateway using CLIProxyAPI fronted by Cloudflare Workers, D1, and Cloudflare Tunnel.
Tags
Updated: 2026-09-19Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Deploy temp-email Worker and D1
- Configure Cloudflare Email Routing rules
- Install CLIProxyAPI on Linux VM
- Expose gateway using Cloudflare Tunnel
- Hot-reload credential files into CPA
Inputs
- Cloudflare account and zone credentials
- Linux VM SSH access
- Credential JSON files
Outputs
- Deployed Cloudflare Worker and D1 database
- Running CLIProxyAPI systemd service
- HTTPS endpoint for OpenAI-compatible API
Requirements
- Linux VM Ubuntu 24.04
- Python 3.12 or 3.13
- Cloudflare Email Routing Rules Edit permission
- Wrangler CLI or Cloudflare REST API
- cloudflared CLI tool
