API pricing per million tokens
llama-3-1-70b-instruct Open weightsChecked 8h ago
- Input
- $0.4
- per 1M, DeepInfra (turbo)
- Output
- $0.4
- per 1M tokens
- Cached input
- n/a
- no batch tier listed
- Context
- 131K
- 16K max output
Where to buy it (2)
DeepInfraturbo, fp8$0.4 / $0.4$0.4 blended
AWS Bedrockdefault region$0.72 / $0.72$0.72 blended
Through a gateway
Your own numbers100M input and 20M output tokens a month: $48.00 direct.
Helicone$48.00+0%
Kong AI Gateway$48.00+0%
LiteLLM$48.00+0%
Vercel AI Gateway$48.00+0%
AWS Bedrock$48.00+0%
Azure AI Foundry$48.00+0%
Google Vertex AI$48.00+0%
Databricks Mosaic AI$48.00+0%
Hugging Face Inference$48.00+0%
Cloudflare AI Gateway$50.40+5%
Requesty$50.40+5%
Eden AI$50.64+5.5%
OpenRouter$50.64+5.5%
Snowflake Cortex AI$57.60+20%
Martian Gatewayn/a
Portkeyn/a
TrueFoundry AI Gatewayn/a
IBM watsonx.ain/a
OCI Generative AIn/a
BigQuery MLn/a
Cloudflare Workers AIn/a
NVIDIA NIMn/a
Related models
ModelInputOutputCachedContextReleased
Muse Spark 1.3Meta · 1M$1.25 / $4.25in / out per 1M$1.25$4.25$0.151MSep 2, 2026
Muse Spark 1.3 ContributorMeta · 1M$0.1 / $0.2in / out per 1M$0.1$0.2$0.0021MSep 2, 2026
Muse Spark 1.2 ContributorMeta · 1M$0.1 / $0.2in / out per 1M$0.1$0.2$0.0021MAug 21, 2026
Muse Glimmer 30BMeta · via Phala · 131K$0.3 / $1.1in / out per 1M$0.3$1.1$0.04131KAug 9, 2026
GLM 4.6Z.ai · via Venice (fp4) · 205K$0.43 / $1.75in / out per 1M$0.43$1.75$0.08205KSep 30, 2025
DeepSeek V4.1 FlashDeepSeek · 1M$0.15 / $0.6in / out per 1M$0.15$0.6$0.0031MSep 10, 2026
Gemini 3.1 Flash LiteGoogle Gemini API · 1M$0.25 / $1.5in / out per 1M$0.25$1.5$0.0251MMay 7, 2026
Gemini 3.1 Flash Lite PreviewGoogle Gemini API · 1M$0.25 / $1.5in / out per 1M$0.25$1.5$0.0251MMar 3, 2026
About Llama 3.1 70B Instruct
Meta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors.
Takes text in and returns text. First listed Sep 23, 2026. Blended price $0.4 per 1M tokens at 3 input to 1 output.
Questions
How much does Llama 3.1 70B Instruct cost?
$0.4 per million input tokens and $0.4 per million output tokens.
What is the context window of Llama 3.1 70B Instruct?
131K tokens, with up to 16K tokens of output.
Where is Llama 3.1 70B Instruct cheapest?
Of 2 routes tracked, DeepInfra is cheapest at $0.4 input and $0.4 output per million tokens.
List prices from providers' pages on the date shown; your contract may differ. Logos via logo.dev; trademarks belong to their owners.