Generate a chat completion
One step with OpenRouter. We can help you get access.
Get something done
Generate a chat completion
with OpenRouter · Model Inference
Use OpenRouter: its OpenRouter Chat API lets you generate a chat completion in a single step (POST /chat/completions). capabilities.work can help you get signed up and connected.
- How do I get a model to reply to a chat conversation?
- Can I stream chat responses back as they are generated?
- Can I call tools or functions from a chat completion?
Say it to your AI assistant
- Generate a chat completion for {messages} using {model}.
- Stream a chat reply to {messages} from {model} with temperature {temperature}.
- Call {tools} on {messages} with {model} and return structured output {response_format}.
For your developer
POST /chat/completions in OpenRouter Chat API. Full spec on APIs.io.