Open models.
An API you already know.
Token Factory serves open-weight models behind an OpenAI-compatible endpoint, billed per token. Change the base URL, keep your code, and never size a GPU.
import os from openai import OpenAI client = OpenAI( base_url="https://api.packet.ai/v1", api_key=os.environ["PACKET_API_KEY"], ) resp = client.chat.completions.create( model="meta-llama/Llama-3.3-70B-Instruct", messages=[{"role": "user", "content": "Hi!"}], stream=True, )
Inference without
the infrastructure.
For apps whose traffic doesn't justify a GPU running all day.
Drop-in compatible
Chat completions with streaming, JSON mode and tool calling, through the OpenAI SDKs you already use.
Pay per token
Input and output tokens metered separately from the same wallet as your GPUs. Nothing to pay while idle.
Graduate to a GPU
When volume makes a dedicated deployment cheaper, serve the same model on your own GPU with vLLM, same endpoint shape.
From the team
building it.
How Token Factory works, and when self-hosting beats an API.
Self-Hosting vs API: The Break-Even Point in Requests per Day
A rented GPU costs the same idle or busy. Here is the real formula for when self-hosting actually beats a managed API, and when it does not.
Why We Built Token Factory
Token Factory is packet.ai's OpenAI-compatible inference API - swap the base URL, get open model inference without managing GPU infrastructure. Here's why we built it and when to use it instead of a raw GPU instance.
Token Factory: How We Built a 98% Cheaper OpenAI Alternative
OpenAI-compatible, $0.10/M real-time, $0.05/M batch, LoRA fine-tuning from $5. Here's exactly how Token Factory works under the hood.
Your next run
starts at $0.36.
Sign up, top up, launch. You'll be on a GPU in minutes.