Llama 3.1 405B
Amazon Bedrock token pricing and cost optimization reference for Llama 3.1 405B.Rates normalized to USD per 1 Million Tokens ($/1M) with prompt caching and batch API discounts across 3 AWS regions.
meta.llama-3-1-405b-v1:0On Google Cloud Vertex AI
The same model is sold through Vertex AI at one global rate per price type. These are Google's published rates, not the AWS rates above; both hosts are shown because the model is sold on both.
| Rate | Vertex AI, USD per 1M tokens |
|---|---|
| Input | $5.00 |
| Output | $16.00 |
| Cache read | β |
| Batch input | β |
| Batch output | β |
| Input, long context | β |
| Output, long context | β |
| Output, thinking | β |
Vertex AI rates are global: Google publishes one rate covering every region where the model runs, against the per-region AWS prices above. A dash means Google publishes no rate for that price type.
Alternatives to Llama 3.1 405B
| Option | Price vs Llama 3.1 405B | Why look at it |
|---|---|---|
| Llama 3.1 70B Latency OptimizedCompare → | input-62%-$1.50/1M output-62%-$1.50/1M Standard tier, per 1M tokens | Next step down in price from Meta (balanced tier) |
| Llama 3.1 405B Latency OptimizedCompare → | input+25%+$0.60/1M output+25%+$0.60/1M Standard tier, per 1M tokens | Next step up in price from Meta |
| Llama 3 70BCompare → | input+10%+$0.25/1M output+46%+$1.10/1M Standard tier, per 1M tokens | Same Llama line, different version (balanced tier) |
| Llama 3.3 70BCompare → | input-70%-$1.68/1M output-70%-$1.68/1M Standard tier, per 1M tokens | Also from Meta (balanced tier) |
Llama 3.1 405B Spend Estimator
Model inference spend by prompt volume, cache hit rate, and batch processing.
Key Cost Levers & Architecture
Practical mechanisms to reduce inference costs with Llama 3.1 405B on AWSCaches repetitive system instructions, schemas, and document prefixes in memory with 5-minute and extended 1-hour TTL tiers.
- Read Rate: $0.60 / 1M tokens
- Write Rate (5m TTL): $3.00 / 1M tokens
- Ideal for: Multi-turn conversations, RAG document queries, structured schemas
Asynchronous bulk processing submitted via Amazon S3 with a standard 24-hour turnaround SLA.
- Batch Input: $1.20 / 1M tokens
- Batch Output: $1.20 / 1M tokens
- Ideal for: Offline classification, synthetic data generation, benchmark evals
AWS Bedrock supports standard on-demand inference, priority reserved throughput, and cross-region routing.
- Standard: Lowest latency, pay-per-token with zero commitments
- Cross-Region Routing: Automatically burst traffic to available regional capacity
- GovCloud: Dedicated isolated compliance partitions with +20% uplift
Rates by region
Live rates across all 3 available AWS cloud regions| AWS Region | Prompt Input $/1M | Completion Output $/1M | Cache Read $/1M | Batch Input $/1M | Pricing Tier |
|---|---|---|---|---|---|
| us-east-1 US East (N. Virginia) | $1.20 | $1.20 | β | $1.20 | Baseline |
| us-west-2 US West (Oregon) | $2.40 | $2.40 | β | $1.20 | +100% vs Baseline |
| us-east-2 US East (Ohio) | $2.40 | $2.40 | β | $1.20 | +100% vs Baseline |
Developer Quickstart
Invoke Llama 3.1 405B via Amazon Bedrock Converse APIimport boto3
# Amazon Bedrock Converse API invocation
client = boto3.client("bedrock-runtime", region_name="us-east-1")
response = client.converse(
modelId="meta.llama-3-1-405b-v1:0",
messages=[
{
"role": "user",
"content": [{"text": "Summarize key features and cost levers of Llama 3.1 405B."}]
}
],
inferenceConfig={
"maxTokens": 1024,
"temperature": 0.7
}
)
output_text = response["output"]["message"]["content"][0]["text"]
usage = response["usage"]
print(f"Response: {output_text}")
print(f"Usage: {usage['inputTokens']} in, {usage['outputTokens']} out")