Overview
The OpenRouter proxy provides pay-per-request access to OpenRouter — a unified gateway to 200+ AI models from OpenAI, Anthropic, Google, Meta, Mistral, and many others. Use a single proxy URL to reach any model. No account or API key required.
| |
|---|
| Proxy URL | https://openrouter.api.corbits.dev |
| Proxy ID | 70 |
| Default price | $0.01 per request |
| Pricing scheme | Exact |
Quick start
Install the payment SDK and make a chat completion request:
import { payer } from "@faremeter/rides";
// Load your Solana keypair
await payer.addLocalWallet(process.env.PAYER_KEYPAIR);
const response = await payer.fetch("https://openrouter.api.corbits.dev/api/v1/chat/completions", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "anthropic/claude-sonnet-4-20250514",
messages: [{ role: "user", content: "Hello from Corbits!" }],
}),
});
const data = await response.json();
console.log(data.choices[0].message.content);
Key endpoints
| Endpoint | Description |
|---|
/api/v1/chat/completions | Generate chat completions (OpenAI-compatible format) |
/api/v1/responses | Create model responses |
/api/v1/messages | Create messages (Anthropic-compatible format) |
/api/v1/embeddings | Generate text embeddings |
/api/v1/models | List all available models |
/api/v1/models/count | Get total count of available models |
/api/v1/providers | List all upstream providers |
/api/v1/generation | Get request and usage metadata |
/api/v1/credits | Check remaining credits |
/api/v1/key | Get current API key info |
OpenRouter supports 28 endpoints in total. Use the Discovery API to get the complete list with descriptions.
Model selection
OpenRouter lets you route to any supported model by specifying the model parameter in the format provider/model-name:
{ "model": "openai/gpt-4o" }
{ "model": "anthropic/claude-sonnet-4-20250514" }
{ "model": "google/gemini-2.5-pro-preview-05-06" }
{ "model": "meta-llama/llama-3-70b-instruct" }
{ "model": "mistralai/mistral-large-latest" }
See the OpenRouter model list for all available models and pricing.
Discover this merchant
Query the Discovery API to get live details about this proxy:
# Search for this proxy
curl "https://api.corbits.dev/api/v1/search?q=openrouter"
# Get proxy details
curl "https://api.corbits.dev/api/v1/proxies/70"
# List all endpoints with pricing
curl "https://api.corbits.dev/api/v1/proxies/70/endpoints"
# Get the full OpenAPI spec
curl "https://api.corbits.dev/api/v1/proxies/70/openapi"
Notes
- OpenRouter supports both OpenAI-compatible (
/chat/completions) and Anthropic-compatible (/messages) request formats.
- Model availability and pricing varies by provider. The Corbits proxy price is per-request; upstream model costs are included.
- Payment is handled at the proxy layer via x402 — the
@faremeter/rides SDK manages the challenge/response cycle automatically.