Amazon: Titan Embeddings G1 - Text mot Perplexity: Embed V1 4B
En jämförelse sida vid sida av Amazon: Titan Embeddings G1 - Text (0,35 US$ / 1M textdelar (≈ 3,43 kr)) och Perplexity: Embed V1 4B (0,11 US$ / 1M textdelar (≈ 1,03 kr)) med aktuella USD-priser och funktioner från api14-katalogen. Båda körs via samma OpenAI-kompatibla API.
Specifikationer
| Amazon: Titan Embeddings G1 - Text | Perplexity: Embed V1 4B | |
|---|---|---|
| Leverantör | Amazon | Perplexity |
| Indata | 0,35 US$ / 1M textdelar (≈ 3,43 kr) | 0,11 US$ / 1M textdelar (≈ 1,03 kr) |
| Kontextfönster | 8 192 | 32 000 |
| Max utdata | 7 372 | 28 800 |
| Indata | text | text |
| Utdata | embeddings | embeddings |
| Verktygsanrop | ||
| Strukturerad utdata | ||
| Styrning av resonemang | ||
| Tillagd | 26 okt. 2026 | 16 mars 2026 |
Viktiga skillnader
- Perplexity: Embed V1 4B är 70% billigare på indata-tokens.
- Perplexity: Embed V1 4B läser 3.9× mer kontext (32 000 tokens).
Byt med en sträng
Båda modellerna använder samma endpoint och anropsformat. Ändra model-värdet från "amazon/titan-embed-text-v1" till "perplexity/pplx-embed-v1-4b", promptar, streaming och verktyg fortsätter att fungera.
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": "perplexity/pplx-embed-v1-4b",
"input": [
"The quick brown fox",
"Lorem ipsum"
]
});
console.log(result.data.map((d) => d.embedding.length));
Fler jämförelser
- Amazon: Titan Multimodal Embeddings G1 mot Amazon: Titan Embeddings G1 - Text
- Amazon: Titan Multimodal Embeddings G1 mot Amazon: Titan Text Embeddings V2
- Amazon: Titan Multimodal Embeddings G1 mot Cohere: Embed 5 Fast
- Amazon: Titan Multimodal Embeddings G1 mot Cohere: Embed 5 Pro
- Amazon: Titan Embeddings G1 - Text mot Amazon: Titan Text Embeddings V2
- Amazon: Titan Embeddings G1 - Text mot Cohere: Embed 5 Fast
- Amazon: Titan Embeddings G1 - Text mot Cohere: Embed 5 Pro
- Amazon: Titan Text Embeddings V2 mot Cohere: Embed 5 Fast