mesh_live_... API key. Sign in at meshrouter.app to
create one, or email us to request access.
Prefer a browser? Open MESH chat to talk to any model without an API
key.
1. Set your environment
2. Send a request
model: "auto" lets MESH pick a model for you. To pin a specific one, pass its MESH id (e.g.
"mesh/claude-sonnet-4.5", "mesh/balanced", "mesh/deepseek-r1"). See Models for the
full catalogue and Routing for fallback chains.
3. Read the receipt
Every routed call returns these headers:| Header | Meaning |
|---|---|
x-mesh-upstream-cost-usd | What the provider charged |
x-mesh-margin-usd | MESH margin on the call |
x-mesh-total-usd | Total drawn from your balance |
x-mesh-receipt-id | ID for lookup via /v1/receipts/:id |
What’s next
- Streaming, tools, vision, and structured output work identically to OpenAI.
- Privacy mode routes through MESH privacy with signed attestation.
- USDC payments — top up via Base or Solana.