LLM Perks

Llama 2 7B

Free right now Small
Open weights

Llama 2 7B is a language model with 7B parameters from Meta. It is currently free at 1 provider with up to 4K tokens of context. Its weights are open, so it can also run locally.

Developer
Meta
Parameters
7B
Context
4K tokens
Type
Text
License
Open weights

Where to use Llama 2 7B for free

Each row is a separate free endpoint with its own limits.

ProviderContextLimitCard
Together AI
meta-llama/Llama-2-7b-chat-hf
4K Fair use (depends on server load) — Open

Quick start

curl https://api.together.xyz/v1/chat/completions \
  -H "Authorization: Bearer $TOGETHER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meta-llama/Llama-2-7b-chat-hf",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Example for Together AI. Any OpenAI-compatible client works: Cursor, Cline, OpenCode, Open WebUI.

Benchmarks

This model is not on the Artificial Analysis leaderboard yet. We do not publish our own estimates.

Similar free models

FAQ

Is Llama 2 7B free?

Yes. As of September 26, 2026, Llama 2 7B is free at Together AI. Each provider has its own limits — see the table above.

What is the context window of Llama 2 7B?

The largest context among free routes is 4,096 tokens. Some providers cap it lower.

How do I call Llama 2 7B via API?

Use any OpenAI-compatible client with base URL https://api.together.xyz/v1, model ID meta-llama/Llama-2-7b-chat-hf, and a Together AI key.

Is Llama 2 7B open-weight?

Yes, the weights are published — you can download and run it locally, for example with Ollama or LM Studio.