← All models

llama-3.1-8b

llamagate · chat model

llama-3.1-8b is listed here as a chat model from llamagate. This page shows simple API pricing, token limits, and capability flags so you can compare it with similar options.

Input
$0.0300 / 1M tokens
Output
$0.0500 / 1M tokens
Cached input
N/A
Context
8.2K

Quick read

Best for

Use this page when you need a fast view of cost, context size, and supported features before testing the model in your own workload.

Things to verify

Always check the provider page for discounts, cache pricing, region rules, and any model limits that may not appear in public metadata.

Pricing

Item Price
Input
$0.0300 / 1M tokens
Output
$0.0500 / 1M tokens
Embedding
$0.0300 / 1M tokens

Token limits

Context window
8.2K
Max input tokens
131.1K
Max output tokens
8.2K
Max tokens
8.2K

Capabilities

Capability Supported
Vision
Function calling
Parallel function calling
Tool choice
Prompt caching
Reasoning
Response schema
System messages
Audio input
Audio output
Web search
PDF input
Video input

Benchmarks

Most benchmark rows are attached to the base model family rather than this provider route. Open benchmark explorer

Benchmark Score Metric Scope Checked Source
MMLU (CoT) 88.6 macro_avg/acc Base model: Llama 3.1 (Llama 3.1 405B Instruct) 2026-05-31 Link
MMLU-Pro (CoT) 73.3 macro_avg/acc Base model: Llama 3.1 (Llama 3.1 405B Instruct) 2026-05-31 Link
GPQA Diamond 49.0 acc Base model: Llama 3.1 (Llama 3.1 405B Instruct) 2026-05-31 Link
HumanEval 89.0 pass@1 Base model: Llama 3.1 (Llama 3.1 405B Instruct) 2026-05-31 Link
MATH (CoT) 73.8 sympy_intersection_score Base model: Llama 3.1 (Llama 3.1 405B Instruct) 2026-05-31 Link
MMLU 85.2 macro_avg/acc_char Base model: Llama 3.1 (Llama 3.1 405B) 2026-05-31 Link
MMLU-Pro (CoT) 61.6 macro_avg/acc_char Base model: Llama 3.1 (Llama 3.1 405B) 2026-05-31 Link
AGIEval English 71.6 average/acc_char Base model: Llama 3.1 (Llama 3.1 405B) 2026-05-31 Link
MMLU 87.3 macro_avg/acc Base model: Llama 3.1 (Llama 3.1 405B Instruct) 2026-05-31 Link
MMLU (CoT) 88.6 macro_avg/acc Base model: Llama 3.1 (Llama 3.1 405B Instruct) 2026-05-31 Link
MMLU-Pro (CoT) 73.3 micro_avg/acc_char Base model: Llama 3.1 (Llama 3.1 405B Instruct) 2026-05-31 Link
IFEval 88.6 Base model: Llama 3.1 (Llama 3.1 405B Instruct) 2026-05-31 Link
ARC-Challenge 96.9 acc Base model: Llama 3.1 (Llama 3.1 405B Instruct) 2026-05-31 Link
GPQA 50.7 em Base model: Llama 3.1 (Llama 3.1 405B Instruct) 2026-05-31 Link
MMLU 69.4% macro_avg/acc Base model: Llama 3.1 (Llama-3.1-8B-Instruct) 2026-05-31 Link
MMLU 83.6% macro_avg/acc Base model: Llama 3.1 (Llama-3.1-70B-Instruct) 2026-05-31 Link
HumanEval 72.6% pass@1 Base model: Llama 3.1 (Llama-3.1-8B-Instruct) 2026-05-31 Link
HumanEval 80.5% pass@1 Base model: Llama 3.1 (Llama-3.1-70B-Instruct) 2026-05-31 Link
GSM8K (CoT) 84.5% em_maj1@1 Base model: Llama 3.1 (Llama-3.1-8B-Instruct) 2026-05-31 Link
GSM8K (CoT) 95.1% em_maj1@1 Base model: Llama 3.1 (Llama-3.1-70B-Instruct) 2026-05-31 Link
BFCL 76.1% acc Base model: Llama 3.1 (Llama-3.1-8B-Instruct) 2026-05-31 Link
BFCL 84.8% acc Base model: Llama 3.1 (Llama-3.1-70B-Instruct) 2026-05-31 Link
Artificial Analysis Intelligence Index 12.2 score Base model: llama-3.1 (meta-llama/llama-3.1-70b-instruct) 2026-05-31 Link
Artificial Analysis Coding Index 10.9 score Base model: llama-3.1 (meta-llama/llama-3.1-70b-instruct) 2026-05-31 Link
Artificial Analysis Agentic Index 5.1 score Base model: llama-3.1 (meta-llama/llama-3.1-70b-instruct) 2026-05-31 Link

Sources

Source links
Pricing data LiteLLM model cost map
Synced at 2026-05-28

Similar models

This list is ranked by overall similarity. Use filters to emphasize the lens that matters most for the replacement you are making.

Comparing from
Model Cost Input shape Features Context Why it is close
llama-3.1-8b
llamagate
In $0.0300 / 1M tokens
Out $0.0500 / 1M tokens
Output: unknown
Function callingResponse schema
8.2K
Current model
Reference row

Overall blends cost, modality overlap, capabilities, and context.

Model Cost Input shape Features Context Why it is close
llama-3.2-3b
llamagate
In $0.0400 / 1M tokens
Out $0.0800 / 1M tokens
Output: unknown
Function callingResponse schema
8.2K
Same provider
Overall 54%
nova-micro
vercel_ai_gateway
In $0.0350 / 1M tokens
Out $0.1400 / 1M tokens
text
Output: text
Function callingResponse schema
8.2K
Partial I/O overlap
Overall 52%
qwen3-8b
llamagate
In $0.0400 / 1M tokens
Out $0.1400 / 1M tokens
Output: unknown
Function callingResponse schema
8.2K
Same provider
Overall 51%
qwen2.5-coder-7b
llamagate
In $0.0600 / 1M tokens
Out $0.1200 / 1M tokens
Output: unknown
Function callingResponse schema
8.2K
Same provider
Overall 49%
gemma3-4b
llamagate
In $0.0300 / 1M tokens
Out $0.0800 / 1M tokens
Output: unknown
Function callingResponse schema
8.2K
Same provider
Overall 48%
dolphin3-8b
llamagate
In $0.0800 / 1M tokens
Out $0.1500 / 1M tokens
Output: unknown
Function callingResponse schema
8.2K
Same provider
Overall 47%
mistral-7b-v0.3
llamagate
In $0.1000 / 1M tokens
Out $0.1500 / 1M tokens
Output: unknown
Function callingResponse schema
8.2K
Same provider
Overall 46%
llama-3.2-3b
vercel_ai_gateway
In $0.1500 / 1M tokens
Out $0.1500 / 1M tokens
text
Output: text
Function callingResponse schema
8.2K
Partial I/O overlap
Overall 45%
deepseek-coder-6.7b
llamagate
In $0.0600 / 1M tokens
Out $0.1200 / 1M tokens
Output: unknown
Function callingResponse schema
4.1K
Same provider
Overall 42%
Meta-Llama-3-8B-Instruct
deepinfra
In $0.0300 / 1M tokens
Out $0.0600 / 1M tokens
text
Output: text
Function calling
8.2K
Partial I/O overlap
Overall 42%
llama-3.1-8b
vercel_ai_gateway
In $0.0500 / 1M tokens
Out $0.0800 / 1M tokens
text
Output: text
Function callingResponse schema
131.1K
Partial I/O overlap
Overall 38%
L3-8B-Lunaris-v1-Turbo
deepinfra
In $0.0400 / 1M tokens
Out $0.0500 / 1M tokens
text
Output: text
Low overlap
8.2K
Partial I/O overlap
Overall 33%
Meta-Llama-3.1-8B-Instruct
deepinfra
In $0.0300 / 1M tokens
Out $0.0500 / 1M tokens
text
Output: text
Function calling
131.1K
Partial I/O overlap
Overall 29%
llama-3.2-3b-instruct
novita
In $0.0300 / 1M tokens
Out $0.0500 / 1M tokens
text
Output: text
Function calling
32.0K
Partial I/O overlap
Overall 29%
llama-3.1-8b-instruct
novita
In $0.0200 / 1M tokens
Out $0.0500 / 1M tokens
text
Output: text
Low overlap
16.4K
Partial I/O overlap
Overall 25%
hermes3-8b
lambda_ai
In $0.0250 / 1M tokens
Out $0.0400 / 1M tokens
Output: unknown
Function calling
131.1K
Partial I/O overlap
Overall 22%