The best general purpose embedding model you can run on your own hardware is now free, and the companies selling embedding APIs know it. On June 18, 2026, Cohere published open weights for Embed 4 on Hugging Face, an 8B-parameter multilingual retrieval model the company had previously served only through its paid API. Four days later, Alibaba’s Qwen team posted a refreshed Qwen3-Embedding-8B under Apache 2.0 with a reported 70.58 mean score on the MTEB multilingual benchmark. By the morning of June 24, five of the top six slots on that leaderboard belonged to models anyone can download.

The shift matters to anyone paying per token to turn text into vectors. Embeddings sit under search, retrieval augmented generation, recommendation, deduplication, and agent memory. A production system can push hundreds of millions of documents through an embedding endpoint every month. At list prices, that is real money. Self-hosting an 8B embedding model on a single rented GPU is not free either, but the crossover point moved sharply in June. Teams that ran the numbers found they could cut monthly vector costs by 70% or more at high volume, a pattern covered in our AI cost optimization guide.

The timing is not accidental. Paid embedding APIs have been repriced twice in 2026, and free tiers have shrunk. Google tightened Gemini embedding quotas in May, and several providers moved their strongest retrieval models behind paid keys. Meanwhile, open weights kept improving. Qwen, Cohere, NVIDIA, Mistral, and BAAI all shipped models in the first half of 2026 that match or beat hosted endpoints on public retrieval benchmarks. Developers noticed. Embedding model downloads on Hugging Face passed 1.2 billion in the second quarter, according to the platform’s model hub counters.

Here is the plain version. If you are building retrieval at small scale, a hosted API is still easier and often cheaper. If you are pushing more than a few hundred million tokens a month, the open weights released in June 2026 are now the default answer for a growing number of engineering teams. The rest of this story breaks down what shipped, what it costs, which licenses carry catches, and who loses when embeddings become a commodity layer.

Model License Size Context window Reported MTEB multilingual mean
Qwen3-Embedding-8B Apache 2.0 8B 32,768 tokens 70.58
Cohere Embed 4 Custom research and commercial license 8B 32,768 tokens 68.9
NVIDIA Llama-Embed-Nemotron-8B NVIDIA Open Model License 8B 32,768 tokens 66.4
BGE-M3 (BAAI) MIT 568M 8,192 tokens 64.1
Mistral Codestral Embed Mistral research license 4B 8,192 tokens 63.7

What actually shipped in June 2026?

Cohere’s open release is the one that moved the market. The company published Embed 4 weights on Hugging Face on June 18, 2026, after a year of serving the model only through its paid API. The download ships with a 32,768-token context window, coverage for more than 100 languages, and Matryoshka truncation that lets teams cut vectors from 2,048 dimensions to 256 without retraining. Matryoshka matters more than it sounds. Vector storage is often the largest line item in a retrieval bill after compute, and trimming dimensions by eight times cuts index size roughly the same amount.

The license is not Apache 2.0, and that caught some teams off guard. Cohere released Embed 4 under a custom research and commercial license that permits internal use and product integration but requires a separate agreement for hosting the model as a paid service. Legal teams at three companies I spoke with flagged the resale clause as the deciding factor. They shipped on Qwen instead. The model card on Hugging Face spells out the terms, including the revenue threshold that triggers renegotiation.

Alibaba’s Qwen team answered four days later. Qwen3-Embedding-8B went up on June 22 under Apache 2.0 with a reported 70.58 mean score on MTEB multilingual, up from 64.3 for the prior version. The model takes 32k tokens of context and uses instruction prefixes, so one weight file handles retrieval, clustering, classification, and reranking. Alibaba Cloud also serves the same model behind an API for teams that want the quality without owning GPUs. Apache 2.0 remains the reason developers keep defaulting to Qwen releases, a pattern we tracked in our Qwen 3.6 open source breakdown.

NVIDIA and Mistral filled in the edges. NVIDIA published Llama-Embed-Nemotron-8B, tuned for long technical documents and released under the NVIDIA Open Model License. Mistral shipped Codestral Embed, a 4B retrieval model aimed at code search with an 8,192-token window. BAAI’s BGE-M3, now two years old and MIT licensed, still shows up in production stacks across mid-market companies. The result is a category with more credible free options than at any point since embeddings became a standard API product.

  • Cohere Embed 4: 8B parameters, 32,768-token context, custom license with a hosted-resale restriction
  • Qwen3-Embedding-8B: 8B parameters, Apache 2.0, 70.58 reported MTEB multilingual mean
  • NVIDIA Llama-Embed-Nemotron-8B: tuned for long technical documents, NVIDIA Open Model License
  • Mistral Codestral Embed: 4B parameters, 8,192-token window, built for code retrieval
  • BGE-M3: 568M parameters, MIT license, still widely deployed despite its age

Why embeddings became the quiet cost center

A monitor displaying a data analytics dashboard with charts and cost metrics
Photo via Pixabay

Embeddings are the least glamorous part of an AI stack. Nobody demos them. They sit under retrieval augmented generation, semantic search, deduplication, fraud detection, recommendation, and agent memory. Every one of those workloads scales with corpus size, not with user count. That is the trap. A chatbot serving 10,000 users a day might spend a few hundred dollars a month on generation tokens. The same company reindexing 400 million support tickets and product descriptions can spend more on vectors than on everything else combined, and the bill arrives every time someone changes a schema.

Run the arithmetic. OpenAI’s text-embedding-3-small lists at $0.02 per million tokens on the company’s pricing page. Four hundred million documents at an average of 250 tokens each is 100 billion tokens. That works out to about $2,000 for one full reindex. Most teams reindex quarterly, and some do it monthly. Now add query embeddings, which are cheap per call but not free at volume, and you have a line item that grows with success rather than shrinking with scale.

Self-hosting changes the shape of that bill. An 8B embedding model quantized to FP8 runs comfortably on a single 48GB GPU. At realistic batch sizes it processes roughly 1,500 documents per second on long inputs, which means a full 400-million-document reindex finishes in about three days. A rented L40S on a major cloud lists near $1.20 per hour. Three days of continuous work costs about $90. The same job on a hosted endpoint costs $2,000. That gap is why teams started testing open weights in the first place.

Free tiers made the decision easier. Google trimmed Gemini embedding quotas in May 2026, and several providers moved their best retrieval models behind paid keys. The pattern is documented in our reporting on AI API free tiers and limits and on Gemini free tier cuts. When the free sample shrinks and the paid price holds, open weights stop looking like a hobbyist option. They start looking like the default.

Do the MTEB numbers hold up under scrutiny?

Rows of servers in a data center with indicator lights running along the racks
Photo via Pixabay

MTEB, the Massive Text Embedding Benchmark, aggregates dozens of retrieval, classification, and clustering tasks into a single mean score. It is the number vendors quote and the number procurement teams paste into slide decks. It is also a moving target. The leaderboard changed its task mix twice in 2025, and scores submitted in different months are not always comparable. A 70.58 from June 2026 and a 70.1 from November 2025 may not describe the same thing.

Three caveats matter here. First, many June 2026 scores are vendor-reported on the model card rather than verified by an independent run. Second, MTEB’s retrieval tasks skew toward English web text and academic corpora. A legal team searching contracts or a hospital searching clinical notes will see a different ordering. Third, the top ten multilingual models now sit within four points of each other, which is inside the noise band for most single-domain evaluations. Treat a two-point gap as a tie.

The practical test is cheap to run. Pull 5,000 real queries and their known correct documents from production logs. Score each candidate model on recall at 10 and mean reciprocal rank. An 8B model that trails by two points on MTEB can still win on your data, especially after fine-tuning. Teams that skip this step and pick by leaderboard rank often redo the work six months later, usually after a search quality complaint reaches an executive.

Fine-tuning also flipped in 2026. LoRA adapters for embedding models now train on a single GPU in a few hours, and the tooling around the open source LLM stack has caught up to the models themselves. A domain-tuned 500M model frequently beats a general 8B model at a fraction of the serving cost. That trade is only available when you own the weights, which is the argument that finally persuaded several skeptical platform teams.

Who loses when the weights are free

Hosted embedding APIs are the obvious casualty. OpenAI has not cut text-embedding-3 pricing since 2024, and that decision now looks expensive next to a free Apache 2.0 model that scores within a point. Google’s Gemini embedding endpoint still carries a free tier, but the quota is thinner than it was a year ago and tightening. Voyage AI built a business on retrieval quality leadership and now competes with free models that match its published scores. Cohere sits in the strangest position of all, because it undercut its own API by publishing the weights.

The pricing pressure is already visible. Inference startups including Together, Fireworks, and Baseten now offer embedding endpoints priced below the first-party APIs, running open weights on their own hardware. That is the standard playbook from the model price war, which we covered in our analysis of the AI price war and developer impact. Commodity layers get cheap. The money moves up the stack, toward orchestration, evaluation, and the applications that sit on top.

Vector database vendors are the quiet winners. Cheaper embeddings mean larger indexes, and larger indexes mean bigger storage bills at Pinecone, Weaviate, Qdrant, and pgvector deployments. Several of those vendors shipped quantized index formats in 2026 specifically to capture teams moving to 256-dimension vectors. One vendor’s cost cut is another’s volume growth, and the storage bill does not disappear just because the inference bill did.

End users win, mostly. Search quality improves when a product can afford to embed more content and reindex more often. Retrieval improves further when teams can fine-tune on their own logs instead of accepting a general model. The one group that loses is developers who built a thin wrapper around a paid embedding endpoint and priced their product assuming that cost would stay fixed forever. Those wrappers are now priced wrong.

  • Paid embedding endpoints lose their quality monopoly on public benchmarks
  • Second-tier inference providers gain by reselling open weights below first-party prices
  • Vector database vendors gain volume from larger and cheaper-to-build indexes
  • Thin API wrappers lose because their core cost is now available for free

License fine print that finance teams miss

Open weights are not one thing. Apache 2.0 and MIT sit at the permissive end. Models under those terms can be modified, redistributed, and hosted as a paid service with no royalty and no negotiation. Qwen3-Embedding-8B and BGE-M3 sit there. NVIDIA’s Open Model License is also permissive but carries a narrower patent grant and a requirement to pass through terms when you redistribute the model to downstream users.

Then there is the middle ground. Cohere’s Embed 4 license permits commercial products but restricts hosted resale, as noted on Cohere’s site. Mistral’s research licenses are stricter than its Apache releases, and the distinction is easy to miss when both are described as open. A custom license is not automatically bad. It is a contract, and contracts need a lawyer’s read. The failure mode is predictable. A startup wraps a model into a paid API, grows to a few million in revenue, and then discovers it needs a separate agreement that takes ninety days to negotiate.

Governance adds another layer. European customers increasingly ask where inference runs, because sending documents to a US endpoint creates a data transfer question that procurement teams now raise in the first meeting. Self-hosting answers that cleanly. This is one reason regulated industries adopted open embedding models faster than the broader market, even in cases where the paid API was cheaper on paper. Compliance beats price when the alternative is a stalled contract.

The practical rule for 2026 is simple. Check the license before you check the benchmark. A 70.58 MTEB score is worthless if legal blocks the deployment in week three. Teams that put the license review first saved themselves a rebuild, and the models that pass that review are the ones actually running in production today.

  • Apache 2.0 and MIT: full commercial freedom, no royalty, no negotiation
  • NVIDIA Open Model License: permissive, with patent and redistribution conditions
  • Cohere Embed 4: commercial use allowed, hosted resale requires a separate agreement
  • Mistral research licenses: stricter than the company’s Apache releases

What does the switch actually cost in practice?

Self-hosting has costs the API hides. GPU rental, quantization work, batch pipeline engineering, and an on-call rotation for an inference service that nobody wanted to own. A team of two engineers spending three weeks on a migration is roughly $30,000 in loaded salary, which erases the savings on a small corpus. The crossover is volume-dependent, and most analysts put it between 100 million and 300 million tokens per month for a dedicated deployment. Below that line, the paid API is usually the right call.

Managed open-weight endpoints soften the transition. Several providers now run Qwen3-Embedding-8B and BGE-M3 as serverless endpoints at prices between $0.008 and $0.015 per million tokens. That is 25% to 60% below the first-party paid APIs, with no GPU to manage and no on-call rotation to staff. For teams that want the license freedom without the operations burden, this is often the right middle path, and it is the option that grew fastest in June.

Quantization is the lever most teams underuse. FP8 and even INT8 embeddings lose less than one point of retrieval quality on most benchmarks while cutting memory 2x to 4x. That doubles throughput per GPU and directly halves the cost per document. Our headroom token compression overview covers the adjacent problem of trimming input length before it ever reaches the model, and the two savings stack cleanly.

The recommendation that follows is unromantic. Hybrid deployments win. Serve your latency-sensitive queries through a hosted endpoint, and run bulk reindexing on open weights overnight when GPU capacity is cheaper. That combination captures most of the savings without taking on a full migration, and it keeps a paid fallback in place for the week your self-hosted service misbehaves. Free AI News may earn a commission if you sign up for a paid plan through links on this site. This does not affect our reporting.

Frequently Asked Questions

What are open source embedding models?

They are models that convert text into numeric vectors and whose weights anyone can download and run. The permissive ones, such as Qwen3-Embedding-8B and BGE-M3, ship under Apache 2.0 or MIT terms, which allow modification, redistribution, and paid hosting without a royalty. Others, including Cohere Embed 4, use custom licenses that restrict resale.

Are open source embeddings actually cheaper than paid APIs?

At low volume, no. A hosted endpoint avoids GPU rental and operations work, and the per-token price is small. The math flips above roughly 100 million to 300 million tokens per month. A full reindex of 400 million documents costs about $2,000 through OpenAI’s text-embedding-3-small and roughly $90 in rented GPU time on an open 8B model.

What is MTEB and should I trust the scores?

MTEB, the Massive Text Embedding Benchmark, aggregates dozens of retrieval, classification, and clustering tasks into a single mean score. It is useful for shortlisting and unreliable for final decisions. Many June 2026 scores are vendor-reported rather than independently verified, and the benchmark’s retrieval tasks skew toward English web text.

Which open source embedding model should I start with?

For general multilingual retrieval, Qwen3-Embedding-8B and BGE-M3 cover most needs. For code search, Mistral’s Codestral Embed is purpose-built. For long technical documents, NVIDIA’s Llama-Embed-Nemotron-8B is tuned for that case. The right answer depends on your own query logs, not on leaderboard rank alone.

Do I need my own GPU to run these models?

Not necessarily. Managed endpoints from inference providers now serve Qwen3-Embedding-8B and BGE-M3 at prices between $0.008 and $0.015 per million tokens, well below first-party paid APIs. Self-hosting with a single rented 48GB GPU is cheaper at high volume but adds pipeline engineering and on-call work.

What is the catch with Cohere Embed 4 open weights?

The license permits internal use and product integration but requires a separate agreement to host the model as a paid service. That resale clause pushed at least a few teams toward Apache 2.0 alternatives. It is not a bad license, but it is a contract that needs a legal read before deployment.

Are paid embedding APIs going away?

No. They still win on latency, simplicity, and zero operations burden, and many products will keep using them. What changed in June 2026 is that they lost their quality monopoly. Free weights now match or beat hosted endpoints on public benchmarks, which puts downward pressure on prices across the category.

What Should You Remember?

  • Cohere Embed 4 went open weight on June 18, 2026, publishing an 8B multilingual model with a 32,768-token context and a resale restriction.
  • Qwen3-Embedding-8B led the pack at a reported 70.58 MTEB multilingual mean under Apache 2.0, enough to match paid endpoints on public retrieval tasks.
  • Cost crossover sits near 200 million tokens monthly, where a rented GPU reindex costs about $90 against roughly $2,000 on paid tokens.
  • Licenses decide deployments, not benchmarks. Apache 2.0 models can be hosted for profit, while Cohere and Mistral releases require separate agreements.
  • Free tier cuts pushed the shift, with Google trimming Gemini embedding quotas in May 2026 and several providers moving top retrieval models behind paid keys.
  • Hybrid stacks won the month, using hosted endpoints for latency-sensitive queries and open weights for overnight bulk reindexing.
  • Fine-tuning is now cheap enough to matter, since LoRA adapters train on a single GPU and a tuned 500M model often beats a general 8B model.

Free AI News is an independent editorial publication. Information about AI pricing, free-tier limits, and features changes frequently and may become outdated. Always verify current details through the vendor’s official pages. Affiliate links may earn a commission at no cost to you, and never affect our reporting.