Llama 2 7B
Llama 2 7B is worth evaluating for coding and classification when its provider route and context window match the workload.
Use it for
- Teams evaluating coding and classification
- Workloads that can use a 4k context window
- Buyers comparing 1 tracked provider route
Do not use it for
- Vision or document-understanding workloads
- Strict JSON or tool-calling flows
- Family
- Llama 2
- Released
- 2023-07-18
- Context
- 4k
- Parameters
- 7B
- Architecture
- Decoder Only
- Knowledge cutoff
- 2022-09
- Specialization
- general
- Training
- finetuned
Large-scale open-source AI for social technologies.
Cheapest of 1 route · Fireworks AI
About
The Llama 2 7B model is a powerful generative text model developed by Meta, featuring 7 billion parameters and utilizing an optimized transformer architecture. Trained on 2 trillion tokens from diverse public sources, it excels in various NLP tasks, particularly dialogue applications. The model has been fine-tuned for helpfulness and safety using supervised fine-tuning (SFT) and reinforcement learning with human feedback (RLHF). It outperforms many open-source chat models and competes with popular closed-source alternatives. AI engineers can easily integrate this model into their projects for advanced natural language understanding and generation capabilities through Hugging Face .
Llama 2 7B is an open-source model in the Llama 2 family. The structured metadata tracks a 4k-token context window. This page tracks provider routes through Fireworks AI, with the cheapest tracked route listed at $0.2 input and $0.2 output per 1M tokens. Headline tracked benchmarks include Google-Proof Q&A 35.9, HellaSwag 85.1, and HumanEval 45.1.
Top use-case fit: coding, agents, and build tasks
Coding
Q/$ B1 relevant benchmark in the decision map.
Classification
Q/$ B2 relevant benchmarks in the decision map.
Provider price ladder
Compare API pricing across 1 providers for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Route |
|---|---|---|---|
| Fireworks AI | $0.200 | $0.200 | Serverless |
Capabilities
No model capability flags are currently sourced.
Benchmark peer barsfor Coding
Benchmark scores(4)
| Benchmark | Score | Version | Source |
|---|---|---|---|
| Google-Proof Q&A | 35.9 | diamond | research |
| HellaSwag | 85.1 | 10-shot | research |
| HumanEval | 45.1 | pass@1 | research |
| Massive Multitask Language Understanding | 63.5 | 5-shot | research |
Migration checks
No linked migration route is available for this model yet.