Skip to main content

Llama 2 7B: API pricing, providers and specs

Textby MetaLlama 2Released Jul 9, 2023

Llama 2 7B is a text model by Meta. 2 providers serve it, from $0.10 to $0.25 /1M; the lowest price is at AIHubMix.

Lowest price$0.10/1Mat AIHubMix
Maker's price—The maker does not sell it
Providers2
Context—

How Llama 2 7B compares

Against the 737 text models on the site priced the same way.

  • Cheap for its class: at $0.10 /1M, its lowest price undercuts 93% of comparable models (median $1.10).
  • On LMArena's Text board it ranks #118 of the 120 comparable models scored there.
  • 2 providers serve it; 36% of comparable models have fewer.
  • Its weights are open under the Llama 2 license: commercial use under the maker's terms.

Llama 2 7B prices by provider

Every provider's list price, read from its own price page or API. A price marked “from” changes with context length, resolution or mode.

ProviderInputOutputPrompt cachingContext
AIHubMix$0.10/1M$0.10/1M——
Replicate$0.05/1M$0.25/1M——
Output price by provider, /1M, cheapest first
  1. AIHubMix$0.10
  2. Replicate$0.25
Prices in US dollars, updated daily from each provider. Prices last checked Oct 26, 2026.

Specs

Type
Text
Maker
Meta
Inputs
Text
Outputs
Text
Context
—
Max output
—
Capabilities
—
Released
Jul 9, 2023
License
Llama 2commercial use under the maker's terms
Open weights
Yes, downloadable
Arena score
1053Text
Get the weightsHugging Face177 downloads in 30 daysAccept the terms on Hugging Face before downloading

Alternatives to Llama 2 7B

Same kind of model from other makers, at a similar price.

ModelLowest priceContextArenaProviders
Llama 2 7Bthis model$0.10/1M—10532
GLM-5.3-Flash$0.20/1M1.05M160845
Claude Haiku 5.5$0.30/1M1M158527
DeepSeek V4 Flash$0.17/1M1.05M—26
DeepSeek V4 Flash Vision Exp$0.294/1M1.05M—26
Ling 3.1 Flash$0.225/1M262K—5
Qwen2-1.5B-Instruct$0.20/1M——2
Qwen3.5 Flash$0.287/1M1M—1
GPT OSS 120B$0.14/1M131K136632

More from Meta

All 44 Meta models

Llama 2 7B FAQ





Can't find what you're looking for? Contact us