OpenRouter Chat Completions API

The Chat Completions API is the primary endpoint for generating model responses. It supports text and image inputs, streaming via Server-Sent Events, tool and function calling, structured outputs, and provider routing across 400+ AI models from 60+ providers through a single standardized interface at /api/v1/chat/completions.

OpenAPI Specification

openapi.json Raw ↑