Meta: Llama 3.2 1B Instruct (free)

meta-llama/llama-3.2-1b-instruct:free

Created Sep 25, 2024131,072 context
$0/M input tokens$0/M output tokens

Providers for Llama 3.2 1B Instruct (free)

OpenRouter routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.

Apps using Llama 3.2 1B Instruct (free)

Top public apps this week using this model

1.
Favicon for https://sillytavern.app/
SillyTavern
LLM frontend for power users
1.06M tokens
2.
Favicon for https://art-from-the-machine.github.io/
Mantella
Skyrim & Fallout 4 mod, naturally speak to NPCs
765K tokens
3.
Favicon for https://openrouter.ai/chat
OpenRouter: Chatroom
Chat with multiple LLMs at once
625K tokens
4.
Favicon for https://www.vq12.com/
272K tokens
5.
Favicon for https://chub.ai/
Chub AI
GenAI for everyone
231K tokens
6.
Favicon for https://risuai.xyz/
RisuAI
Browse characters, choose models, and chat
231K tokens
7.
Favicon for https://openwebui.com/
Open WebUI
Extensible, self-hosted AI interface
170K tokens
8.
Favicon for https://cline.bot/
Cline
Autonomous coding agent right in your IDE
132K tokens
10.
Favicon for https://your-site.com/
110K tokens
11.
Favicon for https://github.com/Demeter29/Voices_of_the_Court
109K tokens
12.
Favicon for https://big-agi.com/
big-AGI
Precision AI for professionals
63K tokens
13.
Favicon for https://architectlm.com/
36K tokens
14.
Favicon for https://litellm.ai/
liteLLM
Open-source library to simplify LLM calls
34K tokens
15.
Favicon for https://roocode.com/
Roo Code
A whole dev team of AI agents in your editor
31K tokens

Recent activity on Llama 3.2 1B Instruct (free)

Tokens processed per day

Dec 14, 2024Dec 21Dec 28Jan 4Jan 11Jan 18Jan 25Feb 1Feb 8Feb 26Mar 5Mar 12015M30M45M60M

Uptime stats for Llama 3.2 1B Instruct (free)

Uptime stats for Llama 3.2 1B Instruct (free) across all providers

When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it.

Learn more about our load balancing and customization options.

Sample code and API for Llama 3.2 1B Instruct (free)

OpenRouter normalizes requests and responses across providers for you.

OpenRouter provides an OpenAI-compatible completion API to 300+ models & providers that you can call directly, or using the OpenAI SDK. Additionally, some third-party SDKs are available.

In the examples below, the OpenRouter-specific headers are optional. Setting them allows your app to appear on the OpenRouter leaderboards.

from openai import OpenAI

client = OpenAI(
  base_url="https://openrouter.ai/api/v1",
  api_key="<OPENROUTER_API_KEY>",
)

completion = client.chat.completions.create(
  extra_headers={
    "HTTP-Referer": "<YOUR_SITE_URL>", # Optional. Site URL for rankings on openrouter.ai.
    "X-Title": "<YOUR_SITE_NAME>", # Optional. Site title for rankings on openrouter.ai.
  },
  extra_body={},
  model="meta-llama/llama-3.2-1b-instruct:free",
  messages=[
    {
      "role": "user",
      "content": "What is the meaning of life?"
    }
  ]
)
print(completion.choices[0].message.content)

Using third-party SDKs

For information about using third-party SDKs and frameworks with OpenRouter, please see our frameworks documentation.

See the Request docs for all possible fields, and Parameters for explanations of specific sampling parameters.

More models from Meta Llama

    Llama 3.2 1B Instruct (free) - API, Providers, Stats | OpenRouter