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
messages full type
messages full type
logitBias full type
logitBias full type
responseFormat full type
responseFormat full type
tools full type
tools full type
toolChoice full type
toolChoice full type
reasoning full type
reasoning full type
provider full type
provider full type
plugins full type
plugins full type
choices full type
choices full type
usage full type
usage full type
Credits
list
credits.list
Get the account credit balance and usage with a management API key
Risk: read
data full type
data full type
Embeddings
create
embeddings.create
Generate vector embeddings for one or more input strings using a supported embedding model
Risk: write
input full type
input full type
provider full type
provider full type
data full type
data full type
usage full type
usage full type
Generations
get
generations.get
Fetch request and usage metadata for a previous generation by its ID
Risk: read
Output
data full type
data full type
Key
get
key.get
Get metadata about the current API key, including usage, limits, and rate limits
Risk: read
data full type
data full type
Messages
create
messages.create
Create a message via OpenRouter’s Anthropic Messages API, with support for system prompts and multi-part content
Risk: write
messages full type
messages full type
tools full type
tools full type
toolChoice full type
toolChoice full type
thinking full type
thinking full type
content full type
content full type
usage full type
usage full type
Model Endpoints
list
modelEndpoints.list
List the individual endpoints serving a model, with per-provider pricing, latency, and throughput
Risk: read
Output
data full type
data full type
Models
count
models.count
Get the total count of models available on OpenRouter
Risk: read
data full type
data full type
list
models.list
List all models available on OpenRouter, including pricing, context length, and supported parameters
Risk: read
Output
data full type
data full type
links full type
links full type
listEmbeddings
models.listEmbeddings
List all embedding models available on OpenRouter
Risk: read
Output
data full type
data full type
links full type
links full type
listUser
models.listUser
List models filtered by the authenticated user’s provider preferences, privacy settings, and guardrails
Risk: read
Output
data full type
data full type
links full type
links full type
Providers
list
providers.list
List the providers available on OpenRouter with their privacy policies and data-center regions
Risk: read
data full type
data full type
Zdr
list
zdr.list
List the Zero-Data Residency (ZDR) endpoint specification for the account
Risk: read
data full type
data full type