Provider

Free embeddings API

An embeddings API turns text into vectors for search, RAG and clustering. Several providers give embeddings free. FreeLLMAPI puts 41 free embedding models behind one /v1/embeddings endpoint. This guide shows the models, their limits and working code.

How free embeddings work in FreeLLMAPI

The /v1/embeddings endpoint uses the OpenAI request format. Any OpenAI SDK can call it. You send text, and you get one vector for each input string.

Embeddings use a different failover rule from chat. Chat requests can move to a different model. Embedding requests never move to a different model. Vectors from two models are not compatible, so a silent model change would corrupt your vector store.

  • Family: FreeLLMAPI groups providers by family. A family is one model identity with one vector size, for example bge-m3 at 1024 dimensions.
  • Failover: when one provider in a family hits its limit, the router tries the next provider that serves the same family.
  • Default: model: "auto" uses the default family. You set the default family on the Models, Embeddings page of the dashboard.

Free embedding models today

The table lists every free embedding model in the FreeLLMAPI catalog. The data comes from the live catalog. "Max input" is the maximum number of tokens for one input string. "Free limit" is the free quota that the provider publishes.

ModelProviderDimensionsMax inputFree limit
Gemini Embedding
gemini-embedding-001
Google AI Studio30722048100 rpm · 1K req/day
Nemotron Embed VL 1B
nvidia/llama-nemotron-embed-vl-1b-v2
NVIDIA NIM20488192~40 rpm
Nemotron 3 Embed 1B (OR free)
nvidia/nemotron-3-embed-1b:free
OpenRouter20483276820 rpm · shared free daily cap
SEA-LION E5 Embedding 600M
aisingapore/SEA-LION-E5-Embedding-600M
SEA-LION10248192free · 10 rpm
SEA-LION ModernBERT Embedding 300M
aisingapore/SEA-LION-ModernBERT-Embedding-300M
SEA-LION10248192free · 10 rpm
SEA-LION ModernBERT Embedding 600M
aisingapore/SEA-LION-ModernBERT-Embedding-600M
SEA-LION10248192free · 10 rpm
BGE-M3
@cf/baai/bge-m3
Cloudflare Workers AI1024819210K neurons/day (shared)
EmbeddingGemma 300M
@cf/google/embeddinggemma-300m
Cloudflare Workers AI768204810K neurons/day (shared)
Qwen3 Embedding 0.6B
@cf/qwen/qwen3-embedding-0.6b
Cloudflare Workers AI1024819210K neurons/day (shared)
Cohere Embed v4
embed-v4.0
Cohere15361280001K calls/mo (shared w/ chat)
Gemini Embedding 2
gemini-embedding-2
Google AI Studio30728192free-tier rate limited
Nemotron 3 Embed 1B
nvidia/nemotron-3-embed-1b
NVIDIA NIM20484096~40 rpm
PLaMo Embedding 1B (CF)
@cf/pfnet/plamo-embedding-1b
Cloudflare Workers AI2048409610K neurons/day (shared)
BGE Small EN v1.5 (CF)
@cf/baai/bge-small-en-v1.5
Cloudflare Workers AI38451210K neurons/day (shared)
BGE Base EN v1.5 (CF)
@cf/baai/bge-base-en-v1.5
Cloudflare Workers AI76851210K neurons/day (shared)
BGE Large EN v1.5 (CF)
@cf/baai/bge-large-en-v1.5
Cloudflare Workers AI102451210K neurons/day (shared)
Mistral Embed
mistral-embed
Mistral10248192free mode · monthly cap (shared)
Codestral Embed
codestral-embed
Mistral15368192free mode · monthly cap (shared)
Llama Text Embed v2 (Pinecone)
llama-text-embed-v2
Pinecone102420485M tokens/mo per model
Multilingual E5 Large (Pinecone)
multilingual-e5-large
Pinecone10245075M tokens/mo per model
Nemotron 3 Embed 1B (Speka)
nvidia/nemotron-3-embed-1b
Speka20488192$1/month shared across Speka models
OpenAI: Text Embedding 3 Small (ElectronHub)
text-embedding-3-small
ElectronHub15368192$0.25/week shared free credits
OpenAI: Text Embedding 3 Large (ElectronHub)
text-embedding-3-large
ElectronHub30728192$0.25/week shared free credits
Nemotron 3 Embed 8B (Inferbase)
nvidia-nemotron-3-embed-8b
Inferbase409681925,000 requests/month; 100 requests and $0.50 usage/day shared
Qwen 3 Embedding 0.6B (Inferbase)
qwen3-embedding-0-6b
Inferbase102481925,000 requests/month; 100 requests and $0.50 usage/day shared
Qwen 3 Embedding 4B (Inferbase)
qwen3-embedding-4b
Inferbase256081925,000 requests/month; 100 requests and $0.50 usage/day shared
Qwen 3 Embedding 8B (Inferbase)
qwen3-embedding-8b
Inferbase409681925,000 requests/month; 100 requests and $0.50 usage/day shared
LFM2.5 Embedding 350M (LLMTR)
liquid/lfm-2.5-embedding-350m-free
LLMTR1024512Ongoing zero-price route; provider terms apply
BGE-M3 (SEA-LION)
BAAI/bge-m3
SEA-LION10248192free · 10 rpm
Cohere Embed English v3
embed-english-v3.0
Cohere10245121K calls/mo (shared w/ chat)
Qwen3 Embedding 8B (OVH)
Qwen3-Embedding-8B
OVH AI Endpoints409632768free · anonymous 2 req/min per IP
BGE-M3 (OVH)
bge-m3
OVH AI Endpoints10248192free · anonymous 2 req/min per IP
BGE Multilingual Gemma2 (OVH)
bge-multilingual-gemma2
OVH AI Endpoints35848192free · anonymous 2 req/min per IP
Mistral: Codestral Embed (ElectronHub)
codestral-embed
ElectronHub15368192$0.25/week shared free credits
Mistral: Mistral Embed (ElectronHub)
mistral-embed
ElectronHub10248192$0.25/week shared free credits
Google: Gemini Embedding 2 (ElectronHub)
gemini-embedding-2
ElectronHub30728192$0.25/week shared free credits
Google: Gemini Embedding 001 (ElectronHub)
gemini-embedding-001
ElectronHub30722048$0.25/week shared free credits
OpenAI: Text Embedding Ada 002 (ElectronHub)
text-embedding-ada-002
ElectronHub15368192$0.25/week shared free credits
Cohere Embed English Light v3
embed-english-light-v3.0
Cohere3845121K calls/mo (shared w/ chat)
Cohere Embed Multilingual v3
embed-multilingual-v3.0
Cohere10245121K calls/mo (shared w/ chat)
Cohere Embed Multilingual Light v3
embed-multilingual-light-v3.0
Cohere3845121K calls/mo (shared w/ chat)

Live data from the FreeLLMAPI catalog (version 2026.11.19, checked 19 November 2026). Free limits change often. The catalog is checked every day.

Some providers share one quota between chat and embeddings. For example, a Cohere trial key allows 1,000 API calls each month for all endpoints together. Cloudflare Workers AI gives 10,000 neurons each day, shared by all Workers AI models on the account.

Step 1: Install FreeLLMAPI and add keys

FreeLLMAPI is open source. It runs on your computer in Docker. Your provider keys stay on your computer.

Install (macOS or Linux)

curl -fsSL https://freellmapi.co/install.sh | bash

Open the dashboard at http://localhost:3001. Add your provider keys on the Keys page. For embeddings, a Google AI Studio key and a Cloudflare key give a good start. Copy your unified key from the same page.

Step 2: Call the embeddings endpoint

Send a list of strings to get several vectors in one request. Use the same model value for your documents and for your search queries.

curl

curl http://localhost:3001/v1/embeddings \
  -H "Authorization: Bearer <unified-key>" \
  -H "Content-Type: application/json" \
  -d '{"model": "bge-m3", "input": ["the quick brown fox", "a fast brown fox"]}'

Python: embed and compare two texts

import math
from openai import OpenAI

client = OpenAI(base_url="http://localhost:3001/v1", api_key="<unified-key>")

resp = client.embeddings.create(
    model="bge-m3",  # a family name, "auto", or a provider model id
    input=["How do I reset my password?", "Steps to change a forgotten password"],
)
a, b = resp.data[0].embedding, resp.data[1].embedding
print(len(resp.data), "vectors of", len(a), "dimensions")

dot = sum(x * y for x, y in zip(a, b))
norm = math.sqrt(sum(x * x for x in a)) * math.sqrt(sum(y * y for y in b))
print("cosine similarity:", round(dot / norm, 3))

The model field accepts three forms: auto, a family name such as bge-m3, or a provider model id such as @cf/baai/bge-m3. A provider model id resolves to its family, so failover still stays inside that family.

Which free embedding model to choose

Choose the model once for each vector store. If you change the model later, you must embed all documents again.

NeedModel familyWhy
Short English or multilingual text, many providersbge-m31024 dimensions, 8,192 input tokens. Several free providers serve it, so failover has more options.
High quality retrieval with a Google keygemini-embedding-0013072 dimensions. The input limit is 2,048 tokens, so split long documents into chunks.
Long documents in one vectorembed-v4.0 (Cohere)Large input window. The trial key allows only 1,000 calls each month, shared with chat.
Small vectors and fast searchbge-small-en-v1.5384 dimensions. English only, and the input limit is 512 tokens.
Code searchcodestral-embedTrained for code. It uses the Mistral free mode quota.

Large vectors cost more storage and memory in the vector database. A 3072-dimension vector is three times larger than a 1024-dimension vector. For most RAG projects under one million chunks, 768 to 1024 dimensions give good results.

Limits and pitfalls

  • Input limits: text above the "Max input" value can be cut or rejected. Split documents into chunks of 300 to 800 tokens before you embed them.
  • One family per store: do not mix vectors from two families in one index. The similarity scores have no meaning across models.
  • Normalization: Google says that gemini-embedding-001 vectors with fewer than 3072 dimensions must be normalized by you. Normalize all vectors before you use dot product as the score.
  • Rate limits: free tiers count requests per minute or per day. Send batches of strings in one request, not one request for each string.
  • Anonymous tiers: OVH AI Endpoints allows 2 requests per minute for each IP address and model without a key. Use it as a fallback, not for bulk indexing.
Tip: keep at least two providers in your chosen family. Then a 429 error on one provider does not stop your indexing job.

Troubleshooting

ProblemCauseFix
Error 429 during bulk indexingThe provider limit for the family is reachedAdd a second provider key for the same family, or send fewer requests each minute
Search results are wrong after a changeDocuments and queries use different familiesUse one model value for both. Embed the documents again if you changed it
Vector length is not what you expectauto uses the default familySet an explicit family name, or check the default on Models, Embeddings
Long texts give poor matchesThe text is longer than the input limitSplit the text into smaller chunks
Error 401The unified key is wrong or missingCopy the unified key again from the Keys page
Use every one of these through one key. FreeLLMAPI is an open-source, self-hosted router that puts all these free tiers behind a single OpenAI-compatible endpoint and fails over when one is rate-limited. Browse the catalog or go live.

Frequently asked questions

Is there a free embeddings API?

Yes. Google AI Studio, Cloudflare Workers AI, Cohere, NVIDIA, Mistral, OVH and others give free embedding models with rate limits. FreeLLMAPI puts 41 of them behind one OpenAI-compatible endpoint.

Can I use the OpenAI SDK for free embeddings?

Yes. Set the base URL to http://localhost:3001/v1 and use your unified key. Then call client.embeddings.create with a family name such as bge-m3.

Why does FreeLLMAPI not fail over to a different embedding model?

Vectors from different models are not compatible. A silent model change would break similarity search. The router only fails over between providers that serve the same model family.

What is the best free embedding model for RAG?

For most projects, bge-m3 is a good default. It has 1024 dimensions, an 8,192-token input limit and several free providers. Use gemini-embedding-001 if you want 3072 dimensions and have a Google key.

How many dimensions should my embeddings have?

Use 768 to 1024 dimensions for most search and RAG work. Larger vectors use more storage and memory. Choose the size once, because a change means you must embed all documents again.

Sources

All guides · Browse all free models

Keep reading

All posts →
Provider

Free Gemini API

Google AI Studio's permanent free tier — Gemini and Gemma, no credit card.

Provider

Free DeepSeek API

DeepSeek V3, R1 and V4 served free across multiple providers.

Provider

Free Llama API

Meta's Llama models free across 14 providers, behind one key.