SML SwapGate — non-custodial swap building for AI agents

How much does it cost an AI agent to swap one coin for another? SwapGate pricing

SwapGate is ScriptMasterLabs' swap builder for AI agents: an agent holding one coin (SOL, for example) that needs another coin (POL, for example) pays for one built swap — the best route found at quote time, every fee itemized before signing, a guaranteed minimum amount received, and an unsigned transaction the agent signs in its own wallet. SwapGate never takes custody of funds and never sees a private key.

Script Master Labs LLC UEI: G24VZA4RLMK3 CAGE: 21U51 SDVOSB (self-attested, SAM-registered)

Pricing at a glance

One swap build costs 0.01 USDC. The build fee is paid on Base (eip155:8453) via the x402 protocol before the build runs. No subscription, no account, no API key.

SwapGate's integrator fee is 0.5% of the swap amount, taken inside the swap route itself and itemized in the quote before you sign — never a surprise charge after the fact. Status (November 20, 2026): this fee is ACTIVE and being collected. LI.FI collects it in-route through its FeeForwarder contract to ScriptMasterLabs' registered fee wallet (integrator sml-swapgate) at the moment the swap executes; collection was proven on-chain on 2026-11-20 (a $1.00 proof swap paid exactly 0.005 USDC to the fee wallet). Every quote itemizes the exact split — 0.5% integrator / 0.25% LI.FI — before you sign, alongside the 0.01 USDC build fee.

The routing engine, LI.FI, charges its own service fee of 0.25% of the swap amount. That fee is LI.FI's, not ScriptMasterLabs'. It is also itemized in the quote.

Bridge, exchange and network gas costs vary by route and are itemized in every quote before you sign. On the Solana same-chain route (Jupiter), no integrator fee is charged in this version; the DEX fees are embedded in the quoted amounts and Solana network fees are paid by the signing wallet.

Every quote states an estimated output and a guaranteed minimum amount received: you receive at least the stated minimum or the transaction reverts. If no route exists, or a route's price impact exceeds the cap (3% by default, 5% hard maximum), SwapGate refuses to build the swap and says why.

Prices effective November 20, 2026. Prices in USD / USDC.

Build a swap: POST https://sml-swapgate.timothy-walton45.workers.dev/swap/build Unpaid calls receive the x402 challenge — the challenge is the documentation.

The fee table — every charge, who charges it, when

ChargeAmountCharged byWhen
Swap build0.01 USDC per buildScriptMasterLabsPaid on Base via x402 before the build runs
Integrator fee0.5% of the swap amountScriptMasterLabsTaken inside the swap route at execution by the LI.FI FeeForwarder to ScriptMasterLabs' registered fee wallet; itemized in the quote first. ACTIVE since 2026-11-20 (collection proven on-chain). Never charged on the Solana same-chain route in this version
Routing service fee0.25% of the swap amountLI.FI (not ScriptMasterLabs)Taken inside the swap route at execution; itemized in the quote first
Bridge / exchange feesVaries by routeThe bridge or exchange on the routeItemized in the quote before signing
Network gasVaries by chain and routeThe source networkPaid by your wallet when you sign; estimated in the quote

A worked example (arithmetic, not a quote)

On a hypothetical 100 USDC swap routed cross-chain, the disclosed charges are: 0.01 USDC build fee + 0.50 USDC integrator fee (0.5% of 100) + 0.25 USDC LI.FI service fee (0.25% of 100) + the route's own bridge/exchange fees and gas, each itemized in the actual quote. Your real quote itemizes your real route before you sign; this example exists so the fee structure can be checked with a calculator.

See the supported chains

SwapGate vs the alternatives

SwapGateCalling each aggregator yourselfA centralized exchange
Custody of your coinsNever — unsigned transaction, your wallet signsNeverThe exchange holds your funds
Account / sign-upNone — pay per build via x402Per-service keys and integrationsAccount and identity checks
Fees known before signingYes — every fee itemized in the quoteYou assemble them yourself, per serviceFee schedule; withdrawal fees apply
Guaranteed minimum receivedYes — stated in every quote; below it the transaction revertsDepends on each service you wire upNo — market orders fill at market
Bad-route protectionRefuses routes above the price-impact cap (3% default, 5% hard)Your own code's jobNo
Cross-chain routingOne call — the routing engine spans dozens of networks, bridges and exchangesOne integration per chain familyDeposit, trade, withdraw — three steps, two networks' fees

How a build works

  1. POST https://sml-swapgate.timothy-walton45.workers.dev/swap/build with {fromChain, fromToken, toChain, toToken, amount, fromAddress}. Unpaid, you receive the x402 challenge: 0.01 USDC on Base.
  2. Pay the challenge and retry with the PAYMENT-SIGNATURE header. Payment is verified and settled through OMNIGATE before any routing call is made.
  3. SwapGate fetches the best route found at quote time, checks its price impact against the cap, and itemizes every fee.
  4. You receive the route summary, estimated output, guaranteed minimum, the fee list, and the unsigned transaction. Sign it in your own wallet and submit it. Below the minimum, it reverts.

Read the OpenAPI spec Read llms.txt

Questions, answered in prose

How much does it cost an AI agent to swap SOL for POL? Three disclosed charges plus network costs: SwapGate's 0.01 USDC build fee (paid on Base via x402), SwapGate's 0.5% integrator fee taken inside the route (ACTIVE since 2026-11-20 — collected by the LI.FI FeeForwarder to ScriptMasterLabs' registered fee wallet and itemized in the quote), and LI.FI's own 0.25% service fee — plus the route's bridge/exchange fees and gas. All of it is itemized in the quote before the agent signs.

Does SwapGate hold the agent's coins? No. SwapGate is non-custodial: it returns an unsigned transaction and the agent signs in its own wallet. SwapGate never receives private keys and never holds funds.

What does the 0.01 USDC buy? One built swap: the best route found at quote time, an estimated output, a guaranteed minimum amount received, an itemized fee list, and the unsigned transaction. If no route exists or the price impact exceeds the cap, SwapGate refuses and says why instead of building a bad swap.

Is the quoted output guaranteed? The estimate is not; the minimum is. You receive at least the stated minimum amount or the transaction reverts. SwapGate promises nothing about prices or returns beyond that stated minimum.

Which networks are covered? Every network the routing engines support — the live list is served at https://sml-swapgate.timothy-walton45.workers.dev/supported and counted from the engines' own chain data, not copied from marketing copy.

SwapGate is a Script Master Labs LLC product. Facilitation for the build fee runs through OMNIGATE on Base. Routing by LI.FI and Jupiter. This page states prices and mechanics only; it makes no promise of profit, price, or execution beyond the stated minimum-received bound in each quote.