Halvr is a proxy-enforced spend control plane for teams shipping AI features. Route model calls through one endpoint, attach product metadata, and block budget overruns before a provider receives the request.
Watch the budget envelope while requests are still moving.
Production AI traffic does not arrive as neat dashboard rows. It arrives as bursts, retries, agents, cache hits, and one customer that can burn the entire allowance.
Halvr turns each request into an attributed control decision. The dashboard stays useful because the proxy already resolved ownership, cost, policy, and provider route at the point where spend could still be stopped.
Budget envelope
Request load stays inside the spend envelope until a policy breach is detected, then the proxy blocks before upstream spend.
$7,244
of $10,000
The chart shows request load rising through the month while an eighty percent budget threshold remains visible as a dashed warning line.
Peak request load
18.2k/min
Budget window
rolling 30d
Warn threshold
80%
Block mode
pre-provider
Works with
OpenAI SDKAnthropicGeminiVercel AI SDKLangChainCustom endpoints
03 How it works
One routing change. Four control decisions.
Halvr is not a reporting SDK after the fact. It is an instrument in the request path, so it can decide, route, meter, and reject before spend happens.
01
Switch the base URL
Keep your SDK, payload shape, and provider mental model. The only required change is routing through Halvr.
02
Attach metadata
Send stable customer and feature identifiers so spend maps to product ownership instead of raw provider accounts.
03
Enforce policy
Project, key, customer, and feature budgets are evaluated before the upstream provider call can spend tokens.
04
Close the loop
Usage events, alerts, dashboards, and audit logs make the next cost decision more precise than the last one.
OpenAI-compatible base URL
No SDK rewrite.
const openai = new OpenAI({
apiKey: process.env.HALVR_API_KEY,
baseURL: "https://api.halvr.io/v1"
});
await openai.chat.completions.create({
model: "gpt-4o-mini",
messages,
metadata: {
customerId: "customer_123",
feature: "ai_writer"
}
});
// Attribution now follows the request.
04 Savings calculator
See the savings Halvr can actually defend.
The forecast uses conservative assumptions, integer micro-USD math, and the same catalog-backed Performance billing rule used by the dashboard.
Traffic assumptions
Default values are moderate for a production AI feature and avoid inflated counterfactuals.
5,400,000 monthly calls
180,000
10,0002,000,000
4,800
80024,000
Estimated net customer savings
$34,836
Net savings subtract the projected Halvr fee, so this is closer to what finance will see after provider spend and Halvr billing.
Current provider spend$155,520
With Halvr + fee$120,683.52
Verified savings$43,545.60
Projected Halvr fee$8,709.12
Cache
$18,662
Routing
$13,997
Model selection
$10,886
05 Pricing
Pricing tied to savings, not seats.
Free proves the savings path. Performance charges from verified savings. Managed-Spend gives finance teams predictable pricing against the LLM spend Halvr controls.
Free
$0for one production path
For one production path that needs real savings features before a paid rollout.
10,000 requests or $1k managed spend per month, whichever comes first.