How Much Do AI Agents Cost to Run? Credit, Tokens, Machine Time

How much AI agents cost to run on Lark: model tokens and machine time at provider prices plus 20%, live per-run cost, per-run caps and monthly budgets.

· 5 min read

GUIDE

On Lark, an AI agent costs what it uses: the model tokens it reads and writes, plus the time its cloud computer runs. Both are charged at the providers' prices plus 20%, and paid from agent credit that comes with your plan. Every run shows what it has cost while it works, and caps per run, per trigger and per month stop spending exactly where you set them.

There's no fixed price per run, because a one-line check and a two-hour research job are different amounts of work. This guide explains what goes into the number and how to keep it where you want it. That matters most when agents run whole jobs of your company every day: each one has a budget, like any hire.

Plans: what you pay comes back as credit

| Plan | Price | Agent credit | |---|---|---| | Free | $0 | $1 a month, to try it | | Pro | $29 a month | $29 every month | | Team | $99 a month | $99 every month | | Enterprise | Custom | Custom limits |

On paid plans, all of what you pay comes back as credit. Free stops at its $1. Paid plans include their credit and continue past it, billed as you go, up to the budget you set.

Plans also differ in what they allow. Free runs one agent at a time, with tasks up to an hour. Pro runs five agents at once, lets agents keep their machine, and includes webhooks and schedules around the clock. Team runs twenty at once and adds unlimited members, a two-factor policy and an audit log. See the pricing.

What a run costs: model tokens plus machine time

A run is one task for one agent. Its cost has two parts:

  • Model tokens. What the AI model reads and writes, at that model's price per million tokens.
  • Machine time. How long the agent's cloud computer runs.

Lark passes both through at the providers' prices plus 20%. AI models are included (Claude, GPT, GLM and DeepSeek), so there are no API keys to set up and no separate model bill.

What makes a run cost more

  • A bigger model. Models cost very different amounts per token. A strong model on a simple job is the most common way to overspend.
  • More steps. Each step the agent takes reads context and writes output.
  • Longer runs. A run that works for hours uses more machine time than one that finishes in minutes.
  • More runs. A trigger every 30 minutes is up to 48 runs a day.

What keeps it low

  • A clear task with a defined "done", so the agent doesn't wander.
  • Notes kept between runs, so a scheduled agent acts only on what's new. The competitor pricing page monitor ends most runs with one line when nothing changed.
  • A cheaper model for routine work.

Live per-run cost

Each run is costed as it works, every 30 seconds. You see the running total on the run's page, and in Usage & billing, broken down by agent, by day and by API key.

Over the API, a run's cost object holds billableUsd, modelUsd, computeUsd and vmSeconds, updated while it runs:

const latest = await lark.runs.get(run.id);
console.log(latest.cost); // { billableUsd, modelUsd, vmSeconds, … }

GET /api/org/billing (or lark.usage() in the SDKs) returns the month's spend by agent, by day and by API key, plus what's running now, your plan, its limits and the budget. See the docs.

Caps: per run, per trigger, per key, per month

A per-run cap

Each agent has a most-one-run-may-spend limit, maxRunCostUsd, covering model and machine. Leave it out and the server's default cap applies. When a run reaches its cap, it stops. An agent's settings show its model's price per million tokens and its per-run cap in words.

Agents also have a time limit per run (24 hours by default, up to 7 days) and a maximum number of steps per run.

A daily cap per trigger

Agents that start themselves have maxRunsPerDay on each trigger: the most runs it may start in any 24 hours. Past it, the webhook answers 429 and no run starts. See running AI agents on a schedule and from webhooks.

A cap per API key

Give any API key its own monthly cap, so a leaked or runaway integration can't spend the whole budget.

The monthly budget

When the month's spend reaches your budget, new runs are refused and running ones stop, wherever they were started: the dashboard, a schedule, a webhook, the API or your editor. A run refused at the start gets a 402 with a code that says why (budget_reached, key_cap, plan_limit). A run that hits a limit while working ends as failed, with the reason in its error.

Quick tasks

Small lookups can run as quick tasks, which stop at your organization's quick-task limits: 5 minutes and $0.25 by default, whichever comes first. You can change them in Settings, then Organization.

Choosing cheaper models

The model is the biggest lever. Pick per agent:

  • For routine work (checking a page, summarizing dashboards, triaging), a fast, cheaper model is usually enough. Lark's ready-made morning brief and lead research agent start on a fast model.
  • For hard work (writing and fixing code, long multi-step jobs), a stronger model can be worth the higher price per token.
  • Compare prices with list_models in the MCP server or GET /api/providers in the API. Both list each model's price.
  • One-off runs left on "auto" pick a model per task, which can choose an expensive model for a big job. Set the model when cost matters.

You can also choose whether an agent's runs get a computer at all: always (the default), auto (only when the task needs one), or never, for tasks that only need the model. Fewer machine minutes means a lower bill.

A simple way to estimate your monthly cost

  1. Run the agent a few times by hand and read each run's cost.
  2. Multiply by how often its trigger fires.
  3. Set the per-run cap a little above a normal run, so an unusual one stops early.
  4. Set a monthly budget you're comfortable with.

Then check Usage & billing after the first week and adjust the model, schedule or task.

FAQ

Is there a fixed price per AI agent run?

No. A run costs its model tokens and machine time at the providers' prices plus 20%, so it depends on the model and how much work the task takes. You see the exact amount on every run as it works.

What happens when my credit runs out?

On Free, runs stop at the $1 of monthly credit. On paid plans, usage continues past the included credit, billed as you go, until it reaches the monthly budget you set.

Do I need my own API keys for the models?

No. Claude, GPT, GLM and DeepSeek are included and paid from credit. You can bring your own provider and keys if you prefer.

Are scheduled and webhook runs priced differently?

No. Triggered runs are billed like any run, and they stop at the trigger's daily cap and your budget. Runs handed off from your editor work the same way; see hand off tasks from Claude Code to cloud agents.

Start free with $1 of agent credit a month.

KEEP READING

Hand this job to Lark tonighttoday

One less loop for you to run: each Lark agent owns its job on its own cloud computer, starts on a schedule or when something happens, and brings you in only to approve.

Start free