Model Comparison → Meta

Llama 3.1 8B

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

✗ Vision✓ Tool use✗ Prompt caching✗ ReasoningFast
Pricing (verified 2026-10-23)
TypePrice / 1M tokensNotes
Input$0.050Per 1M input tokens
Output$0.080Per 1M output tokens
Source: Meta official pricing page · Last verified 2026-10-23
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-10-23 from Meta official pricing. All prices in USD per 1M tokens. See methodology and price changelog.