Llama 3.1 405B is Meta's language model with a 128K context window and up to 16K output tokens, available from 2 providers, starting at $1.20 / 1M input and $1.20 / 1M output. Meta's flagship 405B-parameter pre-trained LLM in the Llama 3.1 series, offering frontier-scale text generation with FP8 precision support.
Specifications
Canonical IDmeta-llama-3-1-405b
TypeLanguage
StatusActive
CreatorMetaMeta
Providers
Context Window128K tokens
Max Output16K tokens
Input ModalitiesText
Output ModalitiesText
Parameters405B

Capabilities

Input1/5
Text✓
Image·
Audio·
Video·
PDF·
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities1/13
Reasoning·
Adaptive Reasoning·
Function Calling✓
Parallel Function Calling·
Structured Outputs·
Native JSON Schema·
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching·
Assistant Prefill·

Pricing by Provider

US Dollar ($)
Per 1M tokens
ProviderStandard
Input
$ / 1M
Output
$ / 1M
Google Vertex AI logo
Google Vertex AI
llama3-1-405b
$5.00$16.00
Snowflake logo
Snowflake
snowflake/llama3.1-405b
$1.20$1.20

Cost Calculator

US Dollar ($)
Preset:

Cheapest Instances to Run It

Cloud GPU instances that can host Llama 3.1 405B, ranked by cheapest on-demand price. The model needs about 972 GB of GPU memory at FP16 precision (estimated from its parameter count), so treat the fit as guidance rather than a guarantee.

All clouds
FP16 (full precision)
US Dollar ($)
Instance
Cloud
GPU
VRAM
Price
Cheapest region
Standard_ND96is_MI300X_v5Azure8× AMD Instinct MI300X GPU (192GB)1536 GB$48.00/hr
Standard_ND96isr_MI300X_v5Azure8× AMD Instinct MI300X1536 GB$48.00/hr
p5en.48xlargeAWS8× H2001128 GB$63.30/hr
5 more instances can run Llama 3.1 405B
Unlock the full ranked list and FP8 / INT4 quantization with a CloudPrice subscription.

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
Llama 3.3 70B Instruct131K$0.120$0.200Deprecated
Llama 3.2 3B Instruct131K$0.015$0.020Deprecated
Llama 3.2 1B Instruct131K$0.020$0.020Deprecated
Llama 3.1 405B Instruct131K$0.120$0.300Deprecated
Llama 3.1 8B Instruct200K$0.020$0.030Deprecated
Llama 3.1 70B Instruct131K$0.100$0.100Deprecated
Llama 3.1 70B128K$0.360$0.360Available
Llama 3.1 8B131K$0.030$0.050Available
Llama 3 70B Instruct131K$0.120$0.300Deprecated
Llama 3 8B Instruct32K$0.030$0.040Deprecated
Llama 3.1 405B—128K$1.20$1.20Current

Model IDs

meta-llama-3-1-405b
meta-textgeneration-llama-3-1-405b-fp8
snowflake/llama3.1-405b
snowflake/snowflake-llama-3.1-405b