Documentation
Welcome to Solvela
Solana-native AI agent payment gateway — pay for LLM calls with USDC-SPL via x402
Solvela is a Solana-native LLM payment gateway for AI agents. Send a chat completion request, get a 402 response with the cost, sign a USDC-SPL transaction, and retry. No API keys, no accounts — just wallets.
The gateway is OpenAI-compatible, so any existing code that targets the OpenAI API works with minimal changes.
Note
The live gateway base URL is https://api.solvela.ai. The root path returns 404 — try https://api.solvela.ai/health to confirm the gateway is up, or https://api.solvela.ai/v1/models for the model catalog.
Recommended path
Read the Quickstart — make your first paid API call in minutes using cURL or an SDK.
Understand x402 — learn how the HTTP 402 payment flow works and what the gateway sends back.
Choose an SDK — TypeScript, Python, and Go SDKs handle the payment handshake automatically.
Explore the API — full endpoint reference with request/response shapes.