Llama 2 13B Chat

Released
2023-07-18
Last refreshed
2026-10-09
Status
Researched 205d ago
Open weightsCommercial use: restrictedCodingClassificationJSON / Tool use
AI at Meta releases · 12 in the last 12 monthsChangelog →
Specifications
Family
Llama 2
Released
2023-07-18
Context
4K
Parameters
13B
Architecture
Decoder Only
Knowledge cutoff
2022-09
Specialization
general
Openness
Open weights
License
Llama 2 CommunityRestricted
Weights
Available
Code
Unknown
Training
Fine-tuned
Created by

Large-scale open-source AI for social technologies.

Menlo Park, California, United States
Founded 2013
Website
Pricing
Output / 1M
$0.200
Input / 1M
$0.200

Cheapest of 5 routes · Fireworks AI

About

The Llama 2 13B Chat model is a 13 billion parameter generative text model developed by Meta, optimized for conversational applications. Released on July 18, 2023, it's part of the Llama 2 family and excels in dialogue scenarios. The model leverages supervised fine-tuning (SFT) and reinforcement learning with human feedback (RLHF) to generate coherent and contextually relevant responses. Trained on 2 trillion tokens from diverse public sources, it outperforms many open-source chat models and matches popular closed-source models in helpfulness and safety. This model is ideal for AI engineers working on chatbots, virtual assistants, and customer service automation.

Providers(5)

Compare all 5

Compare API pricing across 5 tracked provider routes for input and output tokens, batch, and cached reads when available.

ProviderInput / 1MOutput / 1MRoute
Fireworks AI$0.200$0.200
Serverless
GCP Vertex AI$0.160$0.480
Serverless
Replicate API$0.100$0.500
Serverless
AWS Bedrock$0.750$1.00
Serverless
Alibaba Cloud PAI-EAS--
ServerlessPartial

Deprecated provider routes(6)

ProviderStatusCatalog ID
Microsoft Foundry
DeprecatedRetired June 30, 2025
—
DeepInfra
DeprecatedRetired May 7, 2026
meta-llama/Llama-2-13b-chat-hf
Lepton AI API
Deprecated
—
Together AI
DeprecatedRetired April 24, 2025
—
Databricks Foundation Model Serving
DeprecatedRetired February 27, 2026
—
IBM watsonx
DeprecatedRetired January 30, 2026
meta-llama/llama-2-13b-chat

Available via routers & gateways(15)

LiteLLM

Gateway

Open-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.

Free OSSGCP Vertex AIMicrosoft Foundry

OpenRouter

Hybrid

Unified hybrid gateway to 500+ models from 80+ providers via a single OpenAI-compatible API, with an optional Auto Router that selects a model per prompt from market spend data.

Passthrough + feeGCP Vertex AITogether AIFireworks AI

Portkey

Gateway

Production AI gateway routing to 1,600+ LLMs with failover, load balancing, caching, and guardrails; MIT-licensed open-source core is self-hostable. Now part of Palo Alto Networks as Prisma AIRS AI Gateway.

SubscriptionGCP Vertex AIMicrosoft Foundry

AIRouter

Router

Commercial LLM router (branded "AI Router" on its site) that picks the best model per request via a Decision API or an OpenAI-compatible Chat Completions endpoint, with a private selection mode that routes on anonymized patterns; sold as BYOK subscription plans priced by routed tokens.

SubscriptionGCP Vertex AI

Amazon Bedrock Intelligent Prompt Routing

Router

AWS Bedrock's native prompt router that predicts each model's performance per request and routes between two models of the same family (Anthropic Claude, Meta Llama or Amazon Nova).

Passthrough + feeAWS Bedrock

Azure AI Foundry Model Router

Router

Microsoft Azure AI Foundry's native model router that uses a trained ML model to route each prompt in real time to the optimal Azure-hosted model, with Balanced/Cost/Quality mode selection and automatic failover.

Passthrough + feeMicrosoft Foundry

Capabilities

Structured Outputs

Benchmark peer barsfor Coding

Benchmark scores(6)

Scores are benchmark-specific and are direction-aware: the same numeric gap can mean very different outcomes across suites. Use the leaderboard context and this model's provider route to decide whether the winning margin is meaningful for your workload.
BenchmarkScoreVersionEvaluationSource
41.8diamondObserved 2026-03-06—
88.510-shotObserved 2026-03-06—
59.3pass@1Observed 2026-03-06—
71.25-shotObserved 2026-03-06—
1142.0text_style_control overall 2026-10-22 (style control, default view)Observed 2026-10-26
Configuration: Llama 2 13B Chat
Harness: LMArena blind pairwise human votes, Bradley-Terry
Evaluator: LMArena
Confidence: confirmed
Notes: LMArena text style control leaderboard, overall category, published 2026-10-22 (HF lmarena-ai/leaderboard-dataset @9761a3ce, latest split). Board entry 'Llama 2 13B Chat': rank 385, Arena Score 1141.5 (95% CI 1134.8-1148.2), 19174 votes. Retrieved 2026-10-26.
Source

Source: LMArena (lmarena.ai), CC BY 4.0

1047.0text creative_writing 2026-10-22Observed 2026-10-22
Configuration: Llama 2 13B Chat
Harness: LMArena blind pairwise human votes, Bradley-Terry
Evaluator: LMArena
Confidence: confirmed
Notes: LMArena Text arena, Creative Writing category (no style control), board published 2026-10-22 (HF lmarena-ai/leaderboard-dataset @a467e6b9, text config, latest split). Board entry 'Llama 2 13B Chat' (category creative_writing in text/latest-00000-of-00001.parquet): rank 383 of 416, rating 1046.6 (95% CI 1034.2-1059.1), 3296 votes. Source: LMArena (CC BY 4.0). Retrieved 2026-10-27.
Source

Source: LMArena (lmarena.ai), CC BY 4.0

Migration checks

No linked migration route is available for this model yet.

Compare Llama 2 13B Chat with other models

Show all 24 popular comparisonssorted by 7-day search impressions