No items found.
Start Building
Technical

Token Factory: packet.ai's OpenAI-Compatible LLM Inference API

Six open models. Cheaper than Together AI, Groq, and Fireworks on Llama 3.3 70B. $0.02 embeddings, $0.06 classification, $0.85 for DeepSeek-V3. Here is everything on Token Factory pricing and setup.

Author photo
packet.ai Team
August 13, 2026

Token Factory is packet.ai's managed LLM inference API: six open models from $0.02 to $0.85 per million tokens, OpenAI-compatible, scale-to-zero, no cold-start tax, no GPU management, and cheaper than every major managed inference provider for equivalent open models.

Key takeaways

  • Six open models at launch: Llama 3.3 70B ($0.59/1M), Llama 3.1 8B ($0.06/1M), Qwen2.5 72B ($0.62/1M), DeepSeek-V3 ($0.85/1M), Mistral Small 3 ($0.18/1M), BGE-M3 embeddings ($0.02/1M).
  • Drop-in OpenAI-compatible: change base_url to api.packet.ai/v1 and swap your API key. Every line of application code stays the same.
  • Scale-to-zero with no cold-start tax. Idle traffic costs nothing. Capacity autoscales behind the endpoint.
  • Per-token billing: input and output metered separately. No minimums, no platform fee, no egress charge.
  • Bring your own LoRA adapter or full checkpoint and serve it behind the same endpoint.
  • US and EU data residency. DPA support. packet.ai never trains on your data.
  • Launching soon. Join the Token Factory waitlist for early access and launch-pricing credits.

Most developers running LLM workloads are paying one of two prices: frontier API rates from OpenAI or Anthropic, or the operational cost of managing their own vLLM server on a GPU pod. Token Factory is the third option. You get managed infrastructure with per-token billing, open model quality, and an API shape your existing code already knows.

This post covers every model, every price, how billing actually works, who should use Token Factory versus a raw GPU pod, and how it compares to other managed inference providers. For the full API specification including batch processing and LoRA fine-tune internals, read the Token Factory API deep dive. For the origin story and engineering decisions behind it, see why we built Token Factory. For the full self-hosted vs managed cost comparison, see LLM inference cost in 2026.

What Is Token Factory and How Does It Work?

Token Factory is a hosted inference API. It runs a curated set of open models behind an OpenAI-compatible endpoint. You point your existing OpenAI SDK at api.packet.ai/v1, swap your API key, and your application runs unchanged. packet.ai handles GPU provisioning, model loading, autoscaling, and cold-start management. You handle the application.

The four design priorities from the product page:

Drop-in

Full /v1/chat/completions and /v1/embeddings. Change base_url and key. Keep every line of your app.

Per-token

Pay only for what you use. No idle GPU cost, no minimums, no platform fee, no egress surprise.

Scale to 0

Capacity follows your traffic with no cold-start tax. Idle costs nothing. You pay per token, not per hour.

US and EU

Data residency in both regions. DPA support. packet.ai never trains on your data.

Token Factory Model Catalog: All Six Models, Prices, and Context Windows

Token Factory launches with six models covering every major open-weight use case. All prices are indicative for launch, with input and output metered separately at the same per-model rate. Prices sourced from packet.ai/token-factory.

Model Provider Context Type From / 1M tokens Best for
Llama 3.3 70B POPULAR Meta 128K Chat $0.59 General tasks, multi-turn RAG, agents, instruction following
Llama 3.1 8B Meta 128K Chat $0.06 Classification, routing, summarisation, high-volume cheap tasks
Qwen2.5 72B Alibaba 128K Chat $0.62 Multilingual content, long-context documents, complex instruction
DeepSeek-V3 NEW DeepSeek (MoE) 64K Chat $0.85 Code generation, reasoning, complex multi-step tasks
Mistral Small 3 Mistral 32K Chat $0.18 Low-latency classification, tool calling, structured output
BGE-M3 BAAI 8K Embed $0.02 Semantic search, RAG retrieval, document similarity

Prices indicative for launch. Input and output metered separately at the same per-model rate. Source: packet.ai/token-factory. Your own fine-tunes are hostable on request at the same billing rate.

How to Pick the Right Token Factory Model for Your Workload

Llama 3.1 8B at $0.06/1M is the default for high-volume, lower-complexity tasks: classification, routing, document summarisation, structured JSON extraction. 128K context handles long inputs without chunking. For any pipeline step that runs millions of tokens per day at simple tasks, start here.

Llama 3.3 70B at $0.59/1M is the most popular model in the catalog for a reason: it handles complex instruction following, multi-turn RAG, agentic tool use, and nuanced writing. The $0.06 to $0.59 jump buys 62 billion additional parameters. For most chatbot and assistant products, this is the right call.

DeepSeek-V3 at $0.85/1M is the catalog's strongest reasoning model. It is a Mixture-of-Experts architecture with a 64K context window, purpose-built for code generation, debugging, and multi-step reasoning chains. If you are building a code review tool or a technical assistant where accuracy matters more than latency, DeepSeek-V3 is the pick.

BGE-M3 at $0.02/1M is the cheapest model in the catalog and the only embedding model. Use it for the retrieval leg of any RAG pipeline. Embedding 100,000 documents at an average of 500 tokens each costs approximately $1.00.

Token Factory vs Together AI, Groq, and Fireworks: Managed Inference Pricing Compared

Token Factory is priced below every comparable managed inference provider for open models. The table below compares rates verified from each provider's official pricing page for Llama 3.3 70B, the most common benchmark for open model inference pricing.

Provider Model Input / 1M Output / 1M OpenAI-compatible Fine-tune hosting
packet.ai Token Factory Llama 3.3 70B $0.59 $0.59 Yes Yes (LoRA + checkpoint)
Together AI Llama 3.3 70B Turbo $1.04 $1.04 Yes Yes
Fireworks AI Llama 3.3 70B $0.90 $0.90 Yes Yes
Groq Llama 3.3 70B $0.59 $0.79 Yes No
AWS Bedrock Llama 3.3 70B $0.72 $0.72 No Via SageMaker
OpenAI GPT-4o GPT-4o $2.50 $10.00 Native Via fine-tuning API

Rates verified from each provider's official pricing page, August 2026. Together AI raised Llama 3.3 70B Turbo from $0.88 to $1.04 in July 2026. Groq input matches Token Factory but output is 34% higher. Token Factory is the only provider in this list that supports LoRA adapter hosting at launch-catalog pricing.

At $0.59/1M for both input and output on Llama 3.3 70B, Token Factory is 43% cheaper than Together AI ($1.04), 34% cheaper than Fireworks ($0.90), and undercuts Groq's output rate by 25%. The output gap against GPT-4o ($10.00/1M) is 16x.

Who Should Use Token Factory: A Practical Decision Guide

Token Factory is the right default for developers, indie builders, and small teams who want LLM inference without infrastructure management. The deciding factor is not company size: it is whether idle cost and operational overhead are acceptable to your project.

Token Factory fits you if

  • You are building a side project, MVP, or solo SaaS
  • Your traffic is bursty, low-volume, or unpredictable
  • You want OpenAI-compatible code that survives a provider switch
  • You are paying for LLM calls out of pocket
  • You have no ops team and do not want one
  • You need nights, weekends, and quiet days to cost nothing
  • You want to serve a LoRA fine-tune without managing a pod
  • You need US or EU data residency without a VPC deployment

Consider a GPU pod instead if

  • You run millions of tokens per day, consistently, at high utilisation
  • You need a model not in the Token Factory catalog
  • You need vLLM config control: PagedAttention, KV cache, tensor parallelism
  • You need specific GPU silicon: B200, A100 80GB, H100 SXM
  • You need multi-GPU serving for 100B+ models
  • Your GPU utilisation stays above 60% around the clock

The crossover point where a dedicated GPU pod or a dynamic GPU pod becomes cheaper than Token Factory depends on utilisation. At 100% GPU utilisation on an RTX 6000 Pro Dynamic pod ($0.66/hr), you get approximately 2.4 million output tokens per hour from Llama 3.3 70B with vLLM, which costs $1.42/1M at the GPU-hour rate versus $0.59/1M on Token Factory. For most teams running below 40% utilisation (which covers almost every development workload and early-stage product), Token Factory wins on cost every time.

For the full break-even analysis across five GPU billing models, the GPU pricing models comparison covers the exact utilisation threshold where per-token beats per-hour. To understand the self-hosted vLLM path before comparing, the vLLM deployment tutorial covers the full setup on packet.ai GPU pods.

Cost Calculator: What Your Workload Actually Costs on Token Factory

All numbers use verified launch prices from packet.ai/token-factory. Output tokens drive most inference cost, so the table uses output token estimates. Input costs apply at the same per-model rate.

Workload (monthly) Est. output tokens Llama 3.1 8B
$0.06/1M
Llama 3.3 70B
$0.59/1M
Mistral Small 3
$0.18/1M
DeepSeek-V3
$0.85/1M
Early-stage chatbot (1K users, 5 msgs/day) ~5M $0.30 $2.95 $0.90 $4.25
RAG Q&A tool (10K queries/month) ~10M $0.60 $5.90 $1.80 $8.50
Content pipeline (200 long-form posts) ~20M $1.20 $11.80 $3.60 $17.00
Code review assistant (5K PRs) ~30M $1.80 $17.70 $5.40 $25.50
Support bot (50K tickets/month) ~50M $3.00 $29.50 $9.00 $42.50
RAG embeddings (100K docs via BGE-M3) ~500M N/A N/A N/A $10.00 (BGE-M3 at $0.02)

Output token estimates only. Input costs apply at the same per-model rate. Prices verified from packet.ai/token-factory. Highlighted cells show the lowest-cost model for each workload type.

Join the Token Factory waitlist

Token Factory is launching soon. Early signups receive launch-pricing credits and first access. No credit card required. Join the waitlist at packet.ai/token-factory.

Six Features Token Factory Includes on Every Model

Every model in the catalog ships with the same complete feature set. No tier restrictions, no add-on fees for streaming or function calling.

Drop-in compatible

Full /v1/chat/completions and /v1/embeddings surface. Change base_url and key. Every existing SDK call works.

Streaming and tool calling

SSE token streaming, JSON mode, and function/tool calling, exactly as your existing client expects them.

Autoscale with no cold-start tax

Capacity follows traffic automatically. Idle costs nothing. No warm-up delay when traffic returns.

Per-token billing

Input and output metered separately. No minimums, no platform fee, no egress charge. Pay exactly for what you process.

Bring your fine-tune

Host your own LoRA adapter or full checkpoint behind the same OpenAI-compatible endpoint. Same billing, same API shape.

Private and compliant

packet.ai never trains on your data. DPA support, audit support, US and EU data residency.

Use Case Matrix: Which Token Factory Model to Use for Each Job

Token Factory covers the three production categories shown on the product page: chatbots and assistants, RAG and search, and agents and batch. Here is the full model-to-use-case mapping.

Use case Recommended model Streaming Tool calling JSON mode Rate/1M
Customer chatbot / assistant Llama 3.3 70B Yes Yes Yes $0.59
Classification / intent routing Llama 3.1 8B Yes Yes Yes $0.06
RAG over documents (generation) Llama 3.3 70B Yes Yes Yes $0.59
RAG embeddings (retrieval) BGE-M3 N/A N/A N/A $0.02
Code generation and review DeepSeek-V3 Yes Yes Yes $0.85
Multilingual assistant Qwen2.5 72B Yes Yes Yes $0.62
Agentic tool use / function calling Mistral Small 3 Yes Yes Yes $0.18
High-volume batch classification Llama 3.1 8B Optional Yes Yes $0.06

Three Steps to Your First Token on Token Factory

Token Factory is launching soon. Setup takes under five minutes once you have an API key.

1

Get an API key

Join the waitlist at packet.ai/token-factory. No GPU quota requests, no infrastructure to provision, no credit card required.

2

Point your SDK at packet.ai

Set base_url to api.packet.ai/v1 and swap your API key. LangChain, LlamaIndex, litellm, instructor, and every other OpenAI wrapper picks up the change automatically.

3

Ship and scale

Traffic autoscales behind the endpoint. You pay only for the tokens you actually process. No cold-start delay, no idle cost on quiet nights or weekends.

Python
# pip install openai, then point it at packet.ai
from openai import OpenAI

client = OpenAI(
    base_url="https://api.packet.ai/v1",
    api_key="$PACKET_API_KEY",
)

resp = client.chat.completions.create(
    model="llama-3.3-70b",
    messages=[{"role": "user", "content": "Hi!"}],
    stream=True,
)
cURL
curl https://api.packet.ai/v1/chat/completions \
  -H "Authorization: Bearer $PACKET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"llama-3.3-70b","messages":[{"role":"user","content":"Hi!"}],"stream":true}'
Node.js
// npm i openai
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.packet.ai/v1", apiKey: process.env.PACKET_API_KEY });
const stream = await client.chat.completions.create({
  model: "llama-3.3-70b", stream: true,
  messages: [{ role: "user", content: "Hi" }],
});

How Token Factory Billing Works: Scale-to-Zero, No Minimums, No Egress

Token Factory bills per token. Input and output are metered separately at the same per-model rate. There is no platform fee, no minimum monthly spend, no egress charge, and no cold-start tax. You pay for exactly the tokens your application processes and nothing else.

The scale-to-zero property changes the economics for any workload with uneven traffic. A Dynamic GPU pod at $0.66/hr running Llama 3.3 70B with vLLM costs $475 per month at 100% uptime, whether or not it receives a single request. Token Factory costs nothing during idle hours.

$0

idle cost

$0

platform fee

$0

cold-start tax

Hosting Your Own Fine-Tune on Token Factory

Token Factory supports LoRA adapters and full model checkpoints behind the same OpenAI-compatible endpoint. You fine-tune a base model (Llama 3.3 70B, Llama 3.1 8B, or a compatible base) and upload either the LoRA adapter weights or the full checkpoint, then reference it by model ID in your API calls. packet.ai handles the serving. Your application code does not change. Reference your fine-tune by model ID instead of a catalog model ID.

This covers the most common production deployment pattern for open models: a domain-fine-tuned checkpoint that outperforms the base model on your specific task, served without GPU operations overhead. The same per-token billing applies as for catalog models.

For GPU sizing during the fine-tuning run itself before you hand the checkpoint to Token Factory, the fine-tuning GPU sizing guide covers QLoRA memory math and cost per run on A100 versus H100. For the inference serving side, if you are evaluating self-hosted vLLM versus Token Factory, the SGLang vs vLLM vs TensorRT-LLM guide covers inference engine trade-offs at different scales.

Frequently asked questions

Token Factory is packet.ai's managed LLM inference API. It serves six open models behind an OpenAI-compatible endpoint: Llama 3.3 70B ($0.59/1M), Llama 3.1 8B ($0.06/1M), Qwen2.5 72B ($0.62/1M), DeepSeek-V3 ($0.85/1M), Mistral Small 3 ($0.18/1M), and BGE-M3 embeddings ($0.02/1M). Per-token billing, scale-to-zero, no minimums, no platform fee. Launching soon. Join the waitlist at packet.ai/token-factory.
Token Factory's Llama 3.3 70B rate is $0.59/1M for both input and output, versus $1.04/1M on Together AI (raised from $0.88 in July 2026), $0.90/1M on Fireworks, and $0.79/1M output on Groq. Token Factory is also the only provider in that group that supports LoRA fine-tune hosting at launch-catalog pricing. AWS Bedrock and OpenAI both cost significantly more for equivalent quality open models.
Yes. Token Factory implements the full /v1/chat/completions and /v1/embeddings surface with SSE streaming, JSON mode, and function/tool calling. Change base_url to api.packet.ai/v1 and swap your API key. LangChain, LlamaIndex, litellm, instructor, and any other OpenAI wrapper work without further modification. Model names differ: llama-3.3-70b instead of gpt-4o. The call structure is identical.
Billing is per token. Input and output are metered separately at the same per-model rate. There are no minimums, no platform fee, and no egress charge. Token Factory scales to zero: if you send no requests, you pay nothing. There is no cold-start tax. Capacity autoscales behind the endpoint without delay or fixed warm-up cost.
Yes. Token Factory is designed for production. The same GPU infrastructure that powers packet.ai's dedicated and dynamic GPU pods runs behind the Token Factory endpoint. Autoscaling handles traffic spikes. DPA support, audit support, and US and EU data residency cover enterprise compliance requirements. Private fine-tune hosting lets you serve domain-specific models in production without managing serving infrastructure yourself.
Yes. Token Factory supports LoRA adapters and full model checkpoints. You bring the weights; packet.ai handles the serving. The same per-token billing applies. Your application code does not change. Reference your fine-tune by model ID instead of a catalog model ID. This covers the most common production pattern: a base model checkpoint trained on proprietary data, served without GPU operations overhead.
Token Factory is launching soon. Join the waitlist at packet.ai/token-factory. No credit card required. Early signups receive launch-pricing credits. Access opens in batches. One email when your key is ready. Nothing else.

Prices verified from packet.ai/token-factory, August 2026. Indicative for launch; input and output metered separately. Competitor rates verified from official provider pricing pages, August 2026. For GPU infrastructure to self-host LLM inference at sustained high volume, browse available GPU clusters on packet.ai.

Waste less compute.

Same models. Same API. Fraction of the cost. Start free — no credit card required.

Start Building →

More from the blog