InferIndex

ModelsMetaLlama 3.1 8B Instruct

Llama 3.1 8B Instruct

meta-llama/llama-3.1-8b-instruct131k context Compare →

Cheapest: DeepInfra — $0.02 Input / $0.04 Output per million — checked 

MedianThe median blended price among comparable offers: one price per provider (its cheapest route), standard tier, current prices only. Priority tiers and prices converted from points are not counted.
$0.16
Most expensiveThe highest blended price among comparable offers: one price per provider (its cheapest route), standard tier, current prices only. Priority tiers and prices converted from points are not counted.
$0.42
Offers
33
Providers
14
QualityQuality rank from public evaluations. 1 = best. Data credits
Not ranked in this quality board
CodeCoding quality rank from public evaluations. 1 = best. Data credits
Not ranked in this quality board

Via InferIndex

Price checked on Nov 28, 2026, 8:11 PM UTC

$0.025blended / 1M

No change7D
Input
$0.02
Output
$0.04
Cached
–No data
Use via InferIndex$0.025 The router sends each request to the cheapest verified offer among the provider keys you connect.

Public leaderboards

  • Text Arena, style controlThe series the source publishes by default for text since 16 May 2025: ranks corrected for the style of the answers (style control). #350 of 427Best rank in the source's rank spread, 350th to 357th, given the confidence intervals of all ranked models. 354th by score. 1,211 1,207 to 1,215Arena Score · 49,605 votes

Source: Arena (opens in a new tab) · Data under the CC BY 4.0 license (creativecommons.org/licenses/by/4.0) · CC BY 4.0 (opens in a new tab) · scores and ranks as published on 22 Nov 2026

Listed offers, by price

Comparable offersOther offersSolid steps are comparable offers; dashed steps are the other offers, which are not counted in cheapest, median or most expensive.

Offers not counted in cheapest, median or most expensive (20)

  • $0.025 · DeepInfra via Eden AI · cannot be designated the cheapest
  • $0.025 · DeepInfra via Kilo Gateway · cannot be designated the cheapest
  • $0.025 · FastRouter via FastRouter · cannot be designated the cheapest
  • $0.025 · Martian via Martian · cannot be designated the cheapest
  • $0.025 · DeepInfra via OpenRouter · another route of the same provider
  • $0.025 · Nous Portal via Nous Portal · stale offer
  • $0.028 · DeepInfra via Eden AI · cannot be designated the cheapest
  • $0.028 · Novita via Kilo Gateway · cannot be designated the cheapest
  • $0.028 · DeepInfra via Requesty · another route of the same provider
  • $0.058 · FlexAI via Eden AI · cannot be designated the cheapest
  • $0.058 · FlexAI via Eden AI · cannot be designated the cheapest
  • $0.058 · Groq via Kilo Gateway · cannot be designated the cheapest
  • $0.058 · Glama via Glama · cannot be designated the cheapest
  • $0.058 · Groq via OpenRouter · another route of the same provider
  • $0.22 · Amazon Bedrock via Eden AI · cannot be designated the cheapest
  • $0.22 · Amazon Bedrock via Kilo Gateway · cannot be designated the cheapest
  • $0.22 · Amazon Bedrock via LLM API · cannot be designated the cheapest
  • $0.22 · Amazon Bedrock via Vercel AI Gateway · another route of the same provider
  • $0.22 · CoreWeave via Kilo Gateway · cannot be designated the cheapest
  • $0.22 · CoreWeave via OpenRouter · another route of the same provider

Price historyThe cheapest offer each day, against the lab's official list price when it publishes one. Each day at 00:00 UTC, the offer the API would have selected as the cheapest, with the same exclusions as /cheapest. Blended price, promotions included.

Cheapest offer and official list price, by day, 30 days
DayCheapest offerOfficial list price
2026-10-30$0.025, DeepInfra–No data
2026-10-31$0.025, DeepInfra–No data
2026-11-01$0.025, DeepInfra–No data
2026-11-02$0.025, DeepInfra–No data
2026-11-03$0.025, DeepInfra–No data
2026-11-04$0.025, DeepInfra–No data
2026-11-05$0.025, DeepInfra–No data
2026-11-06$0.025, DeepInfra–No data
2026-11-07$0.025, DeepInfra–No data
2026-11-08$0.025, DeepInfra–No data
2026-11-09$0.025, DeepInfra–No data
2026-11-10$0.025, DeepInfra–No data
2026-11-11$0.025, DeepInfra–No data
2026-11-12$0.025, DeepInfra–No data
2026-11-13$0.025, DeepInfra–No data
2026-11-14$0.025, DeepInfra–No data
2026-11-15$0.025, DeepInfra–No data
2026-11-16$0.025, DeepInfra–No data
2026-11-17$0.025, DeepInfra–No data
2026-11-18$0.025, DeepInfra–No data
2026-11-19$0.025, DeepInfra–No data
2026-11-20$0.025, DeepInfra–No data
2026-11-21$0.025, DeepInfra–No data
2026-11-22$0.025, DeepInfra–No data
2026-11-23$0.025, DeepInfra–No data
2026-11-24$0.025, DeepInfra–No data
2026-11-25$0.025, DeepInfra–No data
2026-11-26$0.025, DeepInfra–No data
2026-11-27$0.025, DeepInfra–No data
2026-11-28$0.025, DeepInfra–No data

Cheapest offer

Offers

The 25 cheapest of 33 offers

The router picks from these offers, cheapest first, among the keys you connect.
Offers for Llama 3.1 8B Instruct, one row per offer, sorted by blended price.
RankProvider · viaYou buy access through an aggregator: one account and one API that forward your requests to other providers. "Via" names the aggregator; the price is the one it charges you. When "via" says "hosted API", no aggregator is involved: the model belongs to a lab and another provider sells it.Input $/MOutput $/MBlended $/MA single price that mixes input and output: 3 input tokens for 1 output token, per million tokens. It makes offers easy to rank; your real cost depends on your own mix.PrecisionHow finely the model's numbers are stored on the provider's servers. Lower precision (fp8, fp4) is cheaper to run and can slightly change answer quality; "unknown" means the provider doesn't say. ContextThe maximum amount of text, counted in tokens, the model can take in and write in a single request. Past this limit, the request is refused or cut.ConditionsWhat a provider says about how it handles your data and who can sign up: training on prompts, processing region, sign-up requirements. Each comes from the provider's published documents; when nothing is published, it stays unknown.SignalsOffer
1 DeepInfra 0.02 0.04 Use 0.025 · Cheapest right now fp8 131k United States
2 DeepInfravia Hugging Face 0.02 0.04 0.025 fp8 131k United States
3 NanoGPT 0.02 0.04 0.025 –Unpublished 131k Price drop observed: The blended price is 60% lower than before this drop; possibly temporary. · Price drop observed since Oct 18, 2026
4 DeepInfravia Eden AI 0.02 0.04 0.025 fp8 131k United States Unverified. No public page for this offer: listed, not designated cheapest
: Eden AI (opens in a new tab) No public price page for this model
5 DeepInfravia Kilo Gateway 0.02 0.04 0.025 fp8 131k United States Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapest
6 FastRouter 0.02 0.04 0.025 –Unpublished 131k Unverified. Neither seller nor price found on its page for 72 hours: listed, not designated cheapest
7 Martian 0.02 0.04 0.025 –Unpublished –Unpublished worldwide Unverified. Neither seller nor price found on its page for 72 hours: listed, not designated cheapest
8 DeepInfravia OpenRouter 0.02 0.04 0.025 fp8 131k United States Fee 5.5%: OpenRouter adds a 5.5% fee when you buy credits (read on openrouter.ai/pricing on Nov 28). Offers are ranked with this fee included.
9 DeepInfravia Eden AI 0.02 0.05 0.028 fp8 131k United States Unverified. No public page for this offer: listed, not designated cheapest
: Eden AI (opens in a new tab) No public price page for this model
10 Novitavia Kilo Gateway 0.02 0.05 0.028 –Unpublished 16k Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapestReduced context: Context window of this offer: 16,384 tokens; median of 14 offers for this model: 131,072 tokens.
11 Novitavia Vercel AI Gateway 0.02 0.05 0.028 fp8 16k Reduced context: Context window of this offer: 16,384 tokens; median of 14 offers for this model: 131,072 tokens.
12 DeepInfravia Requesty 0.02 0.05 0.028 fp8 131k United States Fee 5%: Requesty adds a 5% markup (read on requesty.ai/pricing on Nov 28). Offers are ranked with this fee included.
13 FlexAIvia Eden AI 0.05 0.08 0.058 fp8 131k Unverified. No public page for this offer: listed, not designated cheapest
: Eden AI (opens in a new tab) No public price page for this model
14 FlexAIvia Eden AI 0.05 0.08 0.058 fp8 131k European Union Unverified. No public page for this offer: listed, not designated cheapest
: Eden AI (opens in a new tab) No public price page for this model
15 Groqvia Hugging Face 0.05 0.08 0.058 –Unpublished 131k
16 Groqvia Kilo Gateway 0.05 0.08 0.058 –Unpublished 131k Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapest
17 Glama 0.05 0.08 0.058 –Unpublished 128k Unverified. No public page for this offer: listed, not designated cheapest
: Glama (opens in a new tab) No public price page for this model
18 Groqvia OpenRouter 0.05 0.08 0.058 –Unpublished 131k Fee 5.5%: OpenRouter adds a 5.5% fee when you buy credits (read on openrouter.ai/pricing on Nov 28). Offers are ranked with this fee included.
19 Cloudflare 0.045 0.38 0.13 fp8 –Unpublished
20 Cloudflare 0.12 0.27 0.16 int4 –Unpublished
21 Cloudflare 0.15 0.29 0.19 fp8 –Unpublished
22 Coreweavevia Hugging Face 0.22 0.22 0.22 bf16 131k
23 Amazon Bedrockvia Eden AI 0.22 0.22 0.22 –Unpublished 128k Unverified. No public page for this offer: listed, not designated cheapest
: Eden AI (opens in a new tab) No public price page for this model
24 Amazon Bedrockvia Kilo Gateway 0.22 0.22 0.22 –Unpublished 131k United States Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapest
25 Amazon Bedrockvia LLM API 0.22 0.22 0.22 –Unpublished –Unpublished Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapest

No training on promptsPrompts may be used for trainingTraining terms not published

backend not named. The router bills this price itself without naming who serves the model.

Show all 33 offers

1 flex or batch offer hidden (lower priority, variable latency).

Blended = (3 × input + output) / 4, per million tokens. Prices in USD, converted at the ECB rate when the provider bills in another currency.

Method

Monthly cost for your workload

Computed by the API for the three cheapest offers, per 30-day month.
  1. DeepInfra$1.80per month
  2. NanoGPT$1.80per month+$0.00 vs the cheapest
  3. Novita$1.95per month+$0.15 vs the cheapest

Host it yourself instead? See the break-even

Compare Llama 3.1 8B Instruct with

Related models

More from Meta

All Meta models

Same index family

Use this data

The index is queryable. The API is free to use.
Free API
curl https://api.inferindex.dev/cheapest?model=meta-llama/llama-3.1-8b-instruct
MCP server
claude mcp add --transport http inferindex https://mcp.inferindex.dev/mcp

Also works in Cursor and Codex: see the MCP page.

Base URLhttps://api.inferindex.dev/router/v1
from openai import OpenAI

client = OpenAI(
    base_url="https://api.inferindex.dev/router/v1",
    api_key="YOUR_INFERINDEX_KEY",
)

reply = client.chat.completions.create(
    model="meta-llama/llama-3.1-8b-instruct",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)
Base URL
https://api.inferindex.dev/router/v1
Model
meta-llama/llama-3.1-8b-instruct
Routes to
DeepInfra · $0.025
Format
OpenAI · Anthropic