API Reference

OpenAI-compatible endpoints for DeepSeek models

Base URL: https://vorara.com/v1

Authentication

All requests require a Bearer token in the Authorization header:

Authorization: Bearer <your-api-token>

Get your token from the Dashboard.

Models & Pricing

Model IDInput / 1MOutput / 1MContext
deepseek-chat$0.14$0.281M
deepseek-reasoner$2.20$4.201M

Endpoints

GET/v1/models

List all available models.

curl https://vorara.com/v1/models -H "Authorization: Bearer <token>"

Response:

{
  "object": "list",
  "data": [
    {"id": "deepseek-chat", "object": "model"},
    {"id": "deepseek-reasoner", "object": "model"}
  ]
}
POST/v1/chat/completions

Create a chat completion. Compatible with OpenAI API format.

Parameters: model, messages, max_tokens, temperature, stream

{
  "id": "chatcmpl-xxx",
  "object": "chat.completion",
  "model": "deepseek-v4-flash",
  "choices": [{
    "index": 0,
    "message": {"role": "assistant", "content": "Hello!"},
    "finish_reason": "stop"
  }],
  "usage": {"prompt_tokens": 10, "completion_tokens": 5, "total_tokens": 15}
}
SSE/v1/chat/completions (stream)

Set stream: true for Server-Sent Events streaming responses.

data: {"choices":[{"delta":{"content":"Hello"},"index":0}]}

data: {"choices":[{"delta":{"content":" world"},"index":0}]}

data: [DONE]

Quick Start

curl https://vorara.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <token>" \
  -d '{"model":"deepseek-chat","messages":[{"role":"user","content":"Hello"}],"max_tokens":100}'

Error Codes

HTTPMeaningAction
400Bad requestCheck JSON format and model name
401UnauthorizedToken missing or invalid
403ForbiddenToken quota exhausted or disabled
429Rate limitedReduce request frequency
500Server errorRetry or contact support
503Service unavailableUpstream API unreachable

Rate Limits

60 req/min
Per IP address
50 conn
Concurrent per IP
10MB
Max request body
300s
Request timeout