IBM Granite Embed ($0.005)
ibm_granite_embedGenerate embedding vectors for semantic search, RAG retrieval, and similarity scoring using IBM Granite models. Supports up to 64 texts per call with no IBM Cloud account required.
Instructions
Generate embedding vectors for one or more texts using IBM Granite (default: ibm/granite-embedding-278m-multilingual). Returns one float array per input, suitable for semantic search, RAG retrieval, and similarity scoring. Up to 64 texts per call. No IBM Cloud account required — pay $0.005 USDC per call via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Override the embedding model id (e.g. ibm/granite-embedding-125m-english). Defaults to ibm/granite-embedding-278m-multilingual. | |
| inputs | Yes | Texts to embed. 1–64 strings per call, up to 8,000 characters each. |