Amazon: Titan Text Embeddings V2 kontra Google: Gemini Embedding 001 (batch)
Porównanie Amazon: Titan Text Embeddings V2 (0,07 USD / 1M tokenów (≈ 0,27 zł)) i Google: Gemini Embedding 001 (batch) (0,26 USD / 1M tokenów (≈ 1,03 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 | Google: Gemini Embedding 001 (batch) | |
|---|---|---|
| Dostawca | Amazon | |
| Wejście | 0,07 USD / 1M tokenów (≈ 0,27 zł) | 0,26 USD / 1M tokenów (≈ 1,03 zł) |
| Okno kontekstu | 8192 | 20 000 |
| Maks. wyjście | 7372 | 18 000 |
| Wejście | text | text |
| Wyjście | embeddings | embeddings |
| Wywołania narzędzi | ||
| Ustrukturyzowane wyjście | ||
| Sterowanie rozumowaniem | ||
| Dodano | 26 paź 2026 | 31 paź 2025 |
Najważniejsze różnice
- Amazon: Titan Text Embeddings V2 jest o 73% tańszy na tokenach wejściowych.
- Google: Gemini Embedding 001 (batch) przyjmuje 2.4× więcej kontekstu (20 000 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 "google/gemini-embedding-001:batch", 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": "google/gemini-embedding-001:batch",
"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