LLM Reference

Llama 2 13B Chat

Released
2023-07-18
Last refreshed
2026-07-09
Status
Researched 136d ago
Open weightsCommercial use: conditionalCodingClassificationJSON / Tool use

Llama 2 13B Chat is worth evaluating for coding, classification, and json / tool use when its provider route and context window match the workload.

Use it for

  • Teams evaluating coding, classification, and json / tool use
  • Workloads that can use a 4k context window
  • Buyers comparing 4 tracked provider routes

Do not use it for

  • Vision or document-understanding workloads
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 CommunityCommercial use: conditional
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.130
Input / 1M
$0.130

Cheapest of 11 routes · DeepInfra

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.

Top use-case fit: coding, agents, and build tasks

Coding

Q/$ A

1 relevant benchmark in the decision map.

Classification

Q/$ A

2 relevant benchmarks in the decision map.

JSON / Tool use

Included by capability and metadata signals in the decision map.

Provider price ladder

Compare all 11

Compare API pricing across 4 providers for input and output tokens, batch, and cached reads when available.

ProviderInput / 1MOutput / 1MRoute
DeepInfra$0.130$0.130
Serverless
Lepton AI API$0.130$0.130
Serverless
Fireworks AI$0.200$0.200
Serverless
Together AI$0.300$0.300
Serverless

Available via routers & gateways(15)

Capabilities

Structured Outputs

Benchmark peer barsfor Coding

Benchmark scores(4)

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
Google-Proof Q&A41.8diamondObserved 2026-03-06Source
HellaSwag88.510-shotObserved 2026-03-06Source
HumanEval59.3pass@1Observed 2026-03-06Source
Massive Multitask Language Understanding71.25-shotObserved 2026-03-06Source

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