Vultr Serverless Inference
One API for chat, reasoning, images, video, music, speech, embeddings and document search, compatible with the OpenAI, OpenRouter and Anthropic SDKs.
Requests go to https://api.vultrinference.com/v1 with your API key as a bearer token. Most clients only need their base URL and key changed: the API speaks the OpenAI and OpenRouter request shapes on its chat, responses, image, video, audio and embeddings routes, and Anthropic's Messages API on /v1/messages.
curl https://api.vultrinference.com/v1/chat/completions \
-H "Authorization: Bearer $VULTR_INFERENCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4.1-flash",
"messages": [{"role": "user", "content": "Write a haiku about the sea."}]
}'import os
from openai import OpenAI
client = OpenAI(base_url="https://api.vultrinference.com/v1", api_key=os.environ["VULTR_INFERENCE_API_KEY"])
reply = client.chat.completions.create(
model="deepseek-v4.1-flash",
messages=[{"role": "user", "content": "Write a haiku about the sea."}],
)
print(reply.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.vultrinference.com/v1", apiKey: process.env.VULTR_INFERENCE_API_KEY });
const reply = await client.chat.completions.create({
model: "deepseek-v4.1-flash",
messages: [{ role: "user", content: "Write a haiku about the sea." }],
});
console.log(reply.choices[0].message.content);Where to start
- Quickstart: a key, a first request, and how to pick a model.
- SDKs and compatibility: the SDKs that work as they are, and where the API differs from each.
- Models: every model, its price and what it takes, from the live catalog.
- Errors and Limits: what can go wrong, and what to retry.
- Async jobs and Webhooks: videos and songs take seconds to minutes; follow them by polling, by stream or by webhook.
- Workflows: chat over your files, render a video with webhooks, Claude Code.
- Integrations: coding agents (Codex CLI, OpenCode, OpenClaw, pi, Hermes Agent) and the model catalog libraries.
- API reference: every endpoint, its fields and responses, with a request in curl, Python and JavaScript.
For coding agents
Every page is also Markdown at its own address with .md added, llms.txt lists them all, and the whole API is one OpenAPI document.