Unlimited ChatGPT using cloudflare workers and workers AI.
- Clear Chat: Start a new conversation at any time.
- Settings: Toggle particle effects and theme settings (light/dark).
- Open Source Contributions: Open to community contributions for further improvements.
| Models | Use Case |
|---|---|
@cf/meta/llama-3.1-8b-instruct |
Recommended for general tasks and efficiency. |
@cf/meta/llama-3.2-3b-instruct |
Lightweight and optimized for speed/latency. |
@cf/meta/llama-3.1-70b-instruct |
Best for complex reasoning and logic. |
@cf/mistral/mistral-7b-instruct-v0.1 |
A solid, proven alternative to Llama. |
@cf/google/gemma-7b-it |
Lightweight and instruction-tuned. |
@cf/qwen/qwen1.5-7b-chat |
Excellent performance in chat-based scenarios. |
Warning
Check out Cloudflare Limits and choose a model based on your usage.
- Create a Cloudflare account.
- Navigate to
Workers & Pages > Create > Create Worker. - Deploy the worker by clicking Deploy.
- Add AI binding in Settings name it
AI. - Edit the code by clicking Edit Code.
- Upload worker.js into Cloudflare.
- Finally, Deploy.
- Workers:
- Request Limit: 100,000 per day.
- CPU Time: 10 ms per request.
- Workers AI:
- Daily Neurons: 10,000 per day.
- Text Generation: 300 requests per min.
| Model Type | Neurons Cost per Request | Daily Requests |
|---|---|---|
| Small LLMs (e.g., Llama 3 8B) | ~50–150 | ~2,200 |
| Large LLMs (e.g., Llama 3 70B+) | ~500–1,500 | ~1000 |
Note
If you exceed these limits, Cloudflare will return a 429 (Too Many Requests) error. On the Paid plan, you will only be billed for Neurons used beyond the initial 10,000 daily free allowance.
Check out the live demo here. (API Endpoint)
📦 Python Usage (main.py) [DEAD]
if __name__ == "__main__":
Client = DuckGPT(model="gpt-4o-mini")
histories = [{
"role": "user",
"content": "you are an expert python geek"
}]
question = "How to decode base64 using python"
print(Client.Chat(question, histories))Contributions are welcome! Feel free to submit a pull request or report an issue.
MIT License
Copyright (c) 2026 Vauth
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

