Free Tier

Free models, daily limits, and how community-hosted free routes work alongside paid tiers.

Overview

AllRoutes offers a free tier so you can prototype, evaluate, and run small workloads without entering a credit card. The free tier has two parts:

  1. Free credit -- $5 of one-time credit on signup that works against any model
  2. Free routes -- a curated list of models served at zero per-token cost, subject to rate limits

Free routes are powered by community-hosted endpoints, providers' own free tiers (e.g., Groq Free, Together Free), and AllRoutes-subsidized capacity. They are best for development, low-stakes evaluation, and side projects.

What's Free

Look up free models with the Models API:

curl "https://api.allroutes.ai/v1/models?category=chat&capability=free" \
  -H "Authorization: Bearer allroutes_sk_..."

Currently free (subject to change -- always check the live list):

ModelNotes
meta-llama/llama-3.1-70b-instruct:freeHosted on community vLLM
meta-llama/llama-3.1-8b-instruct:freeFaster, smaller variant
mistralai/mistral-7b-instruct:freeGeneral-purpose, low latency
google/gemma-2-9b-it:freeGoogle's open Gemma family
qwen/qwen-2.5-7b-instruct:freeStrong multilingual
nous-research/hermes-3-llama-3.1-8b:freeFine-tuned for chat
microsoft/phi-4:freeCompact, strong on math/code

The :free suffix on model IDs explicitly opts into the free route. Without the suffix, the same base model may be paid (e.g., meta-llama/llama-3.1-70b-instruct is the paid route, hitting Together / Fireworks).

Rate Limits

Free routes have stricter limits than paid:

PlanFree-Route RPMFree-Route Daily Quota
Free20 RPM200 requests/day
Pro60 RPM1000 requests/day
EnterpriseCustomCustom

When a free-route limit is hit, requests return 429 Too Many Requests with error.code: "free_tier_exhausted". You can either wait for the next window or fall back to a paid route via the models array (see below).

Quotas are separate, not shared. The :free model variants have their own per-day quota (the "Free-Route Daily Quota" column above) that is tracked separately from your plan's overall RPD limit. Burning through your free-route quota does not consume your paid RPD, and vice versa.

Routing to Free First, Paid Fallback

The cleanest pattern is to set up a fallback chain:

response = client.chat.completions.create(
    models=[
        "meta-llama/llama-3.1-70b-instruct:free",
        "meta-llama/llama-3.1-70b-instruct",  # paid, same model
        "gpt-4o-mini",  # paid, different model, different provider
    ],
    messages=[{"role": "user", "content": "Hello!"}],
)

If the free route is rate-limited or down, the gateway transparently falls through to the paid version of the same model, then to a different provider. The X-AllRoutes-Model response header tells you which route actually served the request.

Free Route Strategy

You can also opt in via the routing strategy:

response = client.chat.completions.create(
    model="meta-llama/llama-3.1-70b-instruct",
    messages=[{"role": "user", "content": "Hello!"}],
    provider={"strategy": "free", "allow_fallbacks": True},
)

strategy: "free" prefers a free route for the requested model when one exists, falling through to paid if allow_fallbacks: true.

Free Tier vs. BYOK

If you have your own provider keys, BYOK is almost always a better deal than the free tier:

FeatureFree TierBYOK
CostZeroProvider price
Rate limitsStrict (20 RPM)Provider's limits (often 10,000+ RPM)
Model selection~10 free modelsEvery model on the provider
SLABest-effortProvider's SLA
ProductionNot recommendedRecommended

Use the free tier for prototyping; switch to BYOK for production -- both are 0% commission.

What Free Tier Doesn't Include

The free tier covers chat completions on listed models. It excludes:

  • Embeddings -- embeddings are cheap (often <$0.10/1M tokens) but not free
  • Image generation -- always paid
  • Audio (TTS/STT) -- always paid
  • Fine-tuning -- always paid (training costs are non-trivial)
  • Realtime API -- always paid (high compute cost)

For experimentation in these categories, use the $5 signup credit.

Quality and Caveats

Free routes share community-hosted infrastructure, which means:

  • Higher p95 latency -- expect 2-5x the latency of premium providers
  • Occasional unavailability -- community endpoints go down for maintenance more often than paid providers
  • Lower throughput -- single-stream rate limits apply
  • No SLA -- the free tier is best-effort, not contracted

For evaluation and prototyping, this is fine. For production, route through BYOK or paid providers.

SDK Examples

Python

# Always use free first, fall through to paid
response = client.chat.completions.create(
    models=[
        "meta-llama/llama-3.1-70b-instruct:free",
        "gpt-4o-mini",
    ],
    messages=[{"role": "user", "content": "Hello!"}],
)
print(f"Served by: {response.model}")  # tells you which route was used

Node.js

const completion = await client.chat.completions.create({
  models: [
    "meta-llama/llama-3.1-70b-instruct:free",
    "gpt-4o-mini",
  ],
  messages: [{ role: "user", content: "Hello!" }],
});

cURL

curl https://api.allroutes.ai/v1/chat/completions \
  -H "Authorization: Bearer allroutes_sk_..." \
  -H "Content-Type: application/json" \
  -d '{
    "models": ["meta-llama/llama-3.1-70b-instruct:free", "gpt-4o-mini"],
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Troubleshooting

SymptomCauseFix
429: free_tier_exhaustedDaily quota hitWait or use paid fallback
Free model returns gibberishCommunity endpoint instabilityAdd a paid fallback or report on Discord
Latency 5-10x normalFree route under loadSwitch to a paid route or off-peak hours
404: model not foundUsed :free suffix on a paid-only modelCheck /v1/models?capability=free for current free list

See Also

  • Models API -- live list of free-capability models
  • Routing -- strategy: "free" and fallback chains
  • BYOK -- the production-ready zero-cost alternative
  • Cost Optimization -- when to use free, BYOK, or paid AllRoutes