API Reference

OpenAI-compatible. Drop-in replacement. 60+ models.

Quick Start

1Create account
2Get API key
3Add credits
4Send requests

Base URL

https://api.sovixo.com

Authentication

Authorization: Bearer sk-...

Chat Completions

Works with any OpenAI SDK — just change the base URL.

curl
curl https://api.sovixo.com/v1/chat/completions \
  -H "Authorization: Bearer sk-your-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o",
    "messages": [{"role": "user", "content": "Hello!"}],
    "stream": true
  }'

SDKs

Pythonpip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://api.sovixo.com/v1",
    api_key="sk-your-key"
)
resp = client.chat.completions.create(
    model="claude-sonnet-4",
    messages=[{"role": "user", "content": "Hi"}]
)
JavaScriptnpm install openai
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.sovixo.com/v1',
  apiKey: 'sk-your-key',
});
const resp = await client.chat.completions.create({
  model: 'deepseek-v4-pro',
  messages: [{ role: 'user', content: 'Hi' }],
});

Any OpenAI-compatible SDK works. Just set the base URL.

Endpoints

POST/v1/chat/completions
GET/v1/models
POST/v1/estimate-cost
GET/v1/me
GET/v1/keys
GET/v1/packages
POST/v1/packages/buy

Error Codes

400Bad Request
401Invalid Key
402No Balance
429Rate Limited
502Provider Error
503All Providers Down

Streaming

Set stream: true for SSE streaming. After [DONE], a final event: cost provides the cost breakdown.