Skip to content

Start free with 1,000 credits - no credit card requiredSee plans

VelATL

OpenAI-compatible API

Drop-in baseURL, honest limits.

Streaming chat completions, tool calling, JSON mode, and image generation & editing (POST /api/v1/images/generations & POST /api/v1/images/edits) with per-key spend caps and INR billing. Anything unsupported fails fast with a clear 400 before billing.

Quickstart

Any OpenAI SDK - only the baseURL changes

Base URL: https://velatl.ai/api/v1
API key:  velatl_... (Settings -> API keys; legacy vtai_... keys still work)
Model:    fast | balanced | coder | deep | prime | prime-max | ultra

Python (OpenAI SDK)

from openai import OpenAI
client = OpenAI(base_url="https://velatl.ai/api/v1", api_key="velatl_...")
r = client.chat.completions.create(
    model="fast",
    messages=[{"role": "user", "content": "Hi"}],
)
print(r.choices[0].message.content)

Tool calling (then JSON in a follow-up call)

curl https://velatl.ai/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer velatl_..." \
  -d '{
    "model": "fast",
    "messages": [{"role":"user","content":"Weather in Chennai?"}],
    "tools": [{"type":"function","function":{
      "name":"get_weather","description":"Current conditions",
      "parameters":{"type":"object","properties":{"city":{"type":"string"}}}}}],
    "tool_choice": "auto"
  }'
# tool definitions bill as input tokens - keep tool lists lean.
# NOTE: response_format json_object cannot ride along with tools
# (providers reject the combo, so v1 400s it before billing).
# Ask for JSON in a follow-up call instead - see the docs example.

Errors you can rely on

  • 402 insufficient_credits - out of balance; top up in billing.
  • 400 before billing for image/audio inputs, thinking blocks, forced tool_choice, legacy functions API, n != 1, or tools combined with response_format json_object.
  • Every response carries X-Request-Id; every call settles in one ledger with automatic refunds on failure.
  • GET /api/v1/models returns your plan's models with per-1k credit rates.

Tool-specific guides