Join the beta

Meta · 2024-07-23

Llama 3.1 8B Instruct pricing

Meta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors.

Prices from OpenRouter’s models API, updated October 29, 2026

Input$0.05per 1M tokens
Output$0.08per 1M tokens
Cached input$0.02550% off input
Context131Ktools

What Llama 3.1 8B Instruct costs a month

WorkloadStandard
Support chatbot: 1,000 chats a day, 1,500 tokens in, 400 out$3.21
Daily summaries: 10,000 a day, 3,000 tokens in, 300 out$52.20
Coding agent: 400 calls a day, 60,000 tokens in (80% cached), 2,000 out$23.52

30 days. Cached input billed at the cache-read price. Use your own numbers.

Cheaper models with a similar context window

ModelProviderInput /1MOutput /1MCache read /1MContextChatbot, per month*
Ling 3.0 Flashinclusionai$0.021$0.063$0.0042262K$1.70

* Support chatbot: 1,000 chats a day, 1,500 tokens in, 400 out, 30 days, no caching. Prices in US dollars per 1M tokens.

Cheaper isn’t automatically as good. Glow’s GlowBench scores models on your kind of task before suggesting a swap.

Other Llama models

ModelInput /1MOutput /1MCache read /1MContextChatbot, per month*
Muse Spark Open$1.25$4.25$0.151.05M$107
Muse Wonder$4$20$0.201.05M$420
Muse Spark 1.3$1.25$4.25$0.151.05M$107
Muse Spark 1.3 Contributor$0.10$0.20$0.0021.05M$6.90
Muse Spark 1.2 Contributor$0.10$0.20$0.0021.05M$6.90
Muse Glimmer 30B$0.30$1.20$0.04131K$27.90

* Support chatbot: 1,000 chats a day, 1,500 tokens in, 400 out, 30 days, no caching. Prices in US dollars per 1M tokens.

Related

Llama 3.1 8B Instruct: questions

How much does Llama 3.1 8B Instruct cost?

$0.05 per 1M input tokens and $0.08 per 1M output tokens, with cached input at $0.025. A 1,000-token prompt with a 500-token answer costs about $0.0001.

What is Llama 3.1 8B Instruct’s context window?

131,072 tokens, with up to 117,964 output tokens per response.

Is there a cheaper alternative to Llama 3.1 8B Instruct?

Ling 3.0 Flash costs $0.021 in and $0.063 out per 1M tokens with a similar context window. Whether it matches Llama 3.1 8B Instruct’s quality depends on the task: test it on your own prompts (Glow’s GlowBench does this per task).

Know what each model really costs you.

Connect OpenRouter and Glow shows spend by model, key and product, and flags the swap that saves the most at the same quality.

One email when your invite is ready. No spam, unsubscribe any time.

  • Read-only keys
  • Never shown again
  • 2FA + Face ID
  • 7-day trial