Skip to content

Where to run Meta: Llama 3.1 8B Instruct

meta-llama/llama-3.1-8b-instruct · meta-llama/Meta-Llama-3.1-8B-Instruct on Hugging Face (opens in a new tab)

  • Open weights
  • 131,072-token context
  • Text in · Text out
  • OpenRouter default route $0.05 in / $0.08 out per 1M tokens

Prices checked on OpenRouter

API providers
4
Routes listed on OpenRouter
Cheapest input / 1M tokens
$0.02
DeepInfra · $0.04 output
Self-hosting
Possible
Open weights on Hugging Face

API providers

Each provider route OpenRouter sells for this model, cheapest input first. Prices are OpenRouter's, in US dollars per million tokens, excluding tax; the same provider can charge a different price directly.

Open on OpenRouter
API providers for Meta: Llama 3.1 8B Instruct with price per million tokens
ProviderInput / 1MOutput / 1M
DeepInfrafp8Cheapest input$0.02$0.04
Groq$0.05$0.08
Amazon Bedrock$0.22$0.22
CoreWeavebf16$0.22$0.22

Self-host on a cloud GPU

Complete bills on the GPU offers that can hold the weights, lowest first, for a standard chat workload. A memory verdict stays “Fit unknown” until the runtime's own overhead is known; every row shows it. Change the workload to rerun it with your context, precision and running time.

Too many estimates at once

Try again in 54 seconds.

Open the estimator