1
Create an API Key
Go to the Mesh Dashboard and navigate to API Keys. Create a new key and copy the
rsk_... token.2
Add Credits
Mesh uses a pre-paid credit model. Add a balance (any amount from ₹1 or $1) in the Billing section to enable inference.Almost every model is paid, and a request on an empty balance is refused with
402.3
Make Your First Request
Use your preferred HTTP client or OpenAI-compatible SDK:
- curl
- Python (OpenAI SDK)
- Node.js (OpenAI SDK)
4
Explore Available Models
See all available models and their current pricing:Models follow the format
brand/model-name, where the brand is the organization that trained the model, not the provider that serves it. Examples: openai/gpt-4o, anthropic/claude-sonnet-4.5, google/gemini-3.5-flash.What’s next?
- Authentication — key types, spend caps, and security best practices
- Auto Routing — let the gateway pick the best model automatically
- Prompt Templates — manage prompts server-side
- Dashboard — monitor usage, billing, and logs