Skip to content

Granite Embedding

Free
ibm-granite/granite-embedding

Embed · Jul 2024 · 1 upstreams

IBM's Granite Embedding is an open text embedding family (30M and 278M cuts) for retrieval, clustering, and semantic search. Apache-2.0 licensed. Dimensions vary by tag (278M returns 768 dims; 30M fewer). AnyRouter exposes the text path via /embeddings on the user's own paired device running Ollama.

max input
—
dimensions
—
input / 1M
$0
routes
1

Upstreams

1
  1. 1OllamaRelayFree

Quick start

POST /api/v1/embeddings
curl
curl https://anyrouter.dev/api/v1/embeddings \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "ibm-granite/granite-embedding",
    "input": "The quick brown fox jumps over the lazy dog"
  }'

Details

Owner
IBM Granite
Kind
Embeddings
Released
Jul 2024
Data policy
Zero retention
Endpoint
/api/v1/embeddings