v1
latestOpenAPI 3.0.32026-07-26172157253.6 KBClient
Generate chat completion (deprecated)
Deprecated compatibility proxy. New integrations should call https://openrouter.ai/api/v1/chat/completions directly with the provisioned OpenRouter key.
post/api/ai/chat/completion
Request body
Example request
{
"model": "openai/gpt-4"
}Response
Chat completion response