Meta-Llama-3.1-8B-Instruct-Turbo pricing

Meta-Llama-3.1-8B-Instruct-Turbo, Small-tier from DeepInfra, costs $0.02 per 1M input tokens and $0.04 per 1M output tokens.

verified at the provider's own pricing page

Input$0.02per 1M tokens
Output$0.04per 1M tokens
Context window128Ktokens
TierSmallDeepInfra

Price your own workload against Meta-Llama-3.1-8B-Instruct-Turbo in the calculator →

Specs and pricing

ProviderDeepInfra
TierSmall
Context window128K tokens
Max output—
Input price$0.02 / 1M tokens
Output price$0.04 / 1M tokens
Modalitiestext

Note. Cheapest usable small model listed; context on page shown as '128k'.

What it costs at realistic volumes

Assuming a 4:1 input:output token ratio, a common shape for chat and RAG-style workloads:

Volume (4:1 in:out ratio)Input costOutput costTotal / month
1,000,000 in / 250,000 out$0.02$0.01$0.03
10,000,000 in / 2,500,000 out$0.20$0.10$0.30
100,000,000 in / 25,000,000 out$2.00$1.00$3.00

Cheaper alternatives

Same tier (Small), a different provider, and a lower blended cost at the 4:1 ratio used above:

No same-tier model from another provider is cheaper than Meta-Llama-3.1-8B-Instruct-Turbo at a 4:1 input:output ratio, as of 2026-08-29.