meta-llama
Meta: Llama 3.2 1B Instruct
Llama 3.2 1B is a 1-billion-parameter language model focused on efficiently performing natural language tasks, such as summarization, dialogue, and multilingual text analysis. Its smaller size allows it to operate...
Context
131k tokens
Input / 1M tokens
$0.03
Output / 1M tokens
$0.20
Benchmark
—
Pricing
Input tokens$0.03 per 1M tokens
Output tokens$0.20 per 1M tokens
Technical details
Model IDmeta-llama/llama-3.2-1b-instruct
Context window131k tokens
Input modalitiestext
Output modalitiestext
TokenizerLlama3
Max output tokens60,000
Use with MegaBrain
import OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://getmegabrain.com/api/gateway/v1',
apiKey: process.env.MEGABRAIN_API_KEY,
})
const response = await client.chat.completions.create({
model: 'meta-llama/llama-3.2-1b-instruct',
messages: [{ role: 'user', content: 'Hello!' }],
})Ready to use Meta: Llama 3.2 1B Instruct?
Get an API key and start making requests in minutes.
Get an API key