Routing & receipts

Trust the route.
Read the receipt.

A model name should not be a vague preference. Newton’s reports what you requested, what resolved, whether an explicit fallback ran, what the call cost, and what balance remains.

Pinned by default

No silent substitution.

Automatic model routing is not part of the current public API. You select a published model ID, and Newton’s requires the upstream-reported identity to match.

01 · Request

Exact ID

The client chooses an ID returned by the live catalog. Unpublished names are rejected.

02 · Verify

Identity check

The returned identity must match the pinned route. Unconfirmed identity fails closed.

03 · Report

Visible result

The response records requested and resolved IDs plus explicit fallback status.

Fallback is opt-in. A client may provide up to three documented, published fallback IDs. Newton’s tries them in order and reports when one is used.

Request evidence

Every accepted call accounts for itself.

Receipts are operational and accounting metadata. They improve observability, but they are not cryptographic attestations.

Receipt fieldQuestion it answersWhere it appears
Request IDWhich call should support investigate?Response header and receipt
Requested / resolved modelDid the route match the client’s intent?Response headers and receipt
Fallback usedDid an explicitly configured fallback run?Response header and receipt
Request costWhat did this accepted call consume?Response header and receipt
Remaining balanceHow much funded service credit remains?Response header and account view
Usage and durationHow large and how slow was the call?Response body and request log

Infrastructure should explain itself.

Use the documented headers and settled receipt to reconcile every request.

Open the receipt docs →