Skip to content

Titan Text Embeddings V2

Titan Text Embeddings V2 is Amazon's text embedding model tuned for retrieval-augmented generation (RAG). Vectors only; no output token charge. You can choose 256-, 512-, or 1024-dimensional output vectors, with support for 100+ languages.

index.ts
import { embed } from 'ai';
const result = await embed({
model: 'amazon/titan-embed-text-v2',
value: 'Sunny day at the beach',
})

More models by Amazon

Model
Context
Latency
Throughput
Input
Output
Cache
Web Search
Per Query
Capabilities
Providers
ZDR
No Training
Release Date
300K
0.4s
67tps
$0.06/M$0.24/M
bedrock logo
12/03/2024
300K
0.4s
152tps
$0.80/M$3.20/M
bedrock logo
12/03/2024
1M
0.4s
208tps
$0.30/M$2.50/M
Read:$0.07/M
Write:
bedrock logo
12/01/2024
128K
0.3s
$0.04/M$0.14/M
bedrock logo