返回模型列表
Amazon Titan Text Embeddings V2
amazonamazon/titan-embed-v2
Lightweight, efficient embedding model for high accuracy retrieval tasks. Supports flexible embedding sizes (1024, 512, 256) and 100+ languages.
上下文长度
8K
最大输出
--
输入价格
$0.024每百万 Tokens
模态能力
文本→embedding
价格明细
| 类型 | 费率 |
|---|---|
| 输入 | $0.024 每百万 Tokens |
支持参数
dimensionsnormalize
API 使用示例
cURL
curl https://api.therouter.ai/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer $THE_ROUTER_API_KEY" -d '{
"model": "amazon/titan-embed-v2",
"messages": [
{"role": "user", "content": "Summarize the key points from this input."}
]
}'