Unit economics

The price on the node is the price you pay

Every node shows a price before you run. The same function sets it, charges it and settles it — 10 credits for Seedream 5.5, 26 the moment you switch models.

Run any pipeline on the canvas and two numbers appear: the ceiling at the bottom before you start, and the change to your balance after it finishes. This article is about the rule that keeps them the same number — and why that rule has to be structural rather than a promise on a pricing page.

What the ceiling actually means

A four-node pipeline is a small thing: a text prompt feeding a text-to-image node, an upscale, an export. Before you press Run, the canvas totals the price of every node in the graph. Ten credits, in the case below, because one node is connected to a model, one is not connected at all, and the other two only move data around.

That total is not an estimate in the loose sense. It is what the system intends to reserve from your balance, and on a run where everything completes it is exactly what leaves. If a node does not finish, the reservation for it comes back when the order closes. The ceiling can be wrong in your favour; it cannot be exceeded.

The ten credits in that example are Seedream 5.5 on a text-to-image node. Switch that node’s model selector to Seedream 5.0 Pro and the ceiling reads 26 before anything runs; switch it to Qwen-Image 3.0 Pro and it reads 30. Nothing else in the graph changes — same prompt, same export, same wiring — which is the point of showing a total rather than a rate: the model is one dropdown, and it is a dropdown that moves the number by a factor of three.

The hard part is not showing a number. The hard part is making three different parts of the system agree on what that number is.

One question, three places that answer it

Behind every charge there is one question: does this node do work that costs money? Three components need an answer, and they are not the same component:

  • The canvas needs it to show a price before you commit.
  • Order creation needs it to reserve the right amount.
  • Settlement needs it to debit the right amount afterwards.

When each of them answers with its own test, they drift. A node gets a price in one place, is skipped in another, and is still charged in a third — and every one of those three behaviours looks locally reasonable. The customer is the only one who sees the contradiction.

So there is one function that answers it, and all three call it. Whether a node is billable is declared once, next to the node definition, together with the price itself:

This is the whole design. Everything visible on the interface follows from it.

What you see because of it

Two states are now visually distinct, and the distinction is deliberate:

Free means the node works and costs nothing. Logic nodes — prompts, exports, anything that reshapes data without calling a model — read as free.

Not wired means nothing will happen. Those nodes carry no price at all, and they are drawn in a dashed border with that label on them. We chose “no price” over “price 0” on purpose: a zero invites the reading “so it is free to use”, and the honest answer is that the node will not run.

A four-node run: the text-to-image node charged 10 credits, the upscale and export nodes marked Skipped · Not wired

A node that is not connected is a gap in the product, and the interface says so instead of hiding it behind a plausible-looking number. When it is wired up, it will get a price, and the price will come from the same place as every other price.

Skipped is not the same as done

There is a second half to this, and it is the half that usually breaks.

A node that gets skipped used to be recordable as successful — technically it did not fail, so what else would it be? That is a status which can be produced by the absence of work, and once it exists, downstream nodes will happily continue on the strength of an artifact that was never produced.

Now a skipped node writes skipped with a reason. Downstream nodes are blocked by the missing artifact rather than by a phantom one, and settlement has nothing to settle. A status that means “we did this” is only worth reading if there is an output attached to it.

What one run produced

The image below came out of the pipeline in the screenshot above: one model call, one attempt, no retries, 2048×2048. It is the run described in this article, not a sample from a gallery.

Still life of invoices, a fountain pen and a cup of coffee on an oak desk, produced by the text-to-image node in this run

Ten credits bought that. The two nodes that could not run cost nothing, and said so on the canvas before the run started.

How to check this yourself

You do not have to take any of the above on trust, and that is the point of keeping the records per node.

  1. Note the ceiling on the canvas before you press Run.
  2. Run the pipeline.
  3. Compare the ceiling with the change to your balance.
  4. Open the run and read the per-node rows: status, credits, and whether a model was actually called.

On a clean run the first and third numbers match, and the per-node rows add up to the same total. If they ever do not, that is a bug worth reporting to us, and it is a bug you can demonstrate with the numbers on your own screen rather than with a feeling that something cost too much.

What we still do not promise

Three limits, stated because a page that only lists strengths is a brochure:

  • No incremental runs on the server yet. Every run prices the whole graph. The “only changed nodes” toggle was removed from the interface rather than left as a switch that implies a discount we do not apply.
  • Run status is coarse when some nodes fail. The money is correct per node, but a run that partly succeeded is still recorded as succeeded. The per-node rows are the accurate view.
  • Prices are per node, not per second. A slow model response does not change what you are charged; the price is attached to the node’s output, not to the clock.

The rule worth copying

If you are building anything that quotes a price before doing the work, this is the part that transfers, and none of it depends on our architecture:

  1. One function answers “is this billable”. If two of the three callers can be changed without touching the third, they will disagree within a couple of releases.
  2. A node that cannot execute has no price. Not a price shown as zero.
  3. Success must mean an artifact exists. Otherwise a status will eventually be trusted by someone reading a dashboard.
  4. Show the per-node rows to the person who paid. It is the cheapest audit trail you will ever build, and the only one the customer can run without asking you.

The estimate you see before pressing Run and the line on the invoice are the same number because they come from the same function. That is a small claim, and it is the one we can actually keep.

Tests run by the Seedwan lab · Reviewed and edited by Michael · How we report