The invoice says $12,480 on four models. It doesn't say that support replies are 40% of it.
With Alye: spend by service, feature and model, updated as calls happen.Know what every AI feature costs, before the invoice does.
I record every model call your services make and turn it into a number per feature, per model and per customer. When spend moves, I tell you why and who changed it, so engineering, product and finance read the same figure.
AI is the fastest-growing line on your bill, and the least explained.
Provider invoices show tokens by model. Your business runs on features and customers. I connect the two.
A longer prompt, a retry loop or a model swap can double cost overnight. You find out a month later.
With Alye: limits checked every minute, and I explain what changed.Without per-customer cost you can't price plans, spot abuse or see which accounts lose money on AI.
With Alye: tag a request with your customer and see their cost.One number, read three ways.
Ship AI features without surprise bills.
- Cost, tokens and latency per service and model
- Traces that show every call inside one request
- Error-rate and quiet-service alerts
- Works with the clients and frameworks you use
Forecast and allocate AI spend.
- Spend by team, service and customer
- Daily prices from official provider lists
- Budgets with Slack, Teams and email alerts
- Cost by environment, so staging stays separate
Price features on real unit costs.
- Cost per request and per customer
- See what a prompt or model change did to cost
- Find the customers that cost the most to serve
- Compare features before you scale them
Everything you need to run AI like a business line.
Spend by service, feature, model and customer.
Every call is recorded with its model, tokens, latency and cost, and grouped the way your system is built.
- Group by service, feature, model, environment or customer
- Add your own tags to any request
- Input, output and cached tokens priced separately
| Feature | Top model | Share | Spend |
|---|---|---|---|
| support · reply | gpt-4o | $4,920 | |
| search · rerank | claude-sonnet | $3,140 | |
| agent · plan | gpt-4o | $2,210 | |
| triage · classify | gemini-2.5-flash | $1,380 | |
| ingest · embed | embeddings | $830 |
Cost per request, per customer, per plan.
Tag requests with your customer and see what each one costs you to serve, and who costs more than their plan pays for.
- Cost per customer, per request and per feature
- Spot heavy users and runaway loops
- Find accounts that cost more than their plan earns
| Customer | Requests | Cost |
|---|---|---|
| northwind | 1.2M | $3,980 |
| globex | 940K | $2,760 |
| initech | 310K | $2,120 |
| umbrella | 520K | $1,540 |
Open one request and see every call inside it.
Agents and chains make many model and tool calls per request. A trace shows each step, its cost and how long it took.
- Model calls, tool calls and retries in order
- LangChain and LangGraph recorded with no extra setup
- Jump from an expensive feature straight to its traces
Know the same minute spend runs away.
Set limits per service, feature or customer. I check them every minute and say what changed when one fires.
- Spend limits, error rates and services that go quiet
- Slack, Microsoft Teams and email
- Each alert explains its cause, not just its number
| Rule | Channel | State |
|---|---|---|
| support spend over $400 a day | #llm-costs | firing |
| error rate over 2% for 5 min | #oncall | ok |
| ingest quiet for 15 min | ok |
support passed its $400 daily limit. The jump started with release v2.4.
Priced from the official lists, every day.
Model prices change often. I sync them daily from OpenAI, Anthropic, Google, AWS and Azure, so your costs match what you are billed.
- Per-model input, output and cached-token prices
- Provider-specific prices for Azure, AWS Bedrock and Vertex AI
| Model | Input | Output | Source |
|---|---|---|---|
| gpt-4o | $2.50 | $10.00 | OpenAI |
| claude-sonnet | $3.00 | $15.00 | Anthropic |
| gemini-2.5-flash | $0.30 | $2.50 | |
| claude-haiku | $1.00 | $5.00 | AWS Bedrock |
Ask why, and get an answer with numbers.
Ask me in the app or from your editor. I answer from your live data and say what you could do about it.
- "Why did spend go up this week?"
- "Which customers cost the most to serve?"
- "What would caching the support prompt save?"
Live in an afternoon. No proxy, no gateway.
The SDK wraps the clients you already call and sends what it records in the background, off your request path.
Add the SDK
One package and one line at startup in each service.
Say who it's for
Optionally tag requests with your customer or feature.
Alye takes it from there
Costs, traces and alerts from the first call. I flag what changes.
# pip install alye
import alye
alye.init(service="support-reply", env="production") # one name per microservice// npm install alye
import * as alye from "alye";
import OpenAI from "openai";
alye.init({ service: "support-reply", env: "production" });
const openai = alye.wrap(new OpenAI());// implementation("ai.alye:alye:0.1.0")
import ai.alye.Alye;
import ai.alye.AlyeOptions;
Alye.init(AlyeOptions.builder()
.service("support-reply")
.env("production")
.build());Cost and timing by default. Prompts only if you say so.
What teams ask before they start.
Something else? Write to sales@alye.ai.
Does Alye slow down my requests?
No. The SDK records each call and sends it in the background. Your requests go directly to your model provider, exactly as before.
Do you proxy my traffic or hold my provider keys?
No. I wrap the client you already use, inside your own service. Your provider keys stay with you.
Which providers and frameworks are supported?
OpenAI, Anthropic, Google Gemini and Vertex AI, AWS Bedrock, Azure OpenAI, Mistral, DeepSeek, Groq and models served through the OpenAI client, plus LangChain and LangGraph. SDKs for Python, JavaScript and Java, and OpenTelemetry.
How do you keep prices accurate?
I sync prices every day from the providers' official price lists, including input, output and cached tokens.
Can I see cost per customer without sending personal data?
Yes. Tag requests with your own customer ID, not a name or email. I only need a stable identifier.
Do I need the Security module too?
No. Use LLM observability on its own, or add Cloud & code security later on the same account.