What it costs to run Chatbot UI

At 10,000 monthly users, Chatbot UI would cost about $133 a month in infrastructure, priced as the AWS equivalent, plus $712–$13,243 a month in AI model tokens depending on the model. Skeram forecast this from its code at commit 81328b6, read 2026-10-27, with token prices as of 2026-11-12. What breaks first: 6 routes call an LLM on your key with no output cap; 1 unauthenticated route calls models on your users' stored API keys.

Skeram

Chatbot UI

github.com/mckaywrigley/chatbot-ui at 81328b6AI wrapper29 routes, nextRead 2026-10-27Download the model (JSON)

What to fix firstat 10,000 users, ranked by severity and evidence

CriticalCode fix · bites at 10K users

No max_tokens is passed, so each response is as long as the model decides. These calls are $413–$8,264/mo at 10,000 monthly users assuming 600 output tokens — a verbose model or a prompt that invites long answers moves that figure with no ceiling.

Fix: Pass an explicit max_tokens on every call sized to the UI (chat ~1K, titles ~50); alert on per-user daily token spend.

CriticalCode fix · bites at 100 users

POST /api/chat/custom runs without a session but uses API keys users saved in the app. Your bill is untouched; theirs isn't — anyone who can address a key's record can spend it, and the user finds out from their provider invoice.

Fix: Require a session and check the stored key belongs to the caller before using it; never select keys by an id taken from the request alone.

WarningCode fix · bites at 100K users

On the single-service deploy shown, 29 routes, long-lived LLM streams all scale (and fail) together. A burst of slow LLM/job traffic starves the hot request paths that pay the bills; one bad deploy takes down all of it at once.

Fix: Split the worker out first (cheapest isolation win — the architecture shown runs it as a separate service); split LLM routes when their traffic grows. Needs a worker-only entrypoint in the codebase for the split to actually isolate anything.

2 critical

Per active user, per month
$0.084–$1.34
LLM $0.071–$1.32 (cheap to frontier model) + infrastructure $0.013
$0.0011–$0.022 per chat message (/api/chat/openai)
LLM tokens per month
$712$13,243cheap modelfrontier model
Plus $2.05–$41.05 on users' own keys
AWS per month
$133
Recommended architecture, us-east-1

Assumptions

Chatbot UI: the bill at each scale

Monthly usersInfrastructureAI model tokensCritical findings
100$82/mo$7.12–$132/mo1 unauthenticated route calls models on your users' stored API keys
1,000$102/mo$71.18–$1,324/mo1 unauthenticated route calls models on your users' stored API keys
10,000$133/mo$712–$13,243/mo6 routes call an LLM on your key with no output cap; 1 unauthenticated route calls models on your users' stored API keys
100,000$352/mo$7,118–$132,426/mo6 routes call an LLM on your key with no output cap; 1 unauthenticated route calls models on your users' stored API keys; One deployment unit carries every workload; 3 third-party APIs are called inline with requests

Forecast by Skeram from the repository at commit 81328b6, analysed 2026-10-27. Infrastructure is priced as the AWS equivalent at AWS list prices, whatever the app deploys to. Token prices from the dated snapshot shown in the report above.

Want one of an app you use? Request a teardown, or see all teardowns.

Questions

How much does it cost to run Chatbot UI at 1,000 users?

About $102 a month in infrastructure, priced as the AWS equivalent plus $71.18–$1,324 in AI model tokens at 1,000 monthly users, by Skeram's forecast from the code at commit 81328b6. What breaks first: 1 unauthenticated route calls models on your users' stored api keys.

How much does it cost to run Chatbot UI at 10,000 users?

About $133 a month in infrastructure, priced as the AWS equivalent plus $712–$13,243 in AI model tokens at 10,000 monthly users, by Skeram's forecast from the code at commit 81328b6. What breaks first: 6 routes call an llm on your key with no output cap; 1 unauthenticated route calls models on your users' stored api keys.

How much does it cost to run Chatbot UI at 100,000 users?

About $352 a month in infrastructure, priced as the AWS equivalent plus $7,118–$132,426 in AI model tokens at 100,000 monthly users, by Skeram's forecast from the code at commit 81328b6. What breaks first: 6 routes call an llm on your key with no output cap; 1 unauthenticated route calls models on your users' stored api keys; one deployment unit carries every workload; 3 third-party apis are called inline with requests.