Derive an x402 paidTool price from an operation's declared x-suluk-cost (a CostModel, read STRUCTURALLY — no
@suluk/cost dep). The price is the FLAT (per-call/per-request) portion: estimateMicroUsd if given, else the sum
of flat components' microUsd. Usage-metered components (per-token/second/mb/unit) are NEVER folded into the fixed
number — they only set metered (so the projection can point at MPP session instead). Returns null when no
chargeable cost is declared (a free tool stays a plain tool()). DECLARED, never enforced (C026 honesty).
Derive an x402
paidToolprice from an operation's declaredx-suluk-cost(aCostModel, read STRUCTURALLY — no@suluk/costdep). The price is the FLAT (per-call/per-request) portion:estimateMicroUsdif given, else the sum of flat components'microUsd. Usage-metered components (per-token/second/mb/unit) are NEVER folded into the fixed number — they only setmetered(so the projection can point at MPPsessioninstead). Returnsnullwhen no chargeable cost is declared (a free tool stays a plaintool()). DECLARED, never enforced (C026 honesty).