Tolka Edge SymbolTolka Edge WordmarkDocs

Quick Start

Deploy your first Qwen3-14B AI Rig and make your first OpenAI-compatible API request in a few minutes.

Deploy your first Qwen3-14B AI Rig and make your first OpenAI-compatible API request in a few minutes.

1. Deploy an AI Rig

  1. Select Qwen/Qwen3-14B-AWQ.
  2. Choose a supported GPU and deploy your Rig.
Tolka provisions the GPU, starts the inference runtime, and loads the model. Cold-start time varies depending on GPU availability and model initialization, but usually takes 3-5 minutes.

Billing Requirements

Make sure your wallet has sufficient credits before deploying.

2. Get an API key

Create a key from the API Keys Dashboard. Keys look like tk-live-... and are shown once — copy it somewhere safe.

Store keys securely

Tolka Edge only stores a SHA-256 hash of your key. If you lose the plaintext, you must roll a new one.
Export your key so the examples below can read it:
export TOLKA_API_KEY="tk-live-xxxxxxxxxxxxxxxx"

3. Set your base URL

Tolka Edge provides an OpenAI-compatible API. Point your client at:
https://api.tolkaedge.com/v1

4. Make your first request

from openai import OpenAI
import os
 
client = OpenAI(
    base_url="https://api.tolkaedge.com/v1",
    api_key=os.environ.get("TOLKA_API_KEY"),
)
 
# Request hits your dedicated Qwen3-14B rig
resp = client.chat.completions.create(
    model="Qwen/Qwen3-14B",
    messages=[{"role": "user", "content": "Explain dedicated GPU inference in one sentence."}],
)
 
print(resp.choices[0].message.content)
Streaming is recommended for lower perceived latency and incremental responses.
from openai import OpenAI
 
client = OpenAI(
    base_url="https://api.tolkaedge.com/v1",
    api_key="tk-live-xxxxxxxxxxxxxxxx",
)
 
stream = client.chat.completions.create(
    model="Qwen/Qwen3-14B",
    messages=[{"role": "user", "content": "Write a short poem about GPUs."}],
    stream=True,
)
 
for chunk in stream:
    if chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)

Next steps