All models

embed-v4

Cohere · Embedding

Available
Context window
128K
Input / 1M
$0.12
Cache / 1M
$0.12
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="embed-v4",
    input="Text to embed.",
)