Alye / LLM observability

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.

Two lines in any serviceNo proxy in your request pathPython · JavaScript · Java
Spend explorer · acme / productionNov 1 – Nov 3
Spend this month$12,480▲ 18% vs Oct
Cost per request$0.0029p95 latency 1.4s
Cost per customer$41304 customers
Spend by servicelast 30 days
support +38% since Tuesday. Alye traced it to a longer system prompt in v2.4.
// Why teams add Alye

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.

"Which feature is spending this?"

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.
"Why did it double this week?"

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.
"What does each customer cost us?"

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.
// Who it's for

One number, read three ways.

Engineering leaders

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
Finance and FinOps

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
Product managers

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
// What you get

Everything you need to run AI like a business line.

01 · Attribution

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
Group byservicefeaturemodelcustomer
FeatureTop modelShareSpend
support · replygpt-4o
$4,920
search · rerankclaude-sonnet
$3,140
agent · plangpt-4o
$2,210
triage · classifygemini-2.5-flash
$1,380
ingest · embedembeddings
$830
02 · Unit economics

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
Cost per customer · November304 customers
CustomerRequestsCostPer request
northwind1.2M$3,980$0.0033
globex940K$2,760$0.0029
initech310K$2,120$0.0068
umbrella520K$1,540$0.0030
initech costs twice as much per request as everyone else: their documents are 3× longer. Worth a look at their plan.
03 · Traces

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
Trace · POST /chatrequest 7f3a…
POST /chat2.41s · $0.031
retrieve
gpt-4o plan$0.012
tool: search
claude answer$0.019
customer: northwindfeature: supporttokens 3,412retries 0
04 · Alerts and budgets

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
Alerts · acme / productionchecked every minute
RuleChannelState
support spend over $400 a day#llm-costsfiring
error rate over 2% for 5 min#oncallok
ingest quiet for 15 minemailok
Alye · #llm-costs · 14:20
support passed its $400 daily limit. The jump started with release v2.4.
05 · Accurate prices

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 prices · per 1M tokenssynced 06:00 UTC
ModelInputOutputSource
gpt-4o$2.50$10.00OpenAI
claude-sonnet$3.00$15.00Anthropic
gemini-2.5-flash$0.30$2.50Google
claude-haiku$1.00$5.00AWS Bedrock
06 · Alye explains

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?"
Alye · in the app
Why did our AI spend go up this week?
alye · get_llm_spend
Spend is up $1,060 week on week. 82% of it is support · reply.Release v2.4 made its system prompt 2.3× longer, so every reply now sends about 1,900 more input tokens. Trimming the prompt or caching it would bring support back to about $410 a day.
// How it works

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.

01 · Install

Add the SDK

One package and one line at startup in each service.

02 · Tag

Say who it's for

Optionally tag requests with your customer or feature.

03 · Watch

Alye takes it from there

Costs, traces and alerts from the first call. I flag what changes.

set ALYE_API_KEY in your environment
# pip install alye
import alye

alye.init(service="support-reply", env="production")   # one name per microservice
// Your data

Cost and timing by default. Prompts only if you say so.

0prompts stored unless you turn capture on
Maskedemails, cards and phone numbers when capture is on
No proxyyour calls go straight to your provider
Your keysprovider keys never leave your services
// Questions

What teams ask before they start.

Something else? Write to sales@alye.ai.

Does Alye slow down my requests?
Alye

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?
Alye

No. I wrap the client you already use, inside your own service. Your provider keys stay with you.

Which providers and frameworks are supported?
Alye

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?
Alye

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?
Alye

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?
Alye

No. Use LLM observability on its own, or add Cloud & code security later on the same account.

Get started

Ready to put Alye on duty?

First trace right away. First ranked scan in about fifteen minutes.

Start free Read the docs