Fireworks AI and TokenLab solve different problems. Fireworks says it provides fast inference and training for open-source models, with serverless APIs, dedicated deployments and fine-tuning. TokenLab is a gateway: one API key and one balance for text, image, video and audio models from many makers. This page compares them on API formats, deployment options, prices for models both list, and data retention. Fireworks and TokenLab pages and prices were read on 2026-11-11.
Key takeaways
- Fireworks offers serverless per-token pricing and dedicated GPU deployments. On Fireworks' pricing page, an H100 80 GB costs $8.00 per hour, billed per GPU-second. TokenLab's docs describe a catalog of hosted models and no dedicated GPU product.
- For the eight models in the price table below, the list prices are the same on both services, except DeepSeek V4.1 Flash. TokenLab charges $0.15 input and $0.60 output off-peak, and the Fireworks price equals TokenLab's peak price.
- Fireworks accepts OpenAI Chat Completions, OpenAI Responses and Anthropic Messages. TokenLab also accepts the Gemini format, and one key works with all four.
- Fireworks can reach Claude and GPT models through Nexus Auto, but those models run on your own Anthropic or OpenAI account. On TokenLab, Claude Sonnet 5.5 with Verified delivery costs $0.70 input and $3.50 output per million tokens, against $2 and $10 at Anthropic.
- Fireworks lists zero data retention by default. TokenLab saves request and response details for 30 days so that you can debug them.
What Fireworks offers
The Fireworks concepts page describes two kinds of deployment. Serverless deployments run popular models on shared GPUs, and you pay per token. Dedicated deployments give you private GPUs with performance guarantees and more control over which models run, and they bill per GPU-second. The docs also cover LoRA adapters, fine-tuning, custom model upload, a Batch API at 50% of the serverless price, embeddings and reranking.
For serverless requests, Fireworks has four modes: Standard, Priority, Fast and Ultra-fast (Preview). Its serverless pricing page lists a price for each mode.
Fireworks also offers Nexus Auto. It picks a Fireworks open model for easy turns and an Anthropic or OpenAI model for harder turns. The closed models run on your own Anthropic or OpenAI account, so that provider bills you directly.
Fireworks and TokenLab side by side
| Item | Fireworks | TokenLab |
|---|---|---|
| Base URL | https://api.fireworks.ai/inference/v1 |
https://api.tokenlab.sh/v1 |
| Model IDs | Look like accounts/fireworks/models/llama-v3p1-8b-instruct |
No provider prefix, for example kimi-k3.1-pro |
| API formats | OpenAI Chat Completions and Completions, OpenAI Responses, Anthropic Messages | OpenAI Chat Completions, OpenAI Responses, Anthropic Messages and Gemini. Each model lists its accepted_request_formats. |
| Models | Open models and your own uploaded models. Closed models only through Nexus Auto, on your own provider account. | Open and closed models from many makers, plus image, video, audio, music and 3D models |
| Your own weights | LoRA adapters, fine-tuning and custom model upload | Not in the TokenLab docs. TokenLab serves the models in its catalog. |
| Dedicated GPUs | On-demand deployments. H100 80 GB at $8.00 per hour on the pricing page. | Not in the TokenLab docs |
| Batch | Batch API at 50% of the serverless price | Batch API for Chat Completions and embeddings. Up to 50,000 requests and 200 MiB per file. Batch prices can differ from synchronous prices, so check the bill. |
| Data retention | Zero data retention by default, per the pricing page | Request and response details are available in Console for 30 days. See data retention. |
Prices for models both list
Prices are USD per million input and output tokens. Fireworks prices are Standard serverless prices from its pricing page. TokenLab prices come from the model pricing API. TokenLab serves all of these models with Official delivery, so there is no Verified price.
| Model | Fireworks input / output | TokenLab input / output |
|---|---|---|
Kimi K3.1 Pro (kimi-k3.1-pro) |
$2.00 / $10.00 | $2 / $10 |
Kimi K3 (kimi-k3) |
$3.00 / $15.00 | $3 / $15 |
DeepSeek V4.1 Flash (deepseek-v4.1-flash) |
$0.30 / $1.20 | Off-peak $0.15 / $0.60, peak $0.30 / $1.20 |
GLM 5.3 (glm-5.3) |
$1.40 / $4.40 | $1.40 / $4.40 |
GLM 5.3 Flash (glm-5.3-flash) |
$0.15 / $0.50 | $0.15 / $0.50 |
Qwen 3.8 Max (qwen3.8-max) |
$2.00 / $6.00 | $2 / $6 |
MiniMax M3 (minimax-m3), prompts up to 512K tokens |
$0.30 / $1.20 | $0.30 / $1.20 |
GPT OSS 120B (gpt-oss-120b) |
$0.15 / $0.60 | $0.15 / $0.60 |
Cached input prices differ and are not in the table. Fireworks Priority, Fast and Ultra-fast modes cost more than Standard. TokenLab runs every request at its standard tier. The price gap between the two services is not in the models above. It is in Claude, GPT, Gemini and Grok models, which are not in Fireworks' serverless price list. Read the live price of any TokenLab model with GET /v1/models/{model}/pricing.
Integration contracts
TokenLab model IDs have no provider prefix. A Fireworks ID such as accounts/fireworks/models/... needs to change to a TokenLab ID. Read the IDs from GET /v1/models. One TokenLab key works with four formats, as described in the API formats guide.
OpenAI Chat Completions
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.tokenlab.sh/v1",
api_key=os.environ["TOKENLAB_API_KEY"],
)
response = client.chat.completions.create(
model="deepseek-v4.1-flash",
messages=[
{"role": "system", "content": "You are an expert code reviewer."},
{"role": "user", "content": "Review this SQL query for indexing bottlenecks."},
],
timeout=30.0,
)
print(response.choices[0].message.content)
Anthropic Messages
Fireworks also exposes an Anthropic-compatible endpoint. On TokenLab, point the Anthropic SDK at the host without /v1:
import os
from anthropic import Anthropic
client = Anthropic(
base_url="https://api.tokenlab.sh",
api_key=os.environ["TOKENLAB_API_KEY"],
)
message = client.messages.create(
model="claude-sonnet-5-5",
max_tokens=1024,
messages=[{"role": "user", "content": "Analyze this system log snippet."}],
)
print(message.content[0].text)
Gemini native format
curl "https://api.tokenlab.sh/v1beta/models/gemini-3.8-flash:generateContent" \
-H "Authorization: Bearer $TOKENLAB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contents": [{"parts": [{"text": "Summarize key trends in distributed storage."}]}]
}'
Audio
Speech and transcription use the audio endpoints. Model IDs are different from OpenAI's: use grok-tts for speech and whisper-large-v3 for transcription. Read the current choices with GET /v1/models?recommended_for=tts and recommended_for=stt.
curl -X POST "https://api.tokenlab.sh/v1/audio/speech" \
-H "Authorization: Bearer $TOKENLAB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "grok-tts", "voice": "eve", "input": "Welcome to TokenLab."}' \
--output speech.mp3
Billing and spending controls
- One balance. TokenLab bills chat, reasoning, embedding, image, video and audio models from one workspace balance. Media models may bill per request, per second or per token. See the billing guide.
- Per-key limits. Set a spend limit on an API key in Console. A request over the limit fails with
402and the codequota_exceeded. - Low-balance alerts. Set a threshold in Console under Settings, and TokenLab emails you when the balance falls below it.
- Delivery options. A request runs on Verified or Official delivery, and the Auto setting tries Verified first. You pay the price of the option that ran the request.
On the Fireworks side, the pricing page lists spend limits and Auto Reload for credits, and per-GPU-second billing for dedicated deployments.
When to stay on Fireworks and when to add TokenLab
Stay on Fireworks if you serve LoRA adapters or fine-tuned models there, if you need private dedicated GPUs, or if you want zero data retention by default.
Add TokenLab if your product routes between open and closed models, if you need the Anthropic Messages or Gemini format from the same key as an OpenAI client, or if you also make images, video or audio and want one balance. A common split is to keep fine-tuned traffic on Fireworks and send everything else through TokenLab.
To test with your existing client, follow the TokenLab quickstart and check the Chat Completions reference.
Sources
- Fireworks docs: serverless pricingSources checked 2026-11-11
- Fireworks: pricingSources checked 2026-11-11
- Fireworks docs: conceptsSources checked 2026-11-11
- Fireworks docs: Nexus AutoSources checked 2026-11-11
- TokenLab docs: API formatsSources checked 2026-11-11
- TokenLab docs: billing and pricingSources checked 2026-11-11
- TokenLab docs: data retentionSources checked 2026-11-11
- TokenLab API: model pricesSources checked 2026-11-11



