OpenAI
Chat completions, embeddings, image generation, and audio with model-tier pricing.
by OpenAI · 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 /v1/responses Responses API (Codex, GPT-4o, etc.) - price varies by model | per usage | /x/openai/v1/responses |
POST /v1/chat/completions Chat completions (GPT-4o, GPT-4, o1, etc.) - price varies by model | per usage | /x/openai/v1/chat/completions |
POST /v1/embeddings Create embeddings | $0.0001 per call | /x/openai/v1/embeddings |
POST /v1/images/generations Generate images with DALL-E | $0.0500 per call | /x/openai/v1/images/generations |
POST /v1/audio/transcriptions Transcribe audio with Whisper | $0.0100 per call | /x/openai/v1/audio/transcriptions |
POST /v1/audio/speech Text-to-speech | $0.0200 per call | /x/openai/v1/audio/speech |
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/openai/v1/responses # Pay it with a signed permit2 authorization curl https://api.meshgateway.co/x/openai/v1/responses \ -H "payment-signature: $SIGNED_PAYLOAD" # -> upstream response, plus payment-response with the settlement tx
Upstream docs: https://platform.openai.com/docs