impulse

Meta Llama 3.1 8B Instruct

Open weights
API id Meta-Llama-3.1-8B-Instruct
Input / 1M
$0.02
at Nebius AI Studio
Output / 1M
$0.06
at Nebius AI Studio
Context window
128K
tokens
Max output
128K
tokens per reply
Hosts
4
4 listings
Released
-
date not published

Pricing

List prices at Nebius AI Studio, in US dollars per million tokens.

TierInput / 1MOutput / 1M
Standard$0.02$0.06

What it costs a month

At Nebius AI Studio list prices, 30 days.

  • Chat assistant5,000 requests a day, 2K in / 0.5K out$10.50
  • RAG over documents2,000 requests a day, 8K in / 0.6K out$11.76
  • Coding agent1,000 requests a day, 40K in / 2K out$27.60
  • Overnight batch20,000 requests a day, 4K in / 0.4K out$62.40
Use your own numbers

Where to run it

4 hosts serve Meta Llama 3.1 8B Instruct. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
Meta-Llama-3.1-8B-Instruct
$0.02 / $0.06
DeepInfraInference
Meta-Llama-3.1-8B-Instruct
$0.03 / $0.05
+17% vs headline
HyperbolicInference
Meta-Llama-3.1-8B-Instruct
$0.12 / $0.30
+450% vs headline
databricks-meta-llama-3-1-8b-instruct
$0.15 / $0.45
+650% vs headline

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
Text
Produces
Text
Open weights
License: Llama Community License
Runtimes: Ollama, TGI, llama.cpp, vLLM

Cheaper alternatives

Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.

Same model, cheaper host

No host sells it for less than Nebius AI Studio.

Smaller Meta models

No cheaper Meta model keeps its key capabilities.

Other frontier labs

No cheaper match from another frontier lab.

Open-weight picks

Model line

Newer and older versions, at each lab's own price.

  1. UndatedMeta Llama 3.1 8B InstructLatest$0.02 / $0.06
  2. UndatedMeta Llama 3 8B Instruct$0.03 / $0.06

Call it

Using Nebius AI Studio's API.

Python
from litellm import completion

response = completion(
    model="nebius/Meta-Llama-3.1-8B-Instruct",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Quick answers

How much does Meta Llama 3.1 8B Instruct cost?

On Nebius AI Studio, Meta Llama 3.1 8B Instruct costs $0.02 per million input tokens and $0.06 per million output tokens.

Which APIs offer Meta Llama 3.1 8B Instruct?

Meta Llama 3.1 8B Instruct runs on 4 APIs: Nebius AI Studio, DeepInfra, Hyperbolic and Databricks.

What is Meta Llama 3.1 8B Instruct's context window?

128K tokens, with up to 128K tokens in one reply.

Is Meta Llama 3.1 8B Instruct being retired?

No retirement date is scheduled for it on any API we track.

Is there a newer version of Meta Llama 3.1 8B Instruct?

No. Meta Llama 3.1 8B Instruct is the newest model in its line.

What are cheaper alternatives to Meta Llama 3.1 8B Instruct?

Models that cost less and keep most of what it can do: Mistral Nemo Instruct 2407 on DeepInfra (2% less). Savings are on a mix of 3 input tokens to 1 output token.

What is Meta Llama 3.1 8B Instruct's API model id?

Use Meta-Llama-3.1-8B-Instruct with Nebius AI Studio. Other hosts use their own ids: databricks-meta-llama-3-1-8b-instruct on Databricks.

Sources

Raw catalog entry for Meta-Llama-3.1-8B-Instruct on Nebius AI Studio
{
  "max_input_tokens": 128000,
  "max_output_tokens": 128000,
  "input_cost_per_token": 2e-8,
  "output_cost_per_token": 6e-8,
  "litellm_provider": "nebius",
  "mode": "chat",
  "supports_function_calling": true,
  "source": "https://nebius.com/prices"
}