Llama 3.2 1b Instruct vs Llama 3.1 8b Instruct

Live API pricing and availability, side by side. Both models run on FastInfra's OpenAI-compatible endpoint — switching between them is a one-line change.

Pricing

Price per 1M tokens

Prices are live and sync automatically from wholesale providers.

Llama 3.2 1b Instruct Llama 3.1 8b Instruct
Input $0.06 $0.05
Output $0.06 $0.08
Default provider Together AI OpenRouter
Providers available 2 2

On input tokens, Llama 3.1 8b Instruct is currently 1.2× cheaper than Llama 3.2 1b Instruct on FastInfra. Output-token pricing and quality trade-offs differ per workload — test both with the free tier.

Quickstart

Try both in 30 seconds

Same endpoint, same SDK — only the model string changes.

from openai import OpenAI

client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.fastinfra.ai/v1")

for model in ["meta-llama/llama-3.2-1b-instruct", "nim/meta/llama-3.1-8b-instruct"]:
    response = client.chat.completions.create(
        model=model,
        messages=[{"role": "user", "content": "Hello!"}]
    )
    print(model, "->", response.choices[0].message.content)