gemini-embedding-001
Google · Embedding
- Context window
- 2.0K
- Input / 1M
- $0.15
- Cache / 1M
- $0.15
- Output / 1M
- $0
Call this model
request.py
from openai import OpenAI
client = OpenAI(
base_url="https://api.tokener.ai/v1",
api_key="sk-tk-••••••••••••",
)
response = client.embeddings.create(
model="gemini-embedding-001",
input="Text to embed.",
)