LLM Reference

Llama 2 13B Chat

Released
2023-07-18
Last refreshed
2026-05-16
Status
Researched 46d ago
Open SourceCodingClassificationJSON / 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
Training
finetuned
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. For more details, visit the model's Hugging Face page [1].

Llama 2 13B Chat is an open-source model in the Llama 2 family. The structured metadata tracks a 4k-token context window and structured outputs. This page tracks provider routes through Alibaba Cloud PAI-EAS, AWS Bedrock, Microsoft Foundry, and 8 more, with the cheapest tracked route listed at $0.1 input and $0.5 output per 1M tokens. Headline tracked benchmarks include Google-Proof Q&A 41.8, HellaSwag 88.5, and HumanEval 59.3.

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

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.
BenchmarkScoreVersionSource
Google-Proof Q&A41.8diamondhttps://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard
HellaSwag88.510-shothttps://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard
HumanEval59.3pass@1https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard
Massive Multitask Language Understanding71.25-shothttps://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard

Migration checks

No linked migration route is available for this model yet.

Rankings & picks(8)

Comparison and alternatives

Browse all comparisons →
Show all 24 popular comparisonssorted by 7-day search impressions