Back to catalog
Openrouter · Ai Models
OpenRouter / Chat completion
Runs a chat completion on one of 15 current models (OpenAI GPT-6 Luna and GPT-5.4, Gemini 3.8 Flash, DeepSeek v4, Qwen 3.8, GLM 5.3, Kimi K2.6, Mistral Small, Grok). messages is the usual [{role, content}] list; max_tokens (1-16000) is required and caps the answer (reasoning tokens count toward it). Returns choices[0].message.content and usage with the exact cost. OpenAI-compatible request and response.
Live data
You are looking at the live public catalog.
Sign in to run this operation, inspect live eligibility, and see governed execution and audit evidence. Sign in.