Documentation

Quick Start

Token Factory serves an OpenAI-compatible API from our own H100 cluster. If your tool speaks OpenAI, it already speaks Token Factory — point it at the base URL and go.

1. Get your API key

Create an account and generate a key from the dashboard. One click, no credit card during beta. During the private beta the API is served from our gateway endpoint below; the public endpoint ships with open beta.

2. First request

curl https://token-factory-3g0.pages.dev/v1/chat/completions \
  -H "Authorization: Bearer $TOKEN_FACTORY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "orcarouter/Qwen3.8-27B-Uncensored-FP8",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

API Basics

Claude Code

Claude Code can run against any OpenAI-compatible endpoint via the model provider configuration:

export ANTHROPIC_MODEL="orcarouter/Qwen3.8-27B-Uncensored-FP8"
export OPENAI_BASE_URL="https://token-factory-3g0.pages.dev/v1"
export OPENAI_API_KEY="$TOKEN_FACTORY_API_KEY"

We use this exact setup to run our own agent fleet on the factory — the dogs eat the dog food.

Coding Agents

Any OpenAI-compatible agent works by setting the base URL and key:

Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(
    base_url="https://token-factory-3g0.pages.dev/v1",
    api_key="$TOKEN_FACTORY_API_KEY",
)

resp = client.chat.completions.create(
    model="orcarouter/Qwen3.8-27B-Uncensored-FP8",
    messages=[{"role": "user", "content": "Write a haiku about GPUs."}],
)
print(resp.choices[0].message.content)

Available Models

Model IDContextBest atServed on
orcarouter/Qwen3.8-27B-Uncensored-FP8 131K Coding, tool calling, fast loops 2× H100 (load-balanced)
openai/gpt-oss-120b 131K Deep reasoning, analysis 1× H100 (direct endpoint)

Live health for each model is on the status page.

Limits & Fair Use