Skip to the main content
Layered system architecture from client JSON payload through schema validation, three parallel solvers, perturbation ranker and E0–E7 provenance tagger to REST outputs.

Machine interface · JSON, MCP, metered

Engine 0.9.0 · 513ef0e · repository 513ef0e · last checked 2026-12-01 09:10:50 UTC

Your software can ask what binds, and get an engineering answer back.

The same engine behind the studies, callable directly. Thirteen electrical, thermal and physical constraints solved against a hall; the binding one returned with its basis, the costed relief ladder behind it, and the date the whole thing turns on. No account manager, no PDF, no spreadsheet round-trip.

Three ways to use GridForge

  1. 1 · A free result

    Find what binds your hall

    Seven numbers you already know. The engine returns the constraint that binds first, the racks the hall carries as found and after relief, and which inputs were assumed. No card, no account. Every figure carries an evidence class, and the calibration record is published as it stands.

    Try the free capacity check
  2. 2 · Metered software

    Call the engine from your own code

    Start on a free allowance of 25 units a month, no card. Then pay as you go at €2 a unit under a monthly cap you set, from €20 to €2,000: invoiced monthly in arrears, with a hard stop at the cap. Take a plan when the volume warrants it: API — Triage starts to cost less from 450 units a month.

    Get the free allowance
  3. 3 · An engineering engagement

    A fixed fee, a named deliverable

    When you need a named engineer to review a hall, not an API response. The fee is fixed before work starts: at checkout, or agreed in writing after a deposit for the Study and the Portfolio Screen. Drafted by the engine, then reviewed and released by a named engineer (Hall Watch change notes are written automatically and are not engineer-reviewed). The first paid step is the Density Screen, from €4,500, which credits in full against the Envelope Study. API responses are screening output and never carry an engineer's sign-off.

    See the engagements
Infrastructure engineer working at a workstation beside live server racks, screens unreadable.
Reference photography — not a customer site; not measured evidence.
Two dialects, one definition

OpenAI / Anthropic function-calling shape at /v1/tools, and Model Context Protocol over JSON-RPC at /mcp. Both generated from the same schema the server validates against.

Units, not calls

A qualify and a forty-hall portfolio run do not cost the same and are not billed the same. Rates are published at /v1/version so you can price a job before you run it.

Evidence on every number

Each figure carries an evidence class E0–E7 and a provenance digest. A modelled number loose inside an agent loop is more dangerous than one in a board pack, not less.

What you can call

gridforge_qualify and gridforge_estimate are free and need no key. Everything else meters.

ToolEndpointUnitsReturns
gridforge_qualifyfree/v1/qualify0binding constraint, racks as found and after relief (each with racks_evidence, the evidence class of that rack count as a short code such as E0: the weakest class among the constraints that cap it), the item that sets the date (null, with sets_the_date_reason, when no date can be given: nothing is deployable, or a lead time on the path is missing because transformers or UPS were not declared), and the inputs nobody has measured (when you send assumed_fields, also inputs_declared_assumed, which lists only what you declared; when you send contracted_MW and no firm_capacity_MVA, the firm capacity the qualifier derived is a required grid.firm_capacity_MVA row in intake.gaps, as an assumption). No capital cost or dated lead times in this free read: the metered /v1/compare (it needs an API key) returns indicative capital and weeks with evidence classes, and the paid documents add the full costed ladder.
gridforge_estimatefree/v1/estimate0endpoint, units, unit_price_cents, estimated_cents, billable, free, the rule that produced the units, and (with a key) the remaining allowance and whether the call fits.
gridforge_screen/v1/screen1screen payload (with grid_queue_context: the measured US queue statistic beside the assumed grid wait), or the rendered screening document.
gridforge_compare/v1/compare1gridforge/ttp-compare/1: scenarios[] (each with as_found.racks and after_ladder.racks, and racks_evidence beside each: the evidence class of that rack count as a short code such as E0), ranking, grade, caveats, grid_queue_context (measured US queue statistic, context only), request_digest, provenance.
gridforge_study/v1/study5the model pack, a rendered document, or the CSV working files.
gridforge_portfolio/v1/portfolio1halls ranked against the objective, each marked rankable or not (a hall with a required input missing or an equipment bank undeclared is ranked on assumptions and kept out of the comparable total), with the comparable total of deployable racks, an upper-bound total that counts halls on one connection once each, the halls left out and a constraint roll-up; with format md or html, also the rendered document and a model pack per hall.
gridforge_diff/v1/diff2headline, racks/weeks/capex deltas, ranked drivers, explained and residual; changed_inputs_known and drivers_note say when the inputs moved but cannot be named (a diff against previous_state), evidence_changed_inputs names the inputs whose declared evidence class moved.
gridforge_spec/v1/spec3the specification document, what it is sized for, and the response template a supplier fills in.
gridforge_bids/v1/bids2ranked bids with scores, schedule impact, and optional cost-library lines.
gridforge_power_assess/v1/power/assess5capacity (current/target/gap; target_reachable and gap_racks_after_ladder say whether the full headroom ladder reaches the target, and what is still missing when it does not), binding_constraint, headroom_ladder (every relief priced and dated), time_to_power (critical item and dependencies), evidence (calibration state, evidence classes used), and next_action (which leads with the fact when the target is not reachable).
gridforge_power_deploy_assess/v1/power/deploy/assess5load_profile summary (peak/mean/load-factor/ramp/step-events, with its own evidence class), capacity (grid-only vs. target, the gap), architectures (each with contingency status, CAPEX, lead time, whether fully costed, readiness_gates — interconnection/protection/fuel/permitting/electrical/reliability, each PASS/FAIL/MISSING_DATA/REQUIRES_ENGINEERING_STUDY/REQUIRES_LICENSED_REVIEW/NOT_APPLICABLE with its reason and what's missing — plus rfq_ready [enough data to prepare an RFQ], external_clearances_required [who still has to sign off — protection, utility, permitting], and execution_ready [cleared to build, which on-site generation/storage architectures will almost never show as true from screening alone]), and next_action, which names a missing readiness field before it ever says 'proceed to RFQ', always separates RFQ-readiness from build clearance, and states which objective was used, why, and the trade-off against the runner-up architecture — never a silent 'cheapest wins'.
gridforge_power_deploy_spec/v1/power/deploy/spec3the specification document, or its summary and response template as JSON.
gridforge_power_deploy_bids/v1/power/deploy/bids2the ranked comparison, the leading compliant supplier (or null) and the note.
gridforge_proposal/v1/proposal2the proposal document and the engagement's catalogue price.

Also served, not tools

  • POST /v1/deck (3 units, key required): the walkthrough deck for a hall. REST only; there is no MCP tool for it.
  • GET /health (free, no key): Liveness check.
  • GET /v1/version (free, no key): What this engine serves, how it meters, and its provenance.
  • GET /v1/tools (free, no key): The tool catalogue: OpenAI function-calling shape and MCP shape, the rate card and the auth rule.
  • GET /v1/platforms (free, no key): The rack library (the engine's platform library), short form.
  • GET /v1/intake/template (free, no key): The blank intake document with every field.
  • GET /v1/calibration (free, no key): How far the model has been reconciled against instrumented sites.
  • GET /v1/calibration/residuals (free, no key): Aggregate residual statistics over approved observation records only.
  • GET /v1/usage (key required): This key's metered usage for the current UTC month.
  • GET /v1/estimate?endpoint=<route>&hall_count=<n> (free, no key; a key adds where it stands): What a call would cost, before it is made (query form).
  • POST /mcp: the MCP transport, JSON-RPC 2.0, at most 10 messages in a batch. The 14 tools above are its tools.

The same catalogue as an OpenAPI 3.1 description, generated from it: /openapi.json.

Auth, retries and errors

  • Send your key as X-API-Key: <key> or Authorization: Bearer <key>. The free operations need no key.
  • Send an Idempotency-Key header (at most 150 characters) on a POST, or on an /mcp tools/call. A longer key is refused: HTTP 400 on REST; over /mcp, JSON-RPC error -32602 with data.status 400 inside an HTTP 200. It takes effect only on a request that carries a valid API key, and never on /v1/estimate: a keyless call to a free operation is not deduplicated. The key is scoped to your account and to the endpoint (over /mcp, the tool's endpoint), so the same string on another endpoint is a different request. For 24 hours after the first successful answer, a retry with the same key and the same body is answered with that first result and is not charged again; the replay carries X-GridForge-Idempotent-Replay: true (also sent as Idempotent-Replay: true) and its units are 0. "The same body" is exact: on REST it is the same bytes, so a re-indented or re-ordered JSON body is a different body; over /mcp it is the same arguments in any key order. The same key with a different body is refused and nothing runs: HTTP 422 on REST; over /mcp, JSON-RPC error -32602 with data.status 422 inside an HTTP 200. In an /mcp batch each message is keyed as <key>#<position in the batch>; a batch that mixes replays with new messages carries X-GridForge-Idempotent-Replay: true at the HTTP level, and X-GridForge-Units is the units actually charged for its new messages, not 0. Only a successful answer is remembered: a refused or failed call was refunded, so retrying it runs it afresh. If the stored answer has been evicted from the engine's memory, or the engine has restarted, the engine recomputes it and still does not charge twice only when it keeps its ledger durably (GET /v1/version reports metering.ledger_durable: true; keys with a spending cap or a free allowance are refused with 503 without one). Without a durable ledger such a retry is a new, charged request. A recomputed answer is the same except for date-stamped fields (a generated date, provenance.report_date) and the code digest if the engine was redeployed inside the window. A replay still counts toward the rate limit. After 24 hours the key is forgotten and a repeat is a new, chargeable request.
  • A rejected or failed call is not charged. These are the refusals you can meet:
400
the body is not valid JSON or not a JSON object, or the Idempotency-Key is longer than the limit
401
a metered route was called without a key, or with one the engine does not accept
402
the key's monthly allowance or cap is spent; the call was refused and not charged. Buy more, do not retry
409
the requested action conflicts with current readiness or state (for example require_rfq_ready on an architecture that is not yet RFQ-ready)
413
the body is larger than 512 KiB
415
the body was declared as anything other than application/json
422
the input is too thin or invalid, or an Idempotency-Key was reused with a different body; nothing was solved
429
the per-client request rate limit was exceeded; wait and retry (the limit is rate_limit_per_minute at /v1/version)
500
the engine failed on a valid request; the charge is refunded
503
paid endpoints are not configured on that deployment, or a charge could not be recorded durably

Add it to your AI client

The free qualifier works over MCP with no key and no account. Paste one of these and ask your assistant whether a hall can take GB300 racks — it will come back with the constraint that binds first, the rack count as found, and which item sets the energisation date.

claude mcp add --transport http gridforge https://gridforge-engine.fly.dev/mcp

X-GridForge-Project is optional: up to 64 characters of letters, digits and . _ : -. When the engine records it, your usage can be read back per project; a value outside that set is ignored, not rejected. Without a key, only the free qualifier answers. Every other tool asks for one.

The handshake tells the model not to present a modelled figure as a property of a physical asset, and every result carries our calibration state. An E0 number loose in an agent loop is more dangerous than one in a board pack — nobody downstream reads the footnote.

Try it without a key

Seven numbers about an existing air-cooled hall. The answer names the constraint that binds first, how many racks fit as found, and which item sets the energisation date.

curl -s -X POST https://gridforge-engine.fly.dev/v1/qualify \
  -H 'content-type: application/json' \
  -d '{"contracted_MW":12,"current_site_peak_MW":7.4,"current_it_load_MW":4.9,"busway_ampacity_A":400,"tapoff_max_A":63,"plant_supply_C":6,"positions_available":180}'

Point an agent at it

MCP over JSON-RPC 2.0 at /mcp, protocol 2025-06-18. The transport is open; each tool keeps its own tier, so the free qualifier works without a key and everything else asks for one.

curl -s -X POST https://gridforge-engine.fly.dev/mcp \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"gridforge_qualify","arguments":{"contracted_MW":12,"current_site_peak_MW":7.4,"current_it_load_MW":4.9,"busway_ampacity_A":400,"tapoff_max_A":63,"plant_supply_C":6,"positions_available":180}}}'

What the engine says about its own accuracy

Model accuracy against instrumented sites has not been established: 0 reconciled observations across 0 sites, covering 0 of 20 model outputs. Every figure in this report is modelled. The uncertainty ranges shown come from input uncertainty propagated through the model, not from the difference between this engine's predictions and site data — no such difference has been recorded yet.

State

uncalibrated

Observations

0

Sites

0

Outputs covered

0/20

This block is on every response, including the free one, including while the answer is zero. An accuracy record that only appears once it flatters us is a marketing number. Live at /v1/calibration.

If you are integrating this

Every numeric field in a response carries an evidence class (E0 assumed … E7 observed in operation) and a provenance digest. An agent consuming these must not present an E0 or E1 figure as a property of the physical asset. The calibration block states how far this engine has been reconciled against site data; where it says uncalibrated, it means uncalibrated.

Free allowance · 25 units a month · no card

Try the engine on your own hall, free

25 units a month, no card. Enough for 25 constraint screens, or a handful of full studies, to check the engine against a hall you know. It is never invoiced; when it runs out the engine answers 402 and nothing is charged.

Email only. The link goes to this address, and opening it creates your key.

What it costs

Free first, then metered, then a plan if the volume warrants one. Every number below is generated from the engine's own tool catalogue and the published unit price: there is no second price list.

What one operation costs

One unit price for every billable operation: €2 a unit. Each endpoint weighs a published number of units, so a screen call and a full study are not billed alike. 25 units a month, no card. Free-allowance usage is never invoiced; when it runs out the engine answers 402 and nothing is charged.

Units and pay-as-you-go cost per operation, from the engine tool catalogue
OperationEndpointUnitsPay as you go
gridforge_estimate/v1/estimate0free
gridforge_qualify/v1/qualify0free
gridforge_compare/v1/compare1€2
gridforge_portfolio/v1/portfolio1 per hall€2 per hall
gridforge_screen/v1/screen1€2
gridforge_bids/v1/bids2€4
gridforge_diff/v1/diff2€4
gridforge_power_deploy_bids/v1/power/deploy/bids2€4
gridforge_proposal/v1/proposal2€4
gridforge_power_deploy_spec/v1/power/deploy/spec3€6
gridforge_spec/v1/spec3€6
gridforge_power_assess/v1/power/assess5€10
gridforge_power_deploy_assess/v1/power/deploy/assess5€10
gridforge_study/v1/study5€10

How it is billed

A month's charge is the net ledger units for the UTC month (charges minus refunds) at €2 a unit, invoiced monthly in arrears. A month whose charge is under the €5 minimum invoice is not invoiced on its own: it is carried forward and added to the next month, and so on from month to month. A balance that never reaches €5 is never invoiced. A request that is rejected, unauthorised, invalid or fails is refunded and never charged, and a retry with the same Idempotency-Key is never charged twice. Free-allowance usage is never invoiced. The customer's own monthly cap is a hard stop: beyond it the engine answers 402 and nothing more accrues.

You set a monthly cap between €20 and €2,000. The engine stops at it. It does not go over.

When a plan is cheaper

  • API — Triage (€900 a month, 600 units included) costs less than pay-as-you-go from 450 units a month; below that, metering costs less.
  • API — Scale (€2,900 a month, 2,500 units included) costs less than pay-as-you-go from 1,450 units a month; below that, metering costs less. That is above the 1,000 units the highest pay-as-you-go cap allows (€2,000), so a cap-limited account cannot reach it.
  • API — Platform (€7,500 a month, 10,000 units included) costs less than pay-as-you-go from 3,750 units a month; below that, metering costs less. That is above the 1,000 units the highest pay-as-you-go cap allows (€2,000), so a cap-limited account cannot reach it.

Computed from the plan prices and the unit price above. Plans have no overage: past the included units the engine answers 402.

What will this cost?

Pick an operation and a volume. The figures are worked out from the same published unit weights the engine meters, at €2 a unit.

This call

€2

1 unit

This volume, pay as you go

€40

20 units a month

Cheapest way to buy it

Free allowance

€0

  • 1 unit per call.
  • The 25-unit free allowance covers 25 calls of this size.
  • This volume fits inside the free allowance: no card, no invoice.
Asks the engine's public, free /v1/estimate. It never counts against anything.

Monthly plans

Plans are for steady volume: a fixed price a month for a fixed number of units. If you are not there yet, the free allowance and pay-as-you-go above cost less. Past a plan's units the engine returns 402; there is no overage billing.

End-to-end subscription provisioning in production has not yet been verified; if checkout is not active on this deployment, request an invoice.

The key link goes to this address. Use the one your engineers actually read.

API — Triage

€900 /month

600 units: 120 full studies, or 600 screen calls, or any mix

  • A signed API key and the MCP endpoint, with the same endpoints and evidence on every number as the free allowance.
  • API — Triage (€900 a month, 600 units included) costs less than pay-as-you-go from 450 units a month; below that, metering costs less.
  • Screening-mode output only: no issued opinion, no named signatory, no professional indemnity.
API — Scale

€2,900 /month

2,500 units: 500 full studies, or 2,500 screen calls, or any mix

  • A signed API key and the MCP endpoint, with the same endpoints and evidence on every number as the free allowance.
  • API — Scale (€2,900 a month, 2,500 units included) costs less than pay-as-you-go from 1,450 units a month; below that, metering costs less. That is above the 1,000 units the highest pay-as-you-go cap allows (€2,000), so a cap-limited account cannot reach it.
  • Screening-mode output only: no issued opinion, no named signatory, no professional indemnity.
API — Platform

€7,500 /month

10,000 units: 2,000 full studies, or 10,000 screen calls, or any mix

  • A signed API key and the MCP endpoint, with the same endpoints and evidence on every number as the free allowance.
  • API — Platform (€7,500 a month, 10,000 units included) costs less than pay-as-you-go from 3,750 units a month; below that, metering costs less. That is above the 1,000 units the highest pay-as-you-go cap allows (€2,000), so a cap-limited account cannot reach it.
  • Screening-mode output only: no issued opinion, no named signatory, no professional indemnity.

Billed monthly through Stripe. To cancel, write to power@timetopower.ai. No overage billing: past the included units the engine returns 402 and refuses the call, so you never meet an invoice you did not expect. Anything beyond the API itself, such as support, a named contact or redistribution terms, is arranged by email after purchase. It is not automated and it is not part of what the key does. No availability SLA comes with any plan.

Not sure yet?

The qualifier is free and needs no key, and the full deliverable is published in full — document, deck, proposal and the tables behind every number.

Try the free capacity check See the full deliverableTry the BTM power deployment assessment