Not one AI call over budget.No money — no model call.
Slen checks the budget before the model is called and reserves the amount. Once the answer is in, it charges exactly what the call cost and returns the rest to the budget.
01 / 04
AI Flows
Build the logic of a request.
Control every step.


Slen capabilities
One platform.
Everything under control.
Money
- BudgetsProject or organization · Day · week · month · Alert threshold
- ReservesEstimate · Capture at actual cost
- Customer creditsTop up · Overdraft
- Margin and pricesCredit prices · Margin per customer
- LimitsConcurrent reserves · Output token cap
Flows
- AI flowsNodes · Branches by port · Templates
- Models and provider poolsFallback path
- Connections
- PoliciesPer-request limit
- Approvals
- VersionsPublish
Control
- Executions and tracingPath by node · Cost and duration
- Operations journal
- Analytics
- Alerts
Integration
- TypeScript SDK
- PHP SDK
- /v1/operations/executeWebhooks
- API keysIdempotency-Key
SDK
Connect Slen to your application.
Run your flows from your code, manage your customers and their credits, and verify the webhooks Slen sends you.
// npm install @slen/sdkimport { Slen } from '@slen/sdk';const slen = new Slen({ apiKey: process.env.SLEN_API_KEY });// Run a flow for one of your customers; their credits pay for it.const run = await slen.operations.execute( 'support.reply', { messages: [{ role: 'user', content: 'Where is my order?' }] }, { customer: 'user_8421', idempotencyKey: 'ticket-42:reply' },);// Credits the customer bought, added to their account.await slen.customers.topUp('user_8421', '100.0000', { idempotencyKey: 'invoice-7781:topup',});