Skip to main content
Every openrouter.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Chat Completions

create

chatCompletions.create Generate an AI response via OpenRouter with automatic multi-provider routing, retries, and fallbacks; supports tool calling, structured output, reasoning, and provider/route overrides Risk: write
Input
Output

Credits

list

credits.list Get the account credit balance and usage with a management API key Risk: read
Input: empty object Output

Embeddings

create

embeddings.create Generate vector embeddings for one or more input strings using a supported embedding model Risk: write
Input
Output

Generations

get

generations.get Fetch request and usage metadata for a previous generation by its ID Risk: read
Input Output

Key

get

key.get Get metadata about the current API key, including usage, limits, and rate limits Risk: read
Input: empty object Output

Messages

create

messages.create Create a message via OpenRouter’s Anthropic Messages API, with support for system prompts and multi-part content Risk: write
Input
Output

Model Endpoints

list

modelEndpoints.list List the individual endpoints serving a model, with per-provider pricing, latency, and throughput Risk: read
Input Output

Models

count

models.count Get the total count of models available on OpenRouter Risk: read
Input: empty object Output

list

models.list List all models available on OpenRouter, including pricing, context length, and supported parameters Risk: read
Input Output

listEmbeddings

models.listEmbeddings List all embedding models available on OpenRouter Risk: read
Input Output

listUser

models.listUser List models filtered by the authenticated user’s provider preferences, privacy settings, and guardrails Risk: read
Input Output

Providers

list

providers.list List the providers available on OpenRouter with their privacy policies and data-center regions Risk: read
Input: empty object Output

Zdr

list

zdr.list List the Zero-Data Residency (ZDR) endpoint specification for the account Risk: read
Input: empty object Output