google
google/text-embedding-004/Released May 2024

Text Embedding 004

Generates vector representations capturing semantic meaning/context for tasks like semantic search, text classification, and clustering. Multilingual support with versatile applications.

Provider
google
Modality
text-to-embeddings
Released
May 2024
Pricing
$0.02 / 1M in$0.02 / 1M out

Ready to build with Text Embedding 004?

Sign in to grab your API key and start making requests.
bash
curl -sSf -X POST https://staging.hub.oxen.ai/api/chat/completions \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $OXEN_API_KEY" \
    -d '{
  "model": "text-embedding-004",
  "messages": [
    {
      "role": "user",
      "content": "Try sending a message."
    }
  ]
}'