#8729·tyk

Proposal: optional feeless Nano (XNO) settle rail for metered API / AI-gateway usage

Author: dhyabi2Created Sep 25, 2026Updated Sep 25, 2026
Labelsenhancementexternalfeature

Pitch (concrete, grounded)

Add an OPTIONAL feeless Nano (XNO, nano:mainnet — a standard CAIP-2 scheme) settlement leg for metered API / AI-gateway usage managed by Tyk's key/quota surface. Today the per-key cost model is audited and key-based; settlement back to the developer or from the consumer is card/ACH/invoice — merchant fees + float. A feeless native coin removes the per-call card/platform fee and gives sub-second self-custody finality on the small metered tickets where they bite most.

Concrete shape, thin integration of an existing Nano tool (not new payment logic):

  1. On a Tyk API definition with a usage/limits policy (already enforced by Tyk), add an optional billing block with method: nano beside the existing key/quota model.
  2. Derive a per-call XNO price from Tyk's own usage analytics (already recorded per API/key) and settle via an existing Nano x402 client (Feeless402/feeless402 or dhyabi2/openai-agents-nano-x402) in the plugin middleware chain — the same Python/JS/Go plugin seam Tyk already ships.
  3. No card processor, no merchant discount rate, no ACH float; self-custodied wallet; sub-second finality.

Open questions for the maintainers (explicit, unblocking):

  • Would the Tyk team consider an optional feeless Nano settlement in the key/quota/metering surface, or is billing out of scope for OSS Tyk?
  • Which integration point fits best: a plugin middleware hook, the API-definition track_limits extension, or the Developer Portal key-issuance flow?