# coaidev/coai

🚀 Next Gen 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.

Repository: https://github.com/coaidev/coai
Canonical: https://ross.abutalabs.com/products/coai
Homepage: https://coai.dev
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: chatgpt, golang, react, api, chat, cross-platform, gemini, openai, proxy, ai-gateway, llm-gateway
Last push: 2026-03-12T10:00:31+00:00

## Health v2 (maintenance only)
Score: 56/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 71, release rhythm 21, longevity 81
- inputs: {"age_days": 1143, "days_push": 174, "days_rel": 314, "gap_med": 276, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9295, forks 1220 (observed 2026-08-28T04:10:30.414344+00:00)

## What it is
CoAI.Dev is a self-hostable, multi-tenant AI platform combining a ChatGPT-style chat UI with an enterprise-grade unified LLM gateway supporting 200+ models across 35+ providers. It includes load balancing with priority-based routing, cost management, credit/subscription billing, file parsing, web search, model caching, and an admin dashboard.

## Use cases
- self-host a chatgpt-like ai assistant with multi-model support
- unified llm gateway proxying openai anthropic gemini and other providers
- manage api keys and load balance across multiple llm providers with failover
- sell ai chat subscriptions with credit and token-based billing
- chat with pdf and office documents using llm file parsing
- share chat conversations via links and sync across devices
- track llm usage costs and analytics per user or tenant
- add web search to llm chat responses

## When to choose
- you need an all-in-one self-hosted platform combining chat UI, gateway, and billing
- you want to route requests across many LLM providers with priority and load balancing
- you run a multi-tenant AI service and need quotas, credits, and subscription billing
- you want built-in file parsing, OCR, and web search in a chat assistant

## When to avoid
- you only need a lightweight API proxy without chat UI or billing
- you want a minimal single-user chat client without admin overhead
- you need a fully managed SaaS rather than self-hosting
- your stack requires a runtime other than Docker/Kubernetes deployments

## Facets
- artifact type: application
- maturity: active
- function: llm-inference, chatbot, rag, api-gateway, file-upload, image-processing, ocr, caching, load-testing, analytics, monitoring, auth, internationalization, speech-recognition, stable-diffusion
- domain: large-language-models, chatbots, self-hosted, web-development, artificial-intelligence, developer-tools, apis
- platform: self-hosted, cross-platform, go
- tags: llm-gateway, multi-tenant, ai-gateway, billing-system, chat-ui, model-routing, one-api-alternative, chatgpt-ui, admin-dashboard, subscription-billing, billing, web-search, docker, web-server, nodejs, typescript

## Member repositories
- coaidev/coai (main) score 56

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:30.414344+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:22:31.915440+00:00, confidence not recorded.
  - readme: https://github.com/coaidev/coai (fetched 2026-08-28T04:10:30.414344+00:00, sha 2608967009c8)
  - homepage: https://coai.dev (fetched 2026-08-29T08:23:02.508474+00:00, sha 4cf3bfaa4fb2)
  - site_page: https://www.coai.dev/docs (fetched 2026-08-29T08:23:02.517655+00:00, sha 1117acbf1d3c)
  - site_page: https://www.coai.dev/about (fetched 2026-08-29T08:23:02.519737+00:00, sha 18fef23e0e99)
- Data as of 2026-08-30T08:39:29.467469+00:00.
