Amazon: Titan Text Embeddings V2 contre Sentence Transformers: paraphrase-MiniLM-L6-v2
Un comparatif côte à côte de Amazon: Titan Text Embeddings V2 (0,07 $US / 1M jetons (≈ 0,06 €)) et Sentence Transformers: paraphrase-MiniLM-L6-v2 (0,02 $US / 1M jetons (≈ 0,02 €)) d’après les prix actuels en USD et les capacités du catalogue api14. Les deux passent par la même API compatible OpenAI.
Caractéristiques
| Amazon: Titan Text Embeddings V2 | Sentence Transformers: paraphrase-MiniLM-L6-v2 | |
|---|---|---|
| Fournisseur | Amazon | Sentence Transformers |
| Entrée | 0,07 $US / 1M jetons (≈ 0,06 €) | 0,02 $US / 1M jetons (≈ 0,02 €) |
| Fenêtre de contexte | 8 192 | 512 |
| Sortie max. | 7 372 | 460 |
| Entrée | text | text |
| Sortie | embeddings | embeddings |
| Appel d’outils | ||
| Sortie structurée | ||
| Contrôle du raisonnement | ||
| Ajouté le | 26 oct. 2026 | 18 nov. 2025 |
Principales différences
- Sentence Transformers: paraphrase-MiniLM-L6-v2 est 75% moins cher sur les tokens d’entrée.
- Amazon: Titan Text Embeddings V2 lit 16.0× plus de contexte (8 192 tokens).
Changer de modèle en une chaîne
Les deux modèles utilisent le même endpoint et la même structure de requête. Remplacez la valeur de model "amazon/titan-embed-text-v2" par "sentence-transformers/paraphrase-minilm-l6-v2" : prompts, streaming et outils continuent de fonctionner.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.embeddings.create({
"model": "sentence-transformers/paraphrase-minilm-l6-v2",
"input": [
"The quick brown fox",
"Lorem ipsum"
]
});
console.log(result.data.map((d) => d.embedding.length));
Plus de comparatifs
- Amazon: Titan Multimodal Embeddings G1 contre Amazon: Titan Embeddings G1 - Text
- Amazon: Titan Multimodal Embeddings G1 contre Amazon: Titan Text Embeddings V2
- Amazon: Titan Multimodal Embeddings G1 contre Cohere: Embed 5 Fast
- Amazon: Titan Multimodal Embeddings G1 contre Cohere: Embed 5 Pro
- Amazon: Titan Embeddings G1 - Text contre Amazon: Titan Text Embeddings V2
- Amazon: Titan Embeddings G1 - Text contre Cohere: Embed 5 Fast
- Amazon: Titan Embeddings G1 - Text contre Cohere: Embed 5 Pro
- Amazon: Titan Text Embeddings V2 contre Cohere: Embed 5 Fast