← All news

News / AI models / Meta

Llama 3.1 8B Instruct

Llama 3.1 8B Instruct is an open-weight model by Meta, released 23 Jul 2024. It reads text and writes text, with a context window of 131K tokens and up to 118K tokens out. Through OpenRouter it costs $0.05 per million input tokens and $0.08 per million output tokens.

Facts from OpenRouter and Hugging Face · updated 24 Nov 2026

1,000 requests with 2,000 tokens in and 500 tokens out each cost about $0.14 through OpenRouter.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -d '{"model": "meta-llama/llama-3.1-8b-instruct", "messages": [{"role": "user", "content": "Hello"}]}'

What is the context window of Llama 3.1 8B Instruct?

Llama 3.1 8B Instruct has a context window of 131,072 tokens, about 197 pages of text, and can write up to 117,964 tokens in one reply.

How much does Llama 3.1 8B Instruct cost?

Through OpenRouter, $0.05 per million input tokens and $0.08 per million output tokens. The maker's own price can differ.

Is Llama 3.1 8B Instruct open source?

Yes, its weights are published on Hugging Face as meta-llama/Meta-Llama-3.1-8B-Instruct.

When was Llama 3.1 8B Instruct released?

It became available on 23 Jul 2024.

Something wrong? Email hello@capylaunch.com. All AI models