Billing

Billing

LagrangeCloud is free during the beta: sandboxes, instances and fleets cost nothing. You pay only for the model tokens your agents use, at the model's list price.

Each organisation has prepaid credit, shared by its projects. New organisations start without credit: add it with a coupon code or a top-up. The first guided demo, replay included, is free, and so are the first three runs of your own agents (each up to $0.50), so you can try an agent you just deployed whatever its harness and model cost. Your balance and recent charges are under Settings → Usage.

What costs what

WhatPrice
On-demand runs (each in a fresh sandbox)Free during the beta
Instances and fleet membersFree during the beta
Model tokens on platform modelsList price for the model; see below
Improvement replaysNothing; LagrangeCloud pays for them

Calls through an agent's endpoint, scheduled runs and webhook runs are runs like any other. Callers never pay you or LagrangeCloud directly: everything is charged to the organisation that owns the agent.

Platform models

Agents always call models through the platform. Bringing your own provider key isn't supported yet: an OPENAI_API_KEY or ANTHROPIC_API_KEY secret doesn't change which model the harness calls or what it's charged.

Platform tokens are charged per million tokens:

ModelInputCached inputOutput
tensorblock/gpt-6.1-sol$2.00$0.10$10.00
tensorblock/gpt-5$1.25$0.125$10.00
tensorblock/claude-opus-5-5$4.00$0.20$20.00
tensorblock/claude-sonnet-5-5$2.00$0.20$10.00
tensorblock/claude-fable-5-1$10.00$0.25$50.00

The model picker in the agent's Settings lists every model this deployment offers, with its input and output price.

Running out

When the credit runs out, new runs, messages, sessions and instances are refused with HTTP 402 insufficient_credit, and running instances are stopped once they are idle. Their disks are kept, so they can be started again later. Drafting an agent and Adjust also need some credit left.

Adding credit

Owners and admins add credit under Settings → Usage → Add credit: pick an amount from $5 to $1,000 and pay on Stripe's checkout page. The credit shows up as soon as Stripe confirms the payment, usually within seconds of returning to the console. Payments are listed on the same page.

Alonzo tool calls

Alonzo, TensorBlock's tool gateway for agents, signs you in with your LagrangeCloud account and charges its tool calls to the same LagrangeCloud balance: your personal wallet, or your organisation's credit for accounts that still use organisation billing. Each call shows in the activity as Alonzo tool call, charged what it actually cost and never more than the tool's listed price. Sandboxes and instances stay free during the beta; model tokens and Alonzo tools are charged at their price. Alonzo's free tools need no credit at all.

Coupon codes

A coupon code adds credit to your organisation. Enter it in the optional Coupon code field when you sign up; a sign-up link with a code in it (/console/?coupon=CODE) fills the field in, and the page shows how much credit the code adds. Owners and admins can also enter a code later under Settings → Usage. Each organisation can use a code once, and a code can have a use limit or an end date.

Limits per run

Set a time or cost limit per run in the agent's Settings, or limits in lgr.yaml:

limits:
  max_minutes: 30
  max_cost_usd: 2

A run that reaches its time limit stops and is marked failed. Treat max_cost_usd as a best-effort cost guard, not a guaranteed provider spending cap: a model request already in progress can take the run past it. Claude Code can enforce the guard between model turns; Codex runs have no hard cost cap yet, so also give them a time limit and configure provider-side spending controls. Lagrange caps platform-key authorization at the credit left, but a run is billed for what it actually used even when it goes past its cost guard.