Skip to main content
MESH routes requests from your app to 80+ models across every major frontier and open-weight family — Anthropic, OpenAI, Google, xAI, Meta, Mistral, DeepSeek, Perplexity, Alibaba, AI21, Moonshot, Z.AI, Writer, NVIDIA, MiniMax, and the MESH house tier — through a single OpenAI-compatible endpoint. The live catalogue is at GET /v1/models; this docs site is updated periodically and GET /v1/models is always the source of truth. Point the OpenAI SDK at https://api.meshrouter.app/v1, authenticate with a mesh_live_... key, and call the API the way you already do. Or open the MESH chat to talk to any model in your browser, no SDK setup required.

One endpoint, every model

Use router modes (auto, fast, cheapest, best) or address a specific provider model.

Pay per call in USDC

Top up with USDC on Base or Solana. Calls draw against the balance; no subscription, no permanent free tier.

Receipts on every call

Response headers carry upstream cost, MESH margin, total USD, and a receipt ID for lookup.

Per-key limits

Per-key request, token, and monthly USD ceilings. Revoked keys stop working in the same request.

How it works

Your app → MESH API → Provider

       Receipt + usage event
  1. Get an API key starting with mesh_live_.
  2. Set OPENAI_BASE_URL=https://api.meshrouter.app/v1.
  3. Call the API the way you’d call OpenAI.
  4. Read the receipt headers off the response.

Install an SDK (optional)

LanguagePackageInstall
TypeScript / JavaScript@meshrouter/sdknpm install @meshrouter/sdk
Pythonmeshrouterpip install meshrouter
Anything OpenAI-compatibleuse the official OpenAI SDKswap OPENAI_BASE_URL

Next steps