impulse

Llama 3.1 405B Instruct

Open weights
API id llama-v3p1-405b-instruct
Input / 1M
$3.00
at Fireworks AI
Output / 1M
$3.00
at Fireworks AI
Context window
131K
tokens
Max output
16K
tokens per reply
Hosts
4
4 listings
Released
-
date not published

Pricing

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

TierInput / 1MOutput / 1M
Standard$3.00$3.00

What it costs a month

At Fireworks AI list prices, 30 days.

  • Chat assistant5,000 requests a day, 2K in / 0.5K out$1,125
  • RAG over documents2,000 requests a day, 8K in / 0.6K out$1,548
  • Coding agent1,000 requests a day, 40K in / 2K out$3,780
  • Overnight batch20,000 requests a day, 4K in / 0.4K out$7,920
Use your own numbers

Where to run it

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

HostIn / out per 1M
Fireworks AIInference
llama-v3p1-405b-instruct
$3.00 / $3.00
Together AIInference
Llama-3.1-405B-Instruct
$3.50 / $3.50
+17% vs headline
llama-3.1-405b-instruct-maas
$5.00 / $16.00
+158% vs headline
meta.llama-3.1-405b-instruct
$10.68 / $10.68
+256% 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 Fireworks AI.

Smaller Meta models

Other frontier labs

  • GPT-6.1 Terra
    OpenAI · on OpenAI
    $1.00 / $5.00
    Has every key capability
    33% less
  • Gemini 3.8 Flash
    Google · on Google AI Studio
    $0.75 / $3.75
    Has every key capability
    50% less
  • Grok Build 0.1
    xAI · on xAI
    $1.00 / $2.00
    Has every key capability
    58% less
  • Claude Haiku 5.5
    Anthropic · on Anthropic
    $0.10 / $0.50
    Has every key capability
    93% less

Open-weight picks

  • Qwen4 Max
    Alibaba Qwen · on Together AI
    $1.43 / $4.28
    Has every key capability
    29% less
  • Inkling
    Independent · on DeepInfra
    $0.95 / $4.05
    Has every key capability
    43% less
  • GLM 5.3
    Zhipu AI · on CLF AI Gateway
    $0.56 / $1.76
    Has every key capability
    71% less
  • DeepSeek V4 Pro
    DeepSeek · on CLF AI Gateway
    $0.528 / $1.58
    Has every key capability
    74% less

Model line

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

  1. UndatedLlama 3.1 405B InstructLatest$3.00 / $3.00
  2. UndatedLlama3.1 405B Instruct$0.80 / $0.80
  3. UndatedLlama3 405B InstructNot listed

Call it

Using Fireworks AI's API.

Python
from litellm import completion

response = completion(
    model="fireworks_ai/llama-v3p1-405b-instruct",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Quick answers

How much does Llama 3.1 405B Instruct cost?

On Fireworks AI, Llama 3.1 405B Instruct costs $3.00 per million input tokens and $3.00 per million output tokens.

Which APIs offer Llama 3.1 405B Instruct?

Llama 3.1 405B Instruct runs on 4 APIs: Fireworks AI, Together AI, Vertex AI and Oracle OCI.

What is Llama 3.1 405B Instruct's context window?

131K tokens, with up to 16K tokens in one reply.

Is Llama 3.1 405B Instruct being retired?

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

Is there a newer version of Llama 3.1 405B Instruct?

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

What are cheaper alternatives to Llama 3.1 405B Instruct?

Models that cost less and keep most of what it can do: Muse Spark 1.3 on Meta Model API (33% less), GPT-6.1 Terra on OpenAI (33% less), Gemini 3.8 Flash on Google AI Studio (50% less) and Qwen4 Max on Together AI (29% less). Savings are on a mix of 3 input tokens to 1 output token.

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

Use llama-v3p1-405b-instruct with Fireworks AI. Other hosts use their own ids: Llama-3.1-405B-Instruct on Together AI, llama-3.1-405b-instruct-maas on Vertex AI, meta.llama-3.1-405b-instruct on Oracle OCI.

Sources

Raw catalog entry for llama-v3p1-405b-instruct on Fireworks AI
{
  "input_cost_per_token": 0.000003,
  "litellm_provider": "fireworks_ai",
  "max_input_tokens": 131072,
  "max_output_tokens": 16384,
  "mode": "chat",
  "output_cost_per_token": 0.000003,
  "source": "https://fireworks.ai/pricing",
  "supports_function_calling": true,
  "supports_response_schema": true,
  "supports_tool_choice": true
}