Section
Documentation home
Token Factory · Documentation

Omniva Token Factory Documentation

Token Factory is easy to use with an OpenAI-compatible /v1 API that works with your existing workflows. During Early Access please contact sales for help getting started.

Endpoint
https://api.tokenfactory.omniva.com/v1
Env var
OMNIVA_API_KEY
Example model
Omniva/Kimi-K2.6

First call

from openai import OpenAI

client = OpenAI(
    api_key="sk-...",
    base_url="https://api.tokenfactory.omniva.com/v1",
)

resp = client.chat.completions.create(
    model="Omniva/Kimi-K2.6",
    messages=[{"role": "user", "content": "Say hi."}],
)
print(resp.choices[0].message.content)
200application/json
{
  "id": "chatcmpl-7b1f6c…",
  "object": "chat.completion",
  "model": "Omniva/Kimi-K2.6",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hi! How can I help?"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": { "prompt_tokens": 9, "completion_tokens": 7, "total_tokens": 16 }
}
The same OpenAI SDK works — point base_url at https://api.tokenfactory.omniva.com/v1.Open the full Quickstart

Build something