Unified API for hundreds of AI models
OpenRouter provides a single API to access models from OpenAI, Anthropic, Google, Meta, and dozens of other providers with smart routing.
Use OpenRouter through Keystore with zero code changes. Keys are resolved from the vault and injected at request time.
import Keystore from "@keystore/sdk";
const ks = new Keystore({ agentToken: process.env.KS_TOKEN! });
ks.interceptAll();
// All requests to OpenRouter's API are automatically
// intercepted and routed through the Keystore proxy.
// Real credentials are injected server-side.
const res = await fetch("https://api.openrouter.com/v1/...", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ /* your payload */ }),
});
const data = await res.json();
console.log(data);Request access and our concierge team will provision credentials for you — usually within 24 hours. No setup on your end.
Request Access