Start here / Core concepts

Core concepts

Models, nodes, machines, requests, credits and earnings.

The words the console uses

Recipe

A recipe is one way of running a model on your machine.

Model

An open model you can call by its model id, the string you pass as model. The Models screen sorts models into four types: Text, Vision, Omni and Decisions. Vision and Omni models serve text for now. Image and audio input are coming soon.

Every model shows one availability word:

  • Available: you can call it now.
  • Temporarily unavailable: listed, but no node can take a request right now. Calls are refused and nothing is billed.
  • Coming soon: listed before launch; it cannot be called yet.
  • Retired: no longer offered.

A model marked Private preview is open to your account before it is public. Other members don't see it.

Request

One call to a model: a chat completion, a completion, embeddings or a decision. Shardio counts its tokens at its own gateway, and that count is what you are billed. A request either ran, and appears in Activity with its tokens, cost and timing, or was refused before it ran, and cost nothing.

Decision

A request to a decision model. You send a state and typed questions (yes or no, a choice, or a score), and get probabilities back instead of prose. A decision is billed per input token; its answers are not billed.

Credits

Your prepaid balance, in US dollars. Every request is billed from it.

Before a request runs, Shardio sets aside enough credits for its largest possible cost: your input plus the most output it asked for. When it ends, you are billed for the tokens it actually used and the rest returns to your balance. That is why a request can be refused with hold_exceeds_balance while you still have some credits.

What each token costs depends on the model:

  • Input and output tokens each have a price per million tokens.
  • A reasoning model's thinking tokens are billed as output.
  • Some models bill input the serving node already had cached at a lower cached-input price.
  • A decision model bills input tokens only.

Live prices are on the Models page.

API key

What your code sends to call models, as Authorization: Bearer <key>. Every key draws from your one balance. A spend cap stops a key once it has spent that much in a day, a week, a month or ever. The Playground in the console uses its own key, named Playground, which has no secret. See API keys.

Node and machine

A machine is hardware running shardio. A node is what the mesh sends requests to: for now, one machine, since nodes made of several machines cannot serve yet. Each node shows one status word: Serving, Starting, Calibrating, Ready, Paused, Needs attention or Offline. See Troubleshooting.

The mesh

Every node serving on Shardio. When you call a model, the gateway chooses one of the nodes serving it, for speed and health. You get the same model at the same price whichever node answers, and a request moves to another node when one fails.

Earnings

What a node you own earns: 80% of what each member request it serves is billed. Earnings collect in your Wallet.

Member requests and platform checks

Member requests are the requests members send and pay for. Platform checks are Shardio's own requests to the nodes serving each model. A node has to answer them as the model it claims to run. No member is charged for them, and hosts are not paid for them.

Every figure Shardio shows counts both. The split appears only as two counts, member requests and platform checks, per model per UTC day or longer.

Verified

A node is Verified when it passed Shardio's checks before it got paid traffic and keeps passing them while it serves. A node that fails stops getting traffic. See How trust works.

Time

The console shows times in your own time zone. Days in charts and totals, and the periods of spend caps, are UTC days.