Skip to content

EMBEDDING API

Vector embeddings, one API call.

Turn text into vectors for RAG, semantic search and clustering. BGE models behind an OpenAI-compatible embeddings endpoint: change the base URL in your pipeline.

Hand this to your agent

Add a Runcrate model to this project: run curl -fsSL"https://runcrate.ai/agents.md?intent=build"and follow it.

Your agent asks for an API key. Create a key

Works inClaude CodeCodexOpenCodeClineRoo CodeKilo CodeCursor
Endpoint/v1/embeddings
FormatOpenAI-compatible
Use casesRAG, search, clustering

Quick start

Hand it to your agent. Or read the request it sends.

Your agent writes and runs it. The same key works for every model and every GPU.

Docs
Embed every chunk in chunks.jsonl with BGE Large on Runcrate and save the vectors to vectors.npy. Runs curl https://api.runcrate.ai/v1/embeddings \ -H "Authorization: Bearer rc_live_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "BAAI/bge-large-en-v1.5", "input": ["What is retrieval-augmented generation?"] }'.

Available models

Models you can call today. Billed prices, as charged.

ModelMakerPriceDetail
BAAI/bge-large-en-v1.5BAAI$0.0105 in, $0 out per 1M tokens1024 dims, strong retrieval
See every model price

Why Runcrate

Built for production. One key, one balance.

  • RAG-optimized

    BGE models are trained specifically for retrieval tasks. High recall on document retrieval benchmarks like MTEB and BEIR.

  • Batch processing

    Send multiple texts in a single request. Embed entire document collections efficiently with batch support.

  • OpenAI-compatible

    Standard /v1/embeddings endpoint. Works with LangChain, LlamaIndex, and any OpenAI-compatible vector pipeline.

  • Lightweight models

    BGE models are small, so embedding requests are quick and cost little per token. Good for real-time search and retrieval.

FAQ

Common questions.