Meta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors.
Ways to buy 1
| Way to buy | Input | Output | In / out per 1M | Cached | Vs cheapest |
|---|---|---|---|---|---|
Default region | $0.72 | $0.72 | $0.72 / $0.72Cheapest | n/a | Cheapest |
USD per 1M tokens. Regions are separate routes.
Through a gateway
Your own numbers100M input and 20M output tokens a month: $86.40 direct.
Kong AI Gateway$86.40+0%
LiteLLM$86.40+0%
Vercel AI Gateway$86.40+0%
Requesty$90.72+5%
Eden AI$91.15+5.5%
OpenRouter$91.15+5.5%
Cloudflare AI GatewayNot offeredNot offered
HeliconeNot offeredNot offered
Neon AI GatewayNot offeredNot offered
A dash: not on that gateway's own model list. No published token fee: Martian Gateway, Portkey, TrueFoundry AI Gateway.
Related models
| In / out per 1M | Cheapest route | |||||||
|---|---|---|---|---|---|---|---|---|
Meta · 1M | $1.25 | $4.25 | $1.25 / $4.25 | $2 | 1M | on Modal | · | Muse Spark Open is a coding-optimized open-weight model. |
Meta · 1M | $4 | $20 | $4 / $20 | $8 | 1M | Lab list price | · | Muse Wonder is a frontier reasoning model from Meta, designed for complex personal and professional agentic tasks. |
Meta · 1M | $1.25 | $4.25 | $1.25 / $4.25 | $2 | 1M | Lab list price | · | Muse Spark 1.3 is a multimodal reasoning model from Meta for long-running agentic, multi-agent, and coding workflows. |
Meta · 1M | $0.1 | $0.2 | $0.1 / $0.2 | $0.125 | 1M | Lab list price | · | Muse Spark 1.3 Contributor is the cost-efficient contributor tier of Meta’s multimodal reasoning model for experimentation, learning, and early-stage agentic, multi-agent, and coding workflows. |
Google · 1MCheapest: $0.75 on Google Gemini API (flex) | $0.75 | $3.75 | $0.75 / $3.75 | $1.5 | 1M | $0.75 on Google Gemini API (flex) | · | Gemini 3.8 Flash is Google's most intelligent Flash model with significant gains from 3.7 Flash across software engineering, agentic tasks, and multi-step reasoning. |
Google · 1MCheapest: $0.75 on Google Vertex AI (global-flex) | $0.75 | $3.75 | $0.75 / $3.75 | $1.5 | 1M | $0.75 on Google Vertex AI (global-flex) | · | Gemini 3.7 Flash is a multimodal model from Google for fast agentic workflows, coding, and complex multi-step reasoning. |
Z.ai · 1M | $0.179 | $1.4 | $0.179 / $1.4 | $0.484 | 1M | on Wafer (fp4) | · | GLM-5.3 is a large-scale reasoning model from Z.ai, built for complex software engineering and long-horizon agent tasks. |
Z.ai · 1M | $0.37 | $1.25 | $0.37 / $1.25 | $0.59 | 1M | Lab list price | · | GLM-5.3-FlashX-Legal (GLM-Legal) is Z.ai's legal-domain variant of GLM-5.3-FlashX, a native multimodal model that accepts text, image, and video input and produces text. |
About Llama 3.1 70B Instruct
Takes text in and returns text. First listed Sep 23, 2026. Up to 8K output tokens. Blended price $0.72 per 1M tokens at 3 input to 1 output. Model id llama-3-1-70b-instruct.
Price history
No list-price history: this model is sold by hosts rather than its lab.
Questions
How much does Llama 3.1 70B Instruct cost?
$0.72 per million input tokens and $0.72 per million output tokens.
What is the context window of Llama 3.1 70B Instruct?
131K tokens, with up to 8K tokens of output.