← Models
openrouter

Meta: Llama 3.1 8B Instruct

meta-llama/llama-3.1-8b-instruct

Model details

Model
meta-llama/llama-3.1-8b-instruct
Provider
openrouter
API
openai-completions
Base URL
https://openrouter.ai/api/v1
Input
text
Reasoning
No
Context window
131,072
Max tokens
117,964

Pricing

USD per million tokens.

Input
$0.05
Output
$0.08
Cache read
$0.025
Cache write
$0

A reference estimate. Provider pricing and context tiers may vary.

Session cost calculator

Estimate the model requests made during an agent session.

96%
Estimated session$0.02
Uncached input
$0.0040
Cache reads
$0.02
Cache writes
$0.0000
Output
$0.0012
Without caching
$0.04

25 model requests

The first request starts cold unless marked otherwise. Output is billed separately from context growth. Providers differ in eligibility, context tiers, rounding, and retention.

Compatibility flags

thinkingFormat
openrouter
supportsStrictMode
Yes
sendSessionAffinityHeaders
Yes