meta-llama logo
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. $0.027 per million input tokens, $0.201 per million output tokens. 60,000 token context window, maximum output of 60,000 tokens. Includes independent benchmarks from Artificial Analysis.

模型概览

模型规格

上下文
60,000 tokens
最大输出
54,000 tokens
架构
text->text
分词器
Llama3
知识截止时间
2023-12-31
内容审核
OPENROUTER

完整价格

同步自 OpenRouter。Token 价格均按每百万 Token 展示。

输入
$0.027
/M tokens
输出
$0.201
/M tokens
API

快速调用

通过 OpenRouter 的 OpenAI 兼容 API 调用这个确切的模型 ID。

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"meta-llama/llama-3.2-1b-instruct","messages":[{"role":"user","content":"Hello!"}]}'
能力与模态

输入输出

输入
text
输出
text
API

支持的 API 参数

frequency_penaltylogit_biasmax_tokensmin_ppresence_penaltyrepetition_penaltyseedstoptemperaturetop_ktop_p
可用提供方

1 提供方

在 OpenRouter 查看实时 Provider

Provider 可用性、延迟、吞吐量和路由会持续变化,请前往来源页面查看实时运行数据。

OpenRouter

Cloudflare

unknown
上下文
60K
最大输出
54K
输入
$0.027
输出
$0.201
缓存读取
暂未提供
缓存写入
暂未提供
meta-llama

个模型

全部模型