Llama 3.1 8B Instruct (fp8-fast) pricing

Llama 3.1 8B Instruct (fp8-fast), Small-tier from Cloudflare Workers AI, costs $0.045 per 1M input tokens and $0.384 per 1M output tokens.

verified at the provider's own pricing page

Input$0.045per 1M tokens
Output$0.384per 1M tokens
Context window—tokens
TierSmallCloudflare Workers AI

Price your own workload against Llama 3.1 8B Instruct (fp8-fast) in the calculator →

Specs and pricing

ProviderCloudflare Workers AI
TierSmall
Context window—
Max output—
Input price$0.045 / 1M tokens
Output price$0.384 / 1M tokens
Modalitiestext

Note. Model id @cf/meta/llama-3.1-8b-instruct-fp8-fast. Neuron-equivalent: 4119 neurons per M input tokens, 34868 neurons per M output tokens.

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.04$0.10$0.14
10,000,000 in / 2,500,000 out$0.45$0.96$1.41
100,000,000 in / 25,000,000 out$4.50$9.60$14.10

Cheaper alternatives

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

ModelProvider$/1M in$/1M outAt the 4:1 ratio
Meta-Llama-3.1-8B-Instruct-TurboDeepInfra$0.02$0.0478.7% cheaper blended
Solar Pro 4OpenRouter$0.03$0.1257.4% cheaper blended
GPT-OSS 20BOpenRouter$0.03$0.1355.7% cheaper blended
schematron-v2-turboinference.net$0.03$0.1552.1% cheaper blended
Amazon Nova MicroAmazon (Nova)$0.035$0.1450.4% cheaper blended