Llama 2 7B
- Family
- Llama 2
- Released
- 2023-07-18
- Context
- 4K
- Parameters
- 7B
- Architecture
- Decoder Only
- Knowledge cutoff
- 2022-09
- Specialization
- general
- Openness
- Open weights
- License
- Llama 2 CommunityRestricted
- Weights
- Available
- Code
- Unknown
- Training
- Fine-tuned
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 .
Providers(1)
Compare API pricing across 1 tracked provider route for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Route |
|---|---|---|---|
| Fireworks AI | $0.200 | $0.200 | Serverless |
Available via routers & gateways(1)
Capabilities
No model capability flags are currently sourced.
Benchmark peer barsfor Coding
Benchmark scores(4)
| Benchmark | Score | Version | Evaluation | Source |
|---|---|---|---|---|
| 35.9 | diamondObserved 2026-03-06 | — | research | |
| 85.1 | 10-shotObserved 2026-03-06 | — | research | |
| 45.1 | pass@1Observed 2026-03-06 | — | research | |
| 63.5 | 5-shotObserved 2026-03-06 | — | research |
Migration checks
No linked migration route is available for this model yet.
Compare Llama 2 7B with other models
Comparison and alternatives
Browse all comparisons →Show all 46 popular comparisonssorted by 7-day search impressions
Large-scale open-source AI for social technologies.
Cheapest of 1 route · Fireworks AI