Forge is available: build a website with AI from your RodiumAi account.

Try Forge

Temporarily unavailable

This model is temporarily unavailable on RodiumAi. Please try another model or check back later.

Google

Text Embedding 004

chataffordable
Context
2K
Max output
-
Speed
Deep
Quality
Basic
Released
2024-04-09
Input: / Output:
Textembedding

About this model

Standard embedding model for vector generation. Free tier available. Used for semantic search, RAG, and similarity tasks. Grounding with Google Search available on top: $0.15/MTok embedding tokens plus standard retrieval costs. via Google Gemini API (direct).

Pricing

RateRODIUSD (ref.)Unit
Text tokens
In89.9~ 0.150per 1M tokens (RODI/M, USD/M)

RODI prices include RodiumAi markup and upstream fees. USD figures are wholesale reference rates.

Providers & pricing

ProviderInputOutputCachedFree tierStatus
Google AI Studio

Google AI Studio

Default

All rates (1)
  • In89.9 RODI/M
89.9---No data

Capabilities

Streaming
Tool calling
Vision
JSON mode
Reasoning

API usage

Create embeddings with client.embeddings(): POST /v1/embeddings.

Examples

…

Example response

…

Shorter vectors

…

RodiumAi SDK

embeddings() accepts a string or batch of strings.

…

Use cases

  • Semantic search over a help centre, a product catalogue or internal documents.
  • Retrieval for RAG: find the passages to give a chat model as context.
  • Deduplicate and cluster tickets, reviews or articles.
  • Recommendations: items similar to what a user liked.
  • Classification with a few labelled examples and a nearest-neighbour lookup.

Notes

  • This model supports the dimensions parameter: it returns a shorter vector, which cuts storage and search cost with a small loss of quality. Keep the same value for every document and query.
View all