Amazon: Titan Text Embeddings V2 kontra Sentence Transformers: paraphrase-MiniLM-L6-v2
Porównanie Amazon: Titan Text Embeddings V2 (0,07 USD / 1M tokenów (≈ 0,27 zł)) i Sentence Transformers: paraphrase-MiniLM-L6-v2 (0,02 USD / 1M tokenów (≈ 0,07 zł)) obok siebie na podstawie aktualnych cen w USD i możliwości z katalogu api14. Oba działają przez to samo API zgodne z OpenAI.
Specyfikacja
| Amazon: Titan Text Embeddings V2 | Sentence Transformers: paraphrase-MiniLM-L6-v2 | |
|---|---|---|
| Dostawca | Amazon | Sentence Transformers |
| Wejście | 0,07 USD / 1M tokenów (≈ 0,27 zł) | 0,02 USD / 1M tokenów (≈ 0,07 zł) |
| Okno kontekstu | 8192 | 512 |
| Maks. wyjście | 7372 | 460 |
| Wejście | text | text |
| Wyjście | embeddings | embeddings |
| Wywołania narzędzi | ||
| Ustrukturyzowane wyjście | ||
| Sterowanie rozumowaniem | ||
| Dodano | 26 paź 2026 | 18 lis 2025 |
Najważniejsze różnice
- Sentence Transformers: paraphrase-MiniLM-L6-v2 jest o 75% tańszy na tokenach wejściowych.
- Amazon: Titan Text Embeddings V2 przyjmuje 16.0× więcej kontekstu (8192 tokenów).
Zmień jednym ciągiem znaków
Oba modele używają tego samego endpointu i tej samej struktury żądania. Zmień wartość model z "amazon/titan-embed-text-v2" na "sentence-transformers/paraphrase-minilm-l6-v2", prompty, streaming i narzędzia działają dalej.
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));
Więcej porównań
- Amazon: Titan Multimodal Embeddings G1 kontra Amazon: Titan Embeddings G1 - Text
- Amazon: Titan Multimodal Embeddings G1 kontra Amazon: Titan Text Embeddings V2
- Amazon: Titan Multimodal Embeddings G1 kontra Cohere: Embed 5 Fast
- Amazon: Titan Multimodal Embeddings G1 kontra Cohere: Embed 5 Pro
- Amazon: Titan Embeddings G1 - Text kontra Amazon: Titan Text Embeddings V2
- Amazon: Titan Embeddings G1 - Text kontra Cohere: Embed 5 Fast
- Amazon: Titan Embeddings G1 - Text kontra Cohere: Embed 5 Pro
- Amazon: Titan Text Embeddings V2 kontra Cohere: Embed 5 Fast