Meta: Llama 3.2 3B Instruct
Llama 3.2 3B is a 3-billion-parameter multilingual large language model, optimized for advanced natural language processing tasks like dialogue generation, reasoning, and summarization.
- Input
- 20,496 Toman/M tokens
- Output
- 119,560 Toman/M tokens
- Context
- 131K
- Max output
- 118K
- Published
- Sep 25, 2024
- Maker
- Meta
Free plan prices, in Toman at today's rate. Plans and prices
Price by plan
Toman per million tokens at today's rate. A plan lowers the price of your usage up to a limit each period.
| Plan | Input | Output |
|---|---|---|
| Free | 20,496 | 119,560 |
| Pro | 19,656 | 114,660 |
| Max | 18,816 | 109,760 |
Capabilities
- Text
- JSON
What it takes and gives
Accepts
- Text
Creates
- Text
Call it
Pass meta-llama/llama-3.2-3b-instruct as the model name, or let router/auto choose for you.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://ai.fluxcdn.cloud/api/v1",
api_key=os.environ["FLUXCDN_API_KEY"],
)
resp = client.chat.completions.create(
model="router/auto",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)
