Your data never touches us. Your app never depends on us. Weckr sits beside your code, never in front of it. Metadata in, nothing sensitive out.
Nothing leaves your server but the call you already make.
Wraps the client. Adds userId, feature, plan. Checks the cap.
The same request as before. Zero added latency.
One async POST to Weckr with tokens, cost, latency, and the userId you passed. Never the prompt, never the reply. If Weckr is unreachable, the log is dropped and your call already succeeded.
Prompts never leave your server
Weckr logs tokens, cost, latency, and the userId you pass in. Prompt and response text are never sent.
Out of the request path
Your LLM calls go straight to the provider. Weckr logs asynchronously, with zero added latency.
Fails open, always
If Weckr is unreachable, your app keeps working. Logging fails silently and calls are never blocked.
Open source, verify everything
The full SDK is MIT licensed on GitHub. Read every line, and remove it by unwrapping one client.
Your heaviest users are often your least profitable. A user on your $9 starter plan who hits your AI features 50 times a day can cost you $40 a month to serve. They look engaged. They are your most expensive liability, and you will not know until the OpenAI bill arrives.
Live spend by user, model and feature
Every call logs the moment it returns, priced at current rates.
Margin per user
Plan revenue minus real AI cost, per customer, per period.
Worst margin always on top
One sort on the Users page finds the customer costing more than they pay.
An agent loop can burn tokens all night. Weckr flags it in minutes. Alerts fire the moment a user crosses 50,000 tokens in five minutes, in your own Slack and email. Caps bound what any user can cost you, checked before every call, whether or not anyone is awake.
| When | User | Type | Tokens | Cost |
|---|---|---|---|---|
| Just now | u_412 | velocity | 61,240 | $0.41 |
| 3h ago | u_309 | velocity | 52,890 | $0.35 |
| Yesterday | u_211 | margin | - | -$6.10 |
- Agent loop detection
Sums tokens per user over a rolling window. Cross 50,000 tokens in 5 minutes and we Slack you immediately.
- Margin alerts
Set a negative-margin threshold per project. When a user drops below it, we ping Slack and email. Cooldown prevents spam.
- Weekly digest
Optional Monday 09:00 UTC email: cost, revenue, margin, top users, top features, week-over-week.
| Plan | Monthly cap | When hitWhen the cap is hit |
|---|---|---|
| free | $2.00 | Block call▾ |
| starter | $5.00 | Downgrade model▾ |
| pro | $20.00 | Downgrade model▾ |
| business | $100.00 | Block call▾ |
block throws WeckrCapError before the call · downgrade swaps to a cheaper model in the same provider
Set a monthly cap per plan. The SDK checks it before every LLM call. On a hit you choose: silently downgrade to a cheaper model, or throw WeckrCapError and show your own upgrade prompt. Fails open if we are down.
import { isWeckrCapError } from '@weckr/sdk';
try {
await wk.chat(openai, opts);
} catch (err) {
if (isWeckrCapError(err)) return upgradePrompt();
throw err;
}No Slack OAuth or app install. You paste an incoming webhook URL and we POST to it. Same pattern Sentry and Linear use.
Beside your code, not between you and your provider. Most observability tools proxy the call and store the prompt. Weckr wraps the client, keeps the metadata, and enforces the budget.
Wrap your client. Or let Claude do it. Two lines in TypeScript or Python. Or paste one prompt and let Claude wire Weckr into your codebase end to end.
$ npm install @weckr/sdkconst result = await openai.chat.completions.create(opts);import { Weckr } from '@weckr/sdk';
const wk = new Weckr({ apiKey: 'wk_…', plans: { pro: 29 } });
const result = await wk.chat(openai, { ...opts, userId, feature, plan });Two added lines in app.ts. Logs fire after your LLM call returns, with zero added latency.
One flat price, no usage math. Free for your first 50,000 requests a month. Pro is $49 flat, seven days free, cancel from the dashboard whenever you like.
Hobby
Up to 50k requests a month. For founders shipping their first AI feature.
- Per-user cost and margin view
- 90-day log retention
- Basic cost analytics
Pro
Most popularUp to 1M requests a month. 7 days free, then $49. Cancel anytime.
- Everything in Hobby
- Spending caps: block or downgrade
- Loop detection and Slack alerts
- Model and pricing recommendations
- Unlimited log retention
No card up front. No usage meter running. Beta launch pricing, locked in for early adopters. A single runaway agent left looping overnight can cost more than a year of Pro.
Prefer a walkthrough over exploring solo? Thirty minutes with the founder. Weckr wired into your actual app, live, and every question about cost, margin, caps or safety answered. No slides, just your code.
Book a demo
Ghiles Asmani
Founder · Stockholm, Sweden
AI engineer in Stockholm, working as a consultant on production LLM systems. Across multiple projects I kept running into the same problem: a handful of users were quietly costing more in OpenAI calls than they paid in subscription, and nobody noticed until the invoice arrived. I looked for an off-the-shelf tool that catches it in real time. There wasn't one, so I built Weckr.
Common questions. Straight answers on data, latency, providers, caps and price.