Meta Llama 3.1 8B Instruct
Meta-Llama-3.1-8B-InstructPricing
List prices at Nebius AI Studio, in US dollars per million tokens.
| Tier | Input / 1M | Output / 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
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.
| Host | In / out per 1M | Model id | |
|---|---|---|---|
Nebius AI StudioInference Meta-Llama-3.1-8B-Instruct | $0.02 / $0.06 | Meta-Llama-3.1-8B-Instruct | |
DeepInfraInference Meta-Llama-3.1-8B-Instruct | $0.03 / $0.05 +17% vs headline | Meta-Llama-3.1-8B-Instruct | |
HyperbolicInference Meta-Llama-3.1-8B-Instruct | $0.12 / $0.30 +450% vs headline | Meta-Llama-3.1-8B-Instruct | |
DatabricksCloud databricks-meta-llama-3-1-8b-instruct | $0.15 / $0.45 +650% vs headline | databricks-meta-llama-3-1-8b-instruct |
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 LicenseRuntimes: 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
- 2% less
- 5% less
- 17% less
- 33% less
Model line
Newer and older versions, at each lab's own price.
- UndatedMeta Llama 3.1 8B InstructLatest$0.02 / $0.06
- UndatedMeta Llama 3 8B Instruct$0.03 / $0.06
Call it
Using Nebius AI Studio's API.
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"
}