Model ComparisonMeta

Llama 3.1 8B

Llama 3.1 8B by Meta. Input: $0.050/M tokens · Output: $0.080/M tokens · 128K context window.

VisionTool usePrompt cachingReasoningFast
Pricing (verified 2026-08-19)
TypePrice / 1M tokensNotes
Input$0.050Per 1M input tokens
Output$0.080Per 1M output tokens
Source: Meta official pricing page · Last verified 2026-08-19
Context Window
128K tokens
96K words · 0 pages of text

Calculate your Llama 3.1 8B costs

Prompt Cost Calculator
Exact cost for your prompt
Agent Cost Calculator
Multi-step agent loops
Prompt Caching Calculator
Caching savings
Conversation Cost
Chat history strategies

Other Meta models

Llama 4 Maverick$0.27/MLlama 4 Scout$0.18/MLlama 3.3 70B$0.23/M

Pricing verified 2026-08-19 from Meta official pricing. All prices in USD per 1M tokens. See methodology and price changelog.