TextNEW

Llama 3.1 8B Instruct

Llama 3.1 8B Instruct is Meta's small-form-factor flagship from the 3.1 family, a dense 8B parameter model fine-tuned for instruction following, with 128K context and broad multilingual coverage. Best fit: high-volume backend traffic, classification, simple agent loops, and any workload where per-token cost dominates quality requirements. Pair with a stronger flagship for fall-back routing.

Pricing

Input

$0.020 / 1M

Output

$0.050 / 1M

Pay only for what you use. No subscriptions, no monthly minimum.

Specs

Context
128K
Max output
16K
Latency
Fast
Category
Text
Arabic
Partial

Quick start

Use any OpenAI-compatible client. Just change base_url and your key.

from openai import OpenAI

client = OpenAI(
    api_key="tl-xxxxxxxxxxxxxxxxxxxxxxxx",
    base_url="https://api.thalam.ai/v1",
)

response = client.chat.completions.create(
    model="meta-llama/llama-3.1-8b-instruct",
    messages=[
        {"role": "user", "content": "Hello from Thalam!"}
    ],
)

print(response.choices[0].message.content)

Similar models

GPT-6 Astra

NEWTextArabic

OpenAI's GPT-6 generation. Frontier reasoning with a 1M-token context, image input, and adjustable reasoning effort.

Context
1M
Max output
128K
Latency
Medium
Input price
$10.00 / 1M
Output price
$50.00 / 1M

GPT-5.6 Sol

NEWTextArabic

The top tier of OpenAI's GPT-5.6 generation. Frontier reasoning, coding, and agentic work with a 1M-token context and image input.

Context
1M
Max output
128K
Latency
Medium
Input price
$5.00 / 1M
Output price
$30.00 / 1M

GPT-5.6 Terra

NEWTextArabic

The balanced tier of OpenAI's GPT-5.6 generation. Same 1M-token context and image input, tuned for everyday production work.

Context
1M
Max output
128K
Latency
Medium
Input price
$2.00 / 1M
Output price
$12.00 / 1M

Featured in

More from Meta Llama

All Meta Llama models (4)