Model reference · open weights

Llama-2

Llama-2 is an open-weight language model from meta-llama, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.

LLMs meta-llama 3 variants 805k downloads/mo
Request this model on EU hardware All served models Not on the shared API today — deployed on request.

Specifications

What it is

Makermeta-llama
TypeLanguage models
Parameters (lead)6.7B
Variants3
Runs withtransformers
Released2023-07-13
Popularity805k downloads / month
Likes4,825
LicenceOpen, with conditions

How it works

How language models work

Your prompttext / messagesTransformerattention over tokensNext-token loopgenerate + streamResponsetext · tool callsA language model reads your tokens and predicts the next one, again and again, streaming the reply back.

Variants

Sizes & precisions

Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.

VariantParamsPrecisionVRAMFits 16 GBWeights
Llama-2-7b-hf6.7BBF16~15.5 GBWeights ↗
Llama-2-13b-chat-hf13.0BBF16~29.9 GBWeights ↗
Llama-2-70b-chat-hf69.0BBF16~158.6 GBWeights ↗

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys llama-2 for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (llama-2 below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/chat/completions \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"llama-2","messages":[{"role":"user","content":"Hello"}]}'

Details

Languages, data & research

Languages

en

Tags

transformers pytorch safetensors llama text-generation facebook meta llama-2 en text-generation-inference endpoints_compatible deploy:sagemaker conversational

Papers

Licence

Open, with conditions

Open weights under llama2, which carries conditions (e.g. attribution or an acceptable-use clause). Worth a read before production use — we can walk you through it. Read the licence ↗

Sources

Weights & code

Want Llama-2 on EU-owned hardware?

Request this model on EU hardware See what’s served now

Explore

More language models

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms