01 LLM cost controls in the request path

Stop learning about LLM spend from the invoice.

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.

Acme production

Live spend control

proxy online

MTD

$7,241

Blocked

$844

Cache

42%

P95

4.1 ms

Request path

before provider spend

OwnerFeatureDecision

customer_982

gpt-4o

support_copilot

Blocked

team_enterprise

claude-3-5

agent_review

Routed

customer_123

gpt-4o-mini

ai_writer

Allowed

customer_771

gpt-4o-mini

research_agent

Routed

metadata.customerId=customer_123 / metadata.feature=ai_writer / policy=project_budget

Integration

One base URL

Attribution

Customer + feature

Enforcement

Spend budgets

Alerting

Webhook first

02 Built for real AI traffic

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

80% warning

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.

  1. 01

    Switch the base URL

    Keep your SDK, payload shape, and provider mental model. The only required change is routing through Halvr.

  2. 02

    Attach metadata

    Send stable customer and feature identifiers so spend maps to product ownership instead of raw provider accounts.

  3. 03

    Enforce policy

    Project, key, customer, and feature budgets are evaluated before the upstream provider call can spend tokens.

  4. 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
Current provider spend: 100 percent of current spend
With Halvr + fee$120,683.52
With Halvr + fee: 78 percent of current spend
Verified savings$43,545.60
Verified savings: 28 percent of current spend
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.

  • 10,000 routed requests / month
  • Up to $1k spend under management / month
  • Routing, semantic cache, and soft budgets
  • Customer and feature attribution
  • 1 project and 1 user
Start free

Performance

Most popular
20%of verified savings

The default paid plan for teams that want Halvr paid from savings it can prove.

$99 monthly minimum, credited against the 20% verified-savings share.

  • At $10k AI spend and 30% savings: you keep $2,400/mo; Halvr costs $600
  • $99/mo minimum credited against savings share
  • Customer keeps 80% of verified savings
  • One-time 14-day trial with a card on file
  • Hard budgets, API-key limits, and blocks
  • 80%, exhausted, and blocked alerts
  • Agent sessions, failover, routing, and semantic cache
  • No per-seat billing
  • No savings beyond the minimum, no fee
Start 14-day trial

Managed-Spend

1.5% -> 0.5%of spend under management

The graduation plan for mature, optimized accounts that need predictable spend-under-management pricing.

Sales-only annual contract for teams averaging $25k+/mo spend under management.

  • 1.5% -> 1.0% -> 0.5% tiered SUM pricing
  • Requires $25k+/mo trailing spend under management
  • Annual contract required
  • SSO, RBAC, and enterprise controls
  • VPC, on-prem, or self-hosting path
  • Chargeback and showback exports
  • SOC 2-ready audit logs
  • SLA and priority support
Talk to sales