An OpenAI-compatible gateway for Cloudflare Workers AI that rotates across multiple accounts, tracks daily neuron budgets, and provides a React dashboard for monitoring and management.

Stars

29

7-day growth

No data

Forks

14

Open issues

0

License

No data

Last updated

2026-07-07

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

This repository solves the 10,000 free neuron per day account limitation by automatically rotating across user-provided accounts and proactively skipping those that have exhausted their budget—combined with a rich, real-time dashboard.

Who it is for

  • Developers using Cloudflare Workers AI who want to bypass per-account rate limits
  • Users of the 9router desktop application seeking a built-in provider proxy
  • Self-hosters needing an OpenAI-compatible API wrapper with observability
  • Teams managing multiple Cloudflare AI accounts for cost efficiency

Use cases

  • Rotating across multiple Cloudflare AI accounts to maximize free neuron usage each day
  • Integrating with OpenAI-compatible clients (e.g., 9router) for chat and embeddings
  • Monitoring real-time account status, neuron consumption, and request logs via a web dashboard
  • Proxying any Cloudflare Workers AI task (text, image, speech, translation, etc.) while preserving compatibility

Strengths

  • Account rotation with automatic 429 cooldown and proactive neuron budget skipping
  • OpenAI-compatible endpoints (/v1/chat/completions, /v1/embeddings) enabling drop-in replacement
  • Comprehensive dashboard with accounts, models, and logs tabs that update in real time
  • Supports all Cloudflare Workers AI capabilities and resolves model IDs to short/full forms

Considerations

  • Neuron tracking is an estimate (±a few percent) and not official Cloudflare billing
  • Embeddings calls are not counted toward the per-account neuron budget because CF returns no usage tokens
  • Request log is in-memory only and clears on restart; account import from 9router is manual

README quick start

Quick start

Description

OpenAI-compatible Cloudflare Workers AI proxy with account-pool rotation and neuron tracking

Related repositories

Similar projects matched by category, topics, and programming language.

react
Featured
react GitHub avatar

react

React is a JavaScript library for building user interfaces with declarative, component-based, and cross-platform design.

Web DevelopmentFrontend Frameworks
246,741
tandpfun
Featured
tandpfun GitHub avatar

wardrobe

A GPT‑image powered app that extracts individual garment cutouts from photos, organizes them into a digital wardrobe, and generates modeled outfit previews.

JavaScript
1,570
mshumer
Featured
mshumer GitHub avatar

Claude-of-Duty

A browser-based first-person shooter built entirely with procedural generation and orchestrated AI agents, featuring 55k lines of Three.js/WebGL2 code and no art assets.

AI & Machine LearningAI Agents
1,234