🚀 One API for every frontier model on FastInfra

Browse models

Transparent per-token pricing → compare providers on FastInfra

View pricing

OpenAI-compatible chat completions → start in minutes

Read the docs

⚡ Server Auction → Enterprise bare metal from $78.15/mo (173 in stock)

Browse deals

FastInfra Solutions

The cheapest route for every model.

FastInfra compares live route prices in real time and sends each request to the lowest available cost.

Why FastInfra

  • Live catalog with input/output $/1M tokens
  • Per-model landing pages with routing details
  • Side-by-side model comparison pages
  • Free-tier models included
  • No monthly minimum — pay for what you use

The cheapest LLM APIs right now

The table ranks paid chat models on FastInfra by combined input and output price per million tokens. It is generated from the live catalog every time the page is served, so it reflects today's prices rather than the day this page was written.

The 15 cheapest paid chat models on FastInfra by combined input and output price (USD per 1M tokens)
ModelInput $/1MOutput $/1MRoutes
Mistral Nemo
mistralai/mistral-nemo
$0.0313$0.03241
Ling 3.0 Flash
inclusionai/ling-3.0-flash
$0.0227$0.0681
L3 Lunaris 8B
sao10k/l3-lunaris-8b
$0.0432$0.0541
Llama 3.2 1B Instruct
meta-llama/llama-3.2-1b-instruct
$0.0648$0.06482
Llama 3.2 3B Instruct
meta-llama/llama-3.2-3b-instruct
$0.0648$0.06482
GPT-OSS 120B
gpt-oss-120b
$0.0302$0.11025
Mistral Small 24B Instruct 2501
mistralai/mistral-small-24b-instruct-2501
$0.054$0.08642
GPT-OSS 20B
openai/gpt-oss-20b
$0.0324$0.14043
Nova Micro V1
amazon/nova-micro-v1
$0.0378$0.15121
Schematron V2 Turbo
inference-net/schematron-v2-turbo
$0.0324$0.1621
Command R7B 12.2024
cohere/command-r7b-12-2024
$0.0405$0.1621
Mythomax L2 13B
gryphe/mythomax-l2-13b
$0.0864$0.11881
Mercury 2.5
inception/mercury-2.5
$0.0432$0.1621
Trinity Mini
arcee-ai/trinity-mini
$0.0486$0.1621
Granite 4.2 8B
ibm-granite/granite-4.2-8b
$0.0648$0.1621

The cheapest paid chat model currently starts at $0.0227 per million input tokens, and the median paid model charges $1.026 per million output tokens. 12 models cost nothing at all on the free tier.

Cheapest is a workload decision, not a model decision

Per-token price is only half of the bill. What you pay per request is input tokens × input price + output tokens × output price, and output tokens usually cost several times more than input. Three rules cover most cases:

  • Input-heavy work (RAG, classification, extraction over long documents) — pick the lowest input price with a context window big enough for your documents.
  • Output-heavy work (drafting, code generation, agents that write a lot) — the output price dominates; a model that is cheap on input can still be expensive here.
  • Quality-sensitive work — a model that solves the task in one call is cheaper than a model that needs three retries. Test on 50 real examples before you switch.

Popular models and what they cost

Popular LLMs on FastInfra with live input and output prices (USD per 1M tokens)
ModelInput $/1MOutput $/1MRoutes
Claude Opus 5
anthropic/claude-opus-5
$5.4$271
Claude Sonnet 5
anthropic/claude-sonnet-5
$2.16$10.81
Claude Haiku 5.5
anthropic/claude-haiku-5.5
$0.108$0.541
Claude Fable 5.1
anthropic/claude-fable-5.1
$10.8$541
GPT-5.5
openai/gpt-5.5
$5.4$32.41
GPT-6 Sol
openai/gpt-6-sol
$2.16$10.81
GPT-OSS 120B
gpt-oss-120b
$0.0302$0.11025
Gemini 3.8 Flash
google/gemini-3.8-flash
$0.81$4.051
DeepSeek V4 Pro
deepseek/deepseek-v4-pro
$1.728$3.4562
DeepSeek V4 Flash
deepseek/deepseek-v4-flash
$0.0983$0.19662
Qwen3.6 27B
qwen/qwen3.6-27b
$0.486$2.9162
Kimi K3
moonshotai/kimi-k3
$0.2074$16.23
Grok 4.7
x-ai/grok-4.7
$2.16$6.481
GLM 5.3
glm-5.3
$0.0864$3.8884
Llama 4 Maverick
meta-llama/llama-4-maverick
$0.2025$0.70471

Five ways to cut LLM API cost without changing quality

  1. Route by difficulty. Send simple requests to a flash-class model and escalate only hard ones to a frontier model.
  2. Use batch pricing for offline jobs. Models with a batch variant cost about half the standard rate when you can wait for results.
  3. Cap max_tokens. Unbounded output is the most common source of surprise bills.
  4. Trim the prompt. Long system prompts and full chat histories are billed on every call; summarise older turns.
  5. Let routing pick the provider. FastInfra sends each request to the lowest-cost healthy route for that model and fails over automatically.

Call any of them with one key

from openai import OpenAI

client = OpenAI(base_url="https://api.fastinfra.ai/v1", api_key="YOUR_FASTINFRA_KEY")

resp = client.chat.completions.create(
    model="deepseek/deepseek-v4-flash",
    messages=[{"role": "user", "content": "Summarise this ticket in one line."}],
)
print(resp.choices[0].message.content)

Frequently asked questions

How does cheapest routing work?

For each model ID, FastInfra maintains live prices and health signals, then selects the lowest-cost healthy route per request.

What happens if a route fails?

FastInfra automatically fails over to the next healthy route in the chain — no client-side changes required.

Where can I see prices?

The public Pricing page and every /models/{slug} page show current USD rates.

What is the cheapest LLM API?

It changes as providers reprice. The table on this page is generated from the live FastInfra catalog and ranks paid chat models by combined input and output price per million tokens; free-tier models cost $0.

Are cheap models good enough for production?

For classification, extraction, routing and summarisation, flash-class and open-weight models are usually sufficient. For complex reasoning or long agentic tasks, test a frontier model against a cheaper one on real examples and compare cost per solved task.

Is there a minimum spend?

No. Paid usage draws from prepaid credits with no monthly minimum, and free-tier models are available without spending anything.