Setup
Key
Create a key in the console and put it in the VELISITY_API_KEY environment variable. The configs below read it from there.
Get a key →export VELISITY_API_KEY="vls_live_…"Python
import osfrom openai import OpenAI client = OpenAI(base_url="https://api.velisity.live/v1", api_key=os.environ["VELISITY_API_KEY"])client.chat.completions.create(model="anthropic/claude-sonnet-4-5", messages=[{"role": "user", "content": "ping"}])Node.js
import OpenAI from "openai"; const client = new OpenAI({ baseURL: "https://api.velisity.live/v1", apiKey: process.env.VELISITY_API_KEY });await client.chat.completions.create({ model: "anthropic/claude-sonnet-4-5", messages: [{ role: "user", content: "ping" }] });Go
client := openai.NewClient( option.WithBaseURL("https://api.velisity.live/v1/"), option.WithAPIKey(os.Getenv("VELISITY_API_KEY")),)Check that it works
A request to /v1/key returns the key name, limits and balance — if you get JSON back, the key and URL are right.
curl https://api.velisity.live/v1/key -H "Authorization: Bearer $VELISITY_API_KEY"
Your first request in a minute
Create a key, change the base_url — and your code already works with any model. You only pay for answers.