Google's text embedding model for generating vector representations. Optimized for semantic search, clustering, and similarity tasks.
Copy usage instructions for Claude, ChatGPT, or other AI
| Token Type | Credits | USD Equivalent |
|---|---|---|
| Input Tokens | 300 | $0.30 |
| Output Tokens | 0 | $0.00 |
* 1 credit β $0.001 (actual charges may vary based on usage)
curl -X POST "https://api.core.today/llm/gemini/v1beta/openai/embeddings" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "gemini-embedding-001",
"input": "What is the meaning of life?"
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
input | string | array | Yes | - | Text or array of texts to embed |
model | string | Yes | gemini-embedding-001 | Model identifier |
Generate embeddings for semantic search
curl -X POST "https://api.core.today/llm/gemini/v1beta/openai/embeddings" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "gemini-embedding-001",
"input": "What is the meaning of life?"
}'POST /llm/gemini/v1beta/openai/embeddings