Generate a chat completion over the AI Gateway
One step with Vercel. We can help you get access.
Get something done
Generate a chat completion over the AI Gateway
with Vercel · Model Inference
Use Vercel: its Vercel AI Gateway Chat API lets you generate a chat completion over the AI Gateway in a single step (POST /v1/chat/completions). capabilities.work can help you get signed up and connected.
- How do I send a chat message to any model through the Vercel AI Gateway?
- Can I stream a chat response and use tools in one call?
- Which models can I call by name through the gateway?
Say it to your AI assistant
- Generate a chat completion with {model} on {messages}.
- Stream a chat response from {model} to {messages} with temperature {temperature}.
- Call {model} on {messages} and return at most {max_tokens} tokens.
For your developer
POST /v1/chat/completions in Vercel AI Gateway Chat API. Full spec on APIs.io.