Skip to content

1.21.0

Choose a tag to compare

@douglasborthwick-crypto douglasborthwick-crypto released this 08 Oct 11:36
· 6 commits to main since this release
f10d221
  • Hosted deployments state the price to the caller. A new hostedPricing option, on in the HTTP runner (node build/http.js) and on the hosted endpoint, is for a deployment on a shared key, where the caller pays nothing. A successful insumer_attest, insumer_wallet_trust or insumer_batch_wallet_trust result there no longer reports the shared key's charge (meta.creditsCharged), which models read as a charge to the caller. In its place meta.pricing and a text block state what the same call costs on the caller's own API key (the credits the API charged, from $0.04 a credit) and by x402 pay-per-call (the request's price in USDC, no key), with the link to get either. The batch summary opens with "No charge to you on this hosted endpoint." instead of the credit count. The three tools' descriptions on a hosted deployment say the call is paid from a shared daily allowance. Error results carry no price. Signed payloads are unchanged, and local installs (stdio, own key or payment wallet) are unchanged.