Coai
๐ Next Generation Multi-tenant AI One-Stop Solution. Builtin Admin & Billing System. Enterprise-Grade Unified LLM Gateway Support for 200+ Models And 35+ Providers, Load Balacing w/ Priority-base Routing, Cost Management, Chat Share, Cloud Sync, Credit/Subscription Billing, All File Parsing, Web Search, Built-in Model Cache.
Install / Use
/learn @coaidev/CoaiREADME

๐ฅณ CoAI.Dev
๐ Next Generation AIGC One-Stop Business Solution
"CoAI.Dev > Next Web + One API"
English ยท ็ฎไฝไธญๆ ยท ๆฅๆฌ่ช ยท Docs ยท Discord ยท Deployment Guide
<img alt="CoAI.Dev Preview" src="./screenshot/coai.png" width="100%" style="border-radius: 8px"> </div>๐ Features
- ๐ค๏ธ Rich Model Support: Multi-model service provider support (OpenAI / Anthropic / Gemini / Midjourney and more than ten compatible formats & private LLM support)
- ๐คฏ Beautiful UI Design: UI compatible with PC / Pad / Mobile, following Shadcn UI & Tremor Charts design standards, rich and beautiful interface design and backend dashboard
- ๐ Complete Markdown Support: Support for LaTeX formulas / Mermaid mind maps / table rendering / code highlighting / chart drawing / progress bars and other advanced Markdown syntax support
- ๐ Multi-theme Support: Support for multiple theme switching, including Light Mode for light themes and Dark Mode for dark themes. ๐ Custom Color Scheme
- ๐ Internationalization Support: Support for internationalization, multi-language switching ๐จ๐ณ ๐บ๐ธ ๐ฏ๐ต ๐ท๐บ ๐ Welcome to contribute translations Pull Request
- ๐จ Text-to-Image Support: Support for multiple text-to-image models: OpenAI DALL-Eโ & Midjourney (support for U/V/R operations)โ & Stable Diffusionโ etc.
- ๐ก Powerful Conversation Sync: Zero-cost cross-device conversation sync support for users, support for conversation sharing (link sharing & save as image & share management), no need for WebDav / WebRTC and other dependencies and complex learning costs
- ๐ Model Market & Preset System: Support for customizable model market in the backend, providing model introductions, tags, and other parameters. Site owners can customize model introductions according to the situation. Also supports a preset system, including custom presets and cloud synchronization functions.
- ๐ Rich File Parsing: Out-of-the-box, supports file parsing for all models (PDF / Docx / Pptx / Excel / image formats parsing), supports more cloud image storage solutions (S3 / R2 / MinIO etc.), supports OCR image recognition ๐ See project CoAI.Dev Blob Service for details (supports Vercel / Docker one-click deployment)
- ๐ Full Model Internet Search: Based on the SearXNG open-source engine, supports rich search engines such as Google / Bing / DuckDuckGo / Yahoo / Wikipedia / Arxiv / Qwant, supports safe search mode, content truncation, image proxy, test search availability, and other functions.
- ๐ Progressive Web App (PWA): Supports PWA applications & desktop support (desktop based on Tauri)
- ๐คฉ Comprehensive Backend Management: Supports beautiful and rich dashboard, announcement & notification management, user management, subscription management, gift code & redemption code management, price setting, subscription setting, custom model market, custom site name & logo, SMTP email settings, and other functions
- ๐ค Multiple Billing Methods: Supports ๐ด Subscription and ๐ด Elastic Billing two billing methods. Elastic billing supports per-request billing / token billing / no billing / anonymous calls and minimum request points detection and other powerful features
- ๐ Innovative Model Caching: Supports enabling model caching: i.e., under the same request parameter hash, if it has been requested before, it will directly return the cached result (hitting the cache will not be billed), reducing the number of requests. You can customize whether to cache models, cache time, multiple cache result numbers, and other advanced cache settings
- ๐ฅช Additional Features (Support Discontinued): ๐ AI Project Generator Function / ๐ Batch Article Generation Function / ๐ฅช AI Card Function (Deprecated)
- ๐ Excellent Channel Management: Self-written excellent channel algorithm, supports โก multi-channel management, supports ๐ฅณpriority setting for channel call order, supports ๐ฅณweight setting for load balancing probability distribution of channels at the same priority, supports ๐ฅณuser grouping, ๐ฅณautomatic retry on failure, ๐ฅณmodel redirection, ๐ฅณbuilt-in upstream hiding, ๐ฅณchannel status management and other powerful enterprise-level functions
- โญ OpenAI API Distribution & Proxy System: Supports calling various large models in OpenAI API standard format, integrates powerful channel management functions, only needs to deploy one site to achieve simultaneous development of B/C-end business๐
- ๐ Quick Upstream Synchronization: Channel settings, model market, price settings, and other settings can quickly synchronize with upstream sites, modify your site configuration based on this, quickly build your site, save time and effort, one-click synchronization, quick launch
- ๐ SEO Optimization: Supports SEO optimization, supports custom site name, site logo, and other SEO optimization settings to make search engines crawl faster, making your site stand out๐
- ๐ซ Multiple Redemption Code Systems: Supports multiple redemption code systems, supports gift codes and redemption codes, supports batch generation, gift codes are suitable for promotional distribution, redemption codes are suitable for card sales, for gift codes of one type, a user can only redeem one code, which to some extent reduces the situation of one user redeeming multiple times in promotions๐
- ๐ฅฐ Business-Friendly License: Adopts the Apache-2.0 open-source license, friendly for commercial secondary development & distribution (please also comply with the provisions of the Apache-2.0 license, do not use for illegal purposes)
โจ CoAI.Dev Business
- โ Beautiful commercial-grade UI, elegant frontend interface and backend management
- โ Supports TTS & STT, plugin marketplace, RAG knowledge base and other rich features and modules
- โ More payment providers, more billing models and advanced order management
- โ Supports more authentication methods, including SMS login, OAuth login, etc.
- โ Supports model monitoring, channel health detection, fault alarm automatic channel switching
- โ Supports multi-tenant API Key distribution system, enterprise-level token permission management and visitor restrictions
- โ Supports security auditing, logging, model rate limiting, API Gateway and other advanced features
- โ Supports promotion rewards, professional data statistics, user profile analysis and other business analysis capabilities
- โ Supports Discord/Telegram/Feishu and other bot integration capabilities (extension modules)
- ...
๐จ Supported Models
- OpenAI & Azure OpenAI (โ Vision โ Function Calling)
- Anthropic Claude (โ Vision โ Function Calling)
- Google Gemini & PaLM2 (โ Vision)
- Midjourney (โ Mode Toggling โ U/V/R Actions)
- iFlytek SparkDesk (โ Vision โ Function Calling)
- Zhipu AI ChatGLM (โ Vision)
- Alibaba Tongyi Qwen
- Tencent Hunyuan
- Baichuan AI
- Moonshot AI (๐ OpenAI)
- DeepSeek AI (๐ OpenAI)
- ByteDance Skylark (โ Function Calling)
- Groq Cloud AI
- OpenRouter (๐ OpenAI)
- 360 GPT
- LocalAI / Ollama (๐ OpenAI)
๐ป OpenAI Compatible API Proxy
- [x] Chat Completions (/v1/chat/completions)
- [x] Image Generation (/v1/images)
- [x] Model List (/v1/models)
- [x] Dashboard Billing (/v1/billing)
๐ฆ Deployment
[!TIP] After successful deployment, the admin account is
root, with the default passwordchatnio123456
โจ Zeabur (One-Click)
Zeabur provides a certain free quota, you can use non-paid regions for one-click deployment, and also supports plan subscriptions and elastic billing for flexible expansion.
- Click
Deployto deploy, and enter the domain name you wish to bind, wait for the deployment to complete.- After deployment is complete, please visit your domain name and log in to the backend management using the username
rootand passwordchatnio123456. Please follow the prompts to change the password in the chatnio backend in a timely manner.
๐ณ BTPanel (One-Click)
- Install Baota Panel by visiting BTPanel and install using the stable version script.
- Log in to the panel and click Docker on the left to enter Docker management.
- If prompted that Docker / Docker Compose is not installed, you can install according to the guide above.
- After installation is complete, enter App Store, search for
CoAIand click Install. - Configure basic application information such as your domain name, port, etc., and click Confirm (default configuration can be used).
- First-time installation may take 1-2 minutes to complete database initialization. If you encounter issues, please check the panel running logs for troubleshooting.
- Visit your configured domain or server
http://[ip]:[port], log in to the backend management using usernamerootand passwordchatnio123456.
AlibabaCloud Compu
Related Skills
bluebubbles
337.3kUse when you need to send or manage iMessages via BlueBubbles (recommended iMessage integration). Calls go through the generic message tool with channel="bluebubbles".
gh-issues
337.3kFetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
oracle
337.3kBest practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).
slack
337.3kUse when you need to control Slack from OpenClaw via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.

