InferIndex
Language, English, EN
Account

ModelsMetaLlama 3.1 8B Instruct

Llama 3.1 8B Instruct

meta-llama/llama-3.1-8b-instruct131k context Compare →
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.093
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.418
Offers
37
Providers
15

Cheapest right now

DeepInfra

The provider's published policy: prompts are not used for training.

directYou buy access straight from the company that runs the model on its servers. · fp8 · 131k

$0.025 blended / 1M tokens

No change7D
in
$0.02
out
$0.04
Cached input
–

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). #342 of 419Best rank in the source's rank spread, 342nd to 349th, given the confidence intervals of all ranked models. 346th 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 28 Oct 2026; the presentation is ours

Llama 3.1 8B Instruct costs from $0.025 per million tokens (at a 3:1 input:output mix): the cheapest of 14 comparable offers, at DeepInfra, checked on ; 37 offers are listed.

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 (23)

  • $0.025 · DeepInfra via Eden AI · cannot be designated the cheapest
  • $0.025 · DeepInfra via Kilo Gateway · cannot be designated the cheapest
  • $0.028 · DeepInfra via Eden AI · cannot be designated the cheapest
  • $0.028 · DeepInfra via Hugging Face · another route of the same provider
  • $0.028 · FlexAI via Eden AI · cannot be designated the cheapest
  • $0.028 · Novita via Hugging Face · another route of the same provider
  • $0.028 · Novita via Kilo Gateway · cannot be designated the cheapest
  • $0.028 · Novita via LLM API · cannot be designated the cheapest
  • $0.028 · Novita via Vercel AI Gateway · another route of the same provider
  • $0.028 · DeepInfra via Requesty · another route of the same provider
  • $0.028 · Novita via OpenRouter · another route of the same provider
  • $0.05 · Novita via Requesty · another route of the same provider
  • $0.058 · Groq via Kilo Gateway · cannot be designated the cheapest
  • $0.058 · Glama via Glama · cannot be designated the cheapest
  • $0.058 · Martian via Martian · cannot be designated the cheapest
  • $0.058 · Nous Portal via Nous Portal · cannot be designated the cheapest
  • $0.15 · Arkanecloud via Eden AI · cannot be designated the cheapest
  • $0.186 · Cloudflare via Eden AI · cannot be designated the cheapest
  • $0.186 · Cloudflare via Kilo Gateway · cannot be designated the cheapest
  • $0.186 · Cloudflare 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 LLM API · cannot be designated the cheapest
  • $0.22 · CoreWeave via Kilo Gateway · cannot be designated the cheapest

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-02$0.025, DeepInfra–
2026-10-03$0.025, DeepInfra–
2026-10-04$0.025, DeepInfra–
2026-10-05$0.025, DeepInfra–
2026-10-06$0.025, DeepInfra–
2026-10-07$0.025, DeepInfra–
2026-10-08$0.025, DeepInfra–
2026-10-09$0.025, DeepInfra–
2026-10-10$0.025, DeepInfra–
2026-10-11$0.025, DeepInfra–
2026-10-12$0.025, DeepInfra–
2026-10-13$0.025, DeepInfra–
2026-10-14$0.025, DeepInfra–
2026-10-15$0.025, DeepInfra–
2026-10-16$0.025, DeepInfra–
2026-10-17$0.025, DeepInfra–
2026-10-18$0.025, DeepInfra–
2026-10-19$0.025, DeepInfra–
2026-10-20$0.025, DeepInfra–
2026-10-21$0.025, DeepInfra–
2026-10-22$0.025, DeepInfra–
2026-10-23$0.025, DeepInfra–
2026-10-24$0.025, DeepInfra–
2026-10-25$0.025, DeepInfra–
2026-10-26$0.025, DeepInfra–
2026-10-27$0.025, DeepInfra–
2026-10-28$0.025, DeepInfra–
2026-10-29$0.025, DeepInfra–
2026-10-30$0.025, DeepInfra–
2026-10-31$0.025, DeepInfra–

Cheapest offer

Offers

37 of 37 offers

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 $/1MOutput $/1MBlended $/1MA 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  0.025 fp8 131k United States
2 NanoGPT 0.02  0.04  0.025 – 131k Price drop observed: The blended price is 60% lower than before this drop; possibly temporary. · Price drop observed since Oct 18, 2026
3 DeepInfravia Eden AI 0.02  0.04  0.025 fp8 131k United States Unverified. No public page for this offer: listed, not designated cheapest
4 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
5 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 Oct 31). Offers are ranked with this fee included.
6 Novita 0.02  0.05  0.028 fp8 16k
7 DeepInfravia Eden AI 0.02  0.05  0.028 fp8 131k United States Unverified. No public page for this offer: listed, not designated cheapest
8 DeepInfravia Hugging Face 0.02  0.05  0.028 fp8 131k United States
9 FlexAIvia Eden AI 0.02  0.05  0.028 fp8 131k Unverified. No public page for this offer: listed, not designated cheapestPrice drop observed: The blended price is 52% lower than before this drop; possibly temporary. · Price drop observed since Sep 24, 2026
10 Novitavia Hugging Face 0.02  0.05  0.028 fp8 16k
11 Novitavia Kilo Gateway 0.02  0.05  0.028 fp8 16k Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapest
12 Novitavia LLM API 0.02  0.05  0.028 fp8 – Unconfirmed. Last checked 18 October 2026: the last published value, not a confirmed one Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapest
13 Novitavia Vercel AI Gateway 0.02  0.05  0.028 fp8 16k
14 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 Oct 31). Offers are ranked with this fee included.
15 Novitavia OpenRouter 0.02  0.05  0.028 fp8 16k Fee 5.5%: OpenRouter adds a 5.5% fee when you buy credits (read on openrouter.ai/pricing on Oct 31). Offers are ranked with this fee included.
16 Novitavia Requesty 0.05  0.05  0.05  fp8 16k Fee 5%: Requesty adds a 5% markup (read on requesty.ai/pricing on Oct 31). Offers are ranked with this fee included.
17 Featherless 0.05  0.08  0.058 – 33k
18 Groqvia Kilo Gateway 0.05  0.08  0.058 – 131k Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapest
19 Glama 0.05  0.08  0.058 – 128k Unverified. No public page for this offer: listed, not designated cheapest
20 Martian 0.05  0.08  0.058 – – worldwide Unverified. Neither seller nor price found on its page for 72 hours: listed, not designated cheapest
21 Nous Portal 0.05  0.08  0.058 – 131k Unverified. Neither seller nor price found on its page for 72 hours: listed, not designated cheapestPrice changes often: 9 price changes in 7 days. Over that period: input $0.02 – $0.05, output $0.04 – $0.08 per million tokens. An offer whose price changes this often is not selected as the cheapest.
22 Groqvia OpenRouter 0.05  0.08  0.058 – 131k Fee 5.5%: OpenRouter adds a 5.5% fee when you buy credits (read on openrouter.ai/pricing on Oct 31). Offers are ranked with this fee included.
23 Nscalevia Hugging Face 0.06  0.06  0.06  – 131k
24 CloudFerro 0.112 0.168 0.126 – – European Union
25 Cloudflare 0.045 0.384 0.13  fp8 –
26 Arkanecloudvia Eden AI 0.15  0.15  0.15  – 131k Unverified. No public page for this offer: listed, not designated cheapest
27 Cloudflare 0.123 0.266 0.159 int4 –
28 Cloudflare 0.152 0.287 0.186 fp8 –
29 Cloudflarevia Eden AI 0.152 0.287 0.186 fp8 32k Unverified. No public page for this offer: listed, not designated cheapest
30 Cloudflarevia Kilo Gateway 0.152 0.287 0.186 fp8 32k Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapest
31 Cloudflarevia OpenRouter 0.152 0.287 0.186 fp8 32k Fee 5.5%: OpenRouter adds a 5.5% fee when you buy credits (read on openrouter.ai/pricing on Oct 31). Offers are ranked with this fee included.
32 Amazon Bedrockvia Eden AI 0.22  0.22  0.22  – 128k Unverified. No public page for this offer: listed, not designated cheapest
33 Amazon Bedrockvia LLM API 0.22  0.22  0.22  – – Unconfirmed. Last checked 18 October 2026: the last published value, not a confirmed one Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapest
34 Amazon Bedrockvia Vercel AI Gateway 0.22  0.22  0.22  – 128k
35 CoreWeavevia Kilo Gateway 0.22  0.22  0.22  bf16 131k Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapest
36 CoreWeavevia OpenRouter 0.22  0.22  0.22  bf16 131k Fee 5.5%: OpenRouter adds a 5.5% fee when you buy credits (read on openrouter.ai/pricing on Oct 31). Offers are ranked with this fee included.
37 Cloudflare 0.282 0.827 0.418 – –

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 the 25 cheapest only

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. NanoGPT$1.80per month
  2. DeepInfra$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.