Replicate
Run thousands of open-source AI models via API: image generation, language models, speech recognition, video, and more. Pay only for what you use.
by Replicate · ai, media
Accepts
Payment rails: tempo
This service prices in Tempo USDC, which a Robinhood Chain wallet cannot spend. MeshGateway takes USDG on your side and bridges it to Tempo through a solver network in about a second, holding no float of its own. The solver charges a roughly flat fee per bridge, quoted in the 402 challenge at cost.
Endpoints
| Endpoint | Upstream price | Pay through MeshGateway |
|---|---|---|
POST /replicate/run Run Model | per usage | /x/replicate/replicate/run |
POST /replicate/get-prediction Get Prediction | $0.0030 per call | /x/replicate/replicate/get-prediction |
POST /replicate/get-model Get Model | $0.0040 per call | /x/replicate/replicate/get-model |
POST /replicate/list-models List Models | $0.0040 per call | /x/replicate/replicate/list-models |
Pay it in USDG, live
The relay is live for this service: sign one USDG payment and MeshGateway settles it, bridges to Tempo, and pays the upstream invoice. The quote in the 402 covers the upstream price plus the solver fee, at cost.
Sign in with your wallet to try an endpoint straight from the browser.
Inspect the upstream challenge
Hit the real endpoint and see the 402 payment challenge this service returns right now, straight from the source.
Pay in USDG from Robinhood Chain
This service prices per call (tokens consumed, result size), so the relay quotes a maximum first, charges that in USDG, and settles the difference after the upstream call completes.
# 402 challenge in USDG on Robinhood Chain curl -i https://api.meshgateway.co/x/replicate/replicate/run # Pay it with a signed permit2 authorization curl https://api.meshgateway.co/x/replicate/replicate/run \ -H "payment-signature: $SIGNED_PAYLOAD" # -> upstream response, plus payment-response with the settlement tx
Upstream docs: https://replicate.com/docs/reference/http