Estimate a job's price (free, books nothing)
estimateExecutionSymbioza price, cost, feasibility, balance or credit: ALWAYS call the tool (estimateExecution for a price), never answer from memory, prior chat, arithmetic or cached values, never replace its price card with prose, never invent a total. Never make the user pick a budget just to see the likely cost: estimate without budgetUsd, explain the estimate, then ask for the spending approval. Call estimateExecution once per spec and budget: the answer already has the price, runtime, readiness and balance; call again only when the spec or budget changes. Symbioza selects compatible compute internally and returns estimate, shown first: status best_effort with likelyUsd, lowUsd–highUsd, confidence, runtime (the expected runtime) and costBreakdown, or rate_only with only perHourUsd; then price (evidence, summary, perHourUsd, includes, unknown, nextStep), estimatedPriceUsd (only when price.evidence is customer, then equal to estimate.likelyUsd), readiness (preliminary while a budget or saved access is missing — budget_required, access_required — else ready; inputs_unverified and inputs_not_declared are advice that never blocks a submit) and runtime (boundSeconds, boundBy, note): only where the run would be stopped — a limit, never a prediction. A maxRuntimeSeconds above 172800 (48 hours) is refused here too, with invalid_spec, as submitJob refuses it. No matching machine: a refusal in submitJob's shape — reason, code no_compute, action relax_spec_or_retry; still free and still books nothing. image must be one of the images we have verified launch on our machines: pytorch/pytorch:2.4.1-cuda12.1-cudnn9-runtime, pytorch/pytorch:2.4.0-cuda12.1-cudnn9-runtime, tensorflow/tensorflow:2.15.0. Any other image is refused with code invalid_spec, action fix_spec and a supportedImages list, before anything is booked or charged. budgetUsd is what you are willing to spend on the job, and you are never billed more than that. Every dollar figure returned by any tool here is in that same unit: what you pay. It also returns account: availableUsd (what this account can spend right now, promotional credit included), promoUsd and promoExpiresAtMs (promotional credit counts toward a job only once the account has made a first top-up of any amount), promoJobCapUsd (the most promotional credit any one job may use — a larger budget needs paid balance for the rest), coversThisJob (would submitJob accept this spec's budget today; null when the spec has no budgetUsd), claimableUsd (free compute credit this account could still take, or null), nextAction ("add_funds" or "claim_credit", null when the job is already covered), claimUrl, and with a budget topupUrl and shortfallUsd (the whole dollars of credit this job still needs, 0 when covered; topupUrl carries it — give the user that link as returned). When the spec attaches secrets, it also returns access: ready (the saved sets that will be injected: name, type and variable names), required (each missing, ambiguous or type_mismatch reference — a missing one with a setupUrl to give the user, an ambiguous one with candidates to ask about), conflicts, complete and nextAction (add_access or fix_spec); submitJob refuses until access.complete is true. A warning env_may_hold_credential names env variables that look like credentials — move them to saved Secrets. It also returns specDigest, a fingerprint of the exact spec and budget priced here — only when the spec carries budgetUsd, since submitJob refuses one without it: pass it to submitJob and a spec or budget changed since this estimate is refused with invalid_spec instead of run. estimate.runtime is the one runtime story: how long this job likely runs (likelySeconds, its range and one evidence sentence); runtime.boundSeconds is only where the run would be stopped — a limit, never a prediction. When estimate.status is best_effort, show estimate.likelyUsd with its range (lowUsd–highUsd), the expected runtime, confidence, costBreakdown and disclaimer — a best-effort estimate from the strongest evidence about this workload; it is not a quote, and image history alone is never evidence about this job. When estimate.status is rate_only, nothing predicts the runtime: tell the user there is no total, and give price.perHourUsd (what each hour of running costs). estimatedPriceUsd is returned only when price.evidence is customer — the estimate priced at the user's own maxRuntimeSeconds — and then equals estimate.likelyUsd. No range is given without evidence for one. budgetUsd stays the hard maximum either way, and is never needed to see an estimate. Read the account before submitJob so a funding problem is something you fix rather than something you discover from a refusal — claiming credit needs no payment. Declare datasetGb as the total data the box will ingest, including data it downloads itself, so a host too slow to pull it in time is filtered before booking. Declare gpu.minCudaVersion (e.g. 13.0) if your image pins a CUDA build — it filters the market here too, so the price you get back is for a host that can actually run your image. Only when the user explicitly requires a particular model for their own benchmark, declare gpu.gpuNameExact: true with gpu.gpuName to price only that exact card model, with every substitute refused — the price then reflects the instrument a measurement actually needs. Add gpu.minPowerLimitW to price only boards at or above that TDP, since one model name covers several. May also return advisory warnings/notes (additive, may be absent) — e.g. ingest_may_exceed_deadline when the declared datasetGb cannot move inside maxRuntimeSeconds over the link the selected host advertises (or the rate we measured on that box before), and ingest_not_predicted when that host publishes no link speed and we have never measured one. Advisory ONLY: it never refuses and never changes the ranking or price; it is about the box we would book for you, not about your data's source, whose speed we do not measure from here.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"spec": "<spec>"
},
"name": "estimateExecution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | The job spec to estimate: image + command run on a rented box sized by minDiskGb (and gpu, when declared). budgetUsd is optional here — leave it out to see the likely cost before the user chooses one; submitJob requires it. Supply the workload: the image, the command, its inputs, the expected outputs and budgetUsd. Symbioza sizes the machine — do not ask the user to choose CPU cores, RAM, VRAM, a GPU model, a provider or a region, and do not derive a resource minimum from a thread count, a worker count or a measurement taken somewhere else. gpu.minVramGb, minRamGb and minCpuCores are optional expert floors: declare one only when the workload has evidence for it, and omit it otherwise — an omitted floor is sized by Symbioza, never treated as zero. The gpu block is optional: leave it out and the job is still GPU work with Symbioza sizing the card; declare it to carry minCudaVersion or an evidenced floor. | |
| authKey | No | Usually omit this. The customer door — the OAuth-signed-in HTTPS connector at https://symbioza.dev/mcp — authenticates the session itself, so no key is passed per call. Only a self-hosted or test transport passes a key here. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Machine-readable refusal code: unauthorized, invalid_spec, budget_too_low, insufficient_balance, access_required, secret_conflict, no_compute, unavailable, refused | |
| notes | No | Advisory only, never a refusal | |
| price | No | What the price rests on, what it includes and what is still unknown | |
| access | No | The saved secrets this spec attaches, by name and type only | |
| action | No | The one next step: authenticate, fix_spec, raise_budget, add_funds, claim_credit, add_access, relax_spec_or_retry, retry_later, contact_support | |
| reason | No | Why, in a customer-safe sentence | |
| account | No | This account's spending position for the spec | |
| runtime | No | boundSeconds, boundBy (budget | customer | platform), note: where the run would be STOPPED on that machine — a limit, never a prediction. The expected runtime is estimate.runtime | |
| estimate | No | The best-effort estimate of the total bill: show likelyUsd with its range, confidence and disclaimer, or perHourUsd when rate_only. budgetUsd stays the hard cap | |
| rejected | No | Present and true when the call was refused; nothing was booked or charged | |
| warnings | No | Advisory only, never a refusal | |
| budgetUsd | No | Your own cap, read back; nothing bills past it. Absent when the spec has none | |
| readiness | No | What stands between this estimate and a submittable one, plus advice about its inputs | |
| provenance | No | ||
| specDigest | No | Fingerprint of the exact spec and budget priced here; pass it to submitJob. Absent when the spec has no budgetUsd: submitJob requires one | |
| supportedImages | No | On an unverified-image refusal: the images the door accepts | |
| estimatedPriceUsd | No | What this spec is expected to bill you, in dollars — present only when price.evidence is customer (the estimate priced at your own maxRuntimeSeconds), and then equal to estimate.likelyUsd; otherwise absent and the total is estimate.likelyUsd |