Using Llama 3.2 1B Instruct on OpenRouter
Implementation guide · Llama 3.2 · AI at Meta
ServerlessOpen Source
Quick Start
- 1
- 2Use the OpenRouter SDK or REST API to call
meta-llama/llama-3.2-1b-instruct— see the documentation for request format. - 3
Code Examples
About OpenRouter
OpenRouter provides a unified interface for Large Language Models with better pricing, improved uptime, and no subscription requirements. Route across providers for cost optimization and reliability.
OpenRouter is a multi-provider LLM aggregator offering unified API access to 300+ models from all major labs and emerging providers, with automatic failover for reliability.
Pricing on OpenRouter
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.03 |
| Output tokens | $0.20 |
Capabilities
Structured Outputs
About Llama 3.2 1B Instruct
Llama 3.2 1B Instruct is Meta's Llama 3.2 model. It offers a 128K-token context window with weights openly available for self-hosting and scores 25.6 on GPQA.
Model Specs
Released2024-09-25
Parameters1.23B
Context128K
ArchitectureDecoder Only
Knowledge cutoff2023-12