Dostępne teraz
Google

gemini-embedding-001

Provides text embedding models for generating embeddings for words, phrases, sentences, and code. These foundational embeddings support advanced NLP tasks such as semantic search, classification, and clustering, offering more accurate and context-aware search results compared to keyword-based approaches. Building Retrieval Augmented Generation (RAG) systems is a common use case for embeddings. Embeddings play a crucial role in significantly enhancing model outputs, improving factual accuracy, coherence, and contextual richness. They enable efficient retrieval of relevant information from knowledge bases (represented as embeddings), which is then passed as additional background information in the input prompt to the language model, guiding it to generate more informed and accurate responses.

EmbeddingTools2K
WejścieDarmowe
WyjścieDarmowe
TypEmbedding
Endpointyembedding

Wydajność

Ładowanie danych wydajności...
§ 01

Cennik

Cena wejścia$0.00 · 1M tokenów
Cena wyjścia$0.00 · 1M tokenów
Okno kontekstu2K tokenów
Kompatybilne endpointyembedding
DostawcaGoogle
§ 02

Wywołaj gemini-embedding-001 ze swojego kodu

Skieruj dowolny SDK kompatybilny z OpenAI na UnoRouter i zażądaj modelu po nazwie. Zastąp YOUR_API_KEY prawdziwym kluczem z twojego panelu.

bash
curl https://api.unorouter.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-embedding-001",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Zaloguj się, aby automatycznie wypełnić klucz API

§ 03

Często zadawane pytania

Ile kosztuje gemini-embedding-001 za 1M tokenów?

Wejście kosztuje $0.00 za 1M tokenów, wyjście $0.00 za 1M tokenów. Rozliczanie jest per token, bez zaokrąglania do rozmiarów batcha.

Jak uzyskać dostęp do gemini-embedding-001 przez API?

Wysyłaj zapytania na endpoint UnoRouter /v1/chat/completions z model=gemini-embedding-001. Działa każda biblioteka klienta kompatybilna z OpenAI. Uwierzytelnianie używa standardowego tokenu Bearer.

Jakie jest okno kontekstu gemini-embedding-001?

gemini-embedding-001 obsługuje okno kontekstu 2K tokenów, dzielone między twój prompt a odpowiedź modelu.

§ 04

Podobne modele

Wypróbuj gemini-embedding-001 teraz

Utwórz klucz API i zacznij wysyłać zapytania w mniej niż minutę.

Zobacz wszystkie modele