Cohere on premise, private deployment and open source rerank alternatives

Cohere offers licensed on-premises and VPC private deployment, and its Command A open weights are non-commercial. The closest self-hosted alternatives for reranking are Apache-2.0 bge-reranker-v2-m3 served by Text Embeddings Inference, and vLLM for open-weight generation, with the trade-off that you own hardware, upgrades and model quality.

On this page

Which open-source alternative to Cohere Rerank and Command fits your infrastructure

If data residency, contract terms or cost keep you from sending data to hosted Cohere, the closest self-hosted options are BAAI's bge-reranker-v2-m3 for reranking, served through Hugging Face Text Embeddings Inference, and vLLM for serving open-weight generation models behind an OpenAI-compatible API. Both are Apache-2.0 licensed. The trade-off is that you take on the hardware, model selection, evaluation and patching work that Cohere's private deployment otherwise covers, and open-weight models will not match Command A on every task, so you need to test quality on your own documents before you approve a replacement.

Cohere's private deployment is a licensed product. Customers receive a license key that authenticates and pulls Cohere's model containers, so it is a commercial route with its own contract. The open weights are a different matter. Cohere Labs publishes Command A (111 billion parameters) on Hugging Face under CC-BY-NC 4.0 with an Acceptable Use Policy, behind a gated access form. That license is non-commercial, so using those weights to serve staff or customers in a business process is not a commercial route. Confirm the license terms with counsel before anyone downloads the weights for work use.

Security, privacy and procurement should approve this choice together. Security reviews the serving hosts, network paths, access controls and logging for the reranker and inference servers. Privacy confirms that the data flows stay inside your boundary and that no telemetry leaves it. Procurement checks the Cohere license or any commercial agreement, and records that the open-source components carry Apache-2.0 terms. Ask Cohere in writing which deployment type and license scope it would offer, and compare that quote with the internal effort to run the open stack.

License terms for Cohere private deployment and open-source options side by side

This table compares what Cohere's licensed private deployment and four open-source options allow commercially, what they restrict, and what your team must confirm before approval. Read each row as a question to put to the vendor or to your legal team, because license terms decide whether a self-hosted setup can serve production use with personal data.

OptionWhat the license allowsWhat it restricts or requiresWhat to confirm
Cohere private deployment (on-premises or VPC)Runs Cohere's model containers, endpoints, serving and fine-tuning framework on hardware you procure or in your AWS, Azure, GCP or OCI VPCAccess depends on a license key from Cohere used to pull model containers, so the contract governs use and continuityCommercial scope, term, renewal, support obligations, key rotation and what happens if the key is revoked
Command A weights (CohereLabs/c4ai-command-a-03-2025)Downloadable weights for research and evaluation under gated accessCC-BY-NC 4.0 is a non-commercial license, and the Cohere Labs Acceptable Use Policy also appliesWhether your intended production use is permitted, and whether Cohere offers a commercial license for these weights
bge-reranker-v2-m3 (BAAI)Apache-2.0 permits commercial use, modification and redistribution, subject to the license notice termsApache-2.0 requires license and notice retention; it does not supply a vendor warranty or supportYour legal team's review of notice obligations and whether your own data handling meets your privacy duties
Text Embeddings Inference (Hugging Face)Apache-2.0 serving software that runs embedding and reranker models on CPU, NVIDIA and AMD GPUsThe license covers the server code, not the model weights, so each served model needs its own license checkLicense of each model you load, such as bge-reranker-large or gte-multilingual-reranker-base
vLLM (open-source inference engine)Apache-2.0 serving software with an OpenAI-compatible API for open-weight generation modelsThe license covers the engine only; the license of every open-weight model you serve still governs useWhich generation models you plan to serve and their individual license terms before production use

What is free and what your team still has to run

Open-weight rerankers and inference servers carry no license fee, but the cost moves to your own hardware, platform and staff. Cohere's private deployment shifts some of that work to a licensed container, while still leaving the infrastructure with your team.

No license fee, real infrastructure cost

The Apache-2.0 rerankers and servers in this section carry no license fee for commercial use. Your organization still pays for GPUs or CPUs, storage, network, monitoring and the time to keep them patched. Ask for a cost estimate that separates hardware, cloud compute and staff hours, because the open-source line item is often the smallest one. Compare this with the license terms and fees in any quote for Cohere's private deployment.

Hardware, drivers and container prerequisites

Cohere's docs say the customer manages the hardware, drivers and container prerequisites in a private deployment. The same burden applies to Text Embeddings Inference and vLLM, which need GPU drivers that match your accelerator. Confirm which accelerator generations and driver versions each server supports before you buy capacity, and budget for a staging environment to test upgrades.

Cohere setup docs

Kubernetes is typical, not required

Cohere's private deployments typically run on Kubernetes, but the docs say this is not a firm requirement. Your team still has to decide how it schedules GPU workloads, handles autoscaling, restarts failed containers and isolates network traffic. If your platform team does not run Kubernetes today, a simple container host may be easier to secure, provided you can still meet your patching and monitoring needs.

Private deployment overview

What the license key covers

Cohere's setup docs say customers receive a license key that authenticates and pulls its model containers. Before signing, ask Cohere in writing what the key covers: which models and endpoints, how many deployments or environments, whether updates and security patches are included, how renewal works, and what happens to running systems if the key expires. Confirm whether the key permits fine-tuning and use in each VPC or site you plan to run.

Staff who can operate the stack

Running a reranker or inference server in-house requires people who can size GPU nodes, tune batch settings, rotate keys, review logs and respond to incidents. Name an owner for each component and a backup. Ask whether your current team has this experience or whether an implementation partner will cover setup and handover, and get the handover scope in writing.

Commercial use of Command A

The Command A weights on Hugging Face are licensed CC-BY-NC 4.0 under Cohere Labs' Acceptable Use Policy and are gated behind an access form. Non-commercial terms mean the open weights cannot be treated as a free commercial replacement for Command models. Have legal review the license and acceptable use policy before any staff or product depends on them, and keep the license decision separate from the infrastructure decision.

Command A model card

How a self-hosted rerank stack replaces Cohere Rerank

A self-hosted replacement for Cohere Rerank is not one product. It is a small stack of separate components, and each one needs its own owner, license review and capacity plan. The reranker itself can be BAAI's bge-reranker-v2-m3, an Apache-2.0 multilingual model of about 0.6B parameters built on bge-m3. It scores query and passage pairs, so it re-orders candidate documents that a retrieval step has already found. It does not retrieve anything on its own. A separate embedding model produces the vectors for that first retrieval step, and your search index or vector store has to hold them. Confirm the license of each model you pick on its model card, because the license of a reranker does not tell you the license of the embedding model or the generation model in the same stack.

Serving is where most of the operating work sits. Hugging Face Text Embeddings Inference is Apache-2.0 licensed and serves embedding and reranker models, including bge-reranker-large and gte-multilingual-reranker-base. It runs on CPU, on NVIDIA GPUs from Turing onward, and on AMD Instinct MI200 and MI300. Generation models can be served by vLLM, an Apache-2.0 inference engine with an OpenAI-compatible API server that runs on NVIDIA, AMD and Intel GPUs and on CPUs. Your application calls these endpoints the way it would call a hosted API, which keeps the change in the application small. Check the hardware list against the accelerators you can actually procure, and ask your platform team who patches the containers and who approves model upgrades.

Do not treat this stack as feature parity with Cohere. Cohere's private deployment ships endpoints, models, a serving framework and a fine-tuning framework as one licensed container set, while the open-source path gives you separate projects with separate release cycles and no vendor support contract. Relevance quality, language coverage and latency must be measured on your own documents before you retire Cohere Rerank, using a fixed test set and a rollback plan. Record which model versions are in production, who approved them, and how you will retest when a model changes. Those records are what a security or compliance reviewer will ask for.

Request flow for a self-hosted retrieval stack

The flow starts with a user query arriving at an application inside the organization's network, then passes to the organization's own retrieval index. The candidate passages return to a reranker served by Text Embeddings Inference, which scores each query and passage pair, and the top results can optionally go to a generation model behind a vLLM server. Every hop stays inside the customer VPC or data center. Check that no component in the chain makes an outbound call to a vendor endpoint, that the reranker and generation weights are pulled from a source your team has approved, and that logs for each hop stay in your own systems.

Query, retrieval, reranking and optional generation, all inside the customer network.

Which option fits small internal use, regulated environments and air-gapped networks

For a small team that wants retrieval and search over internal documents, the lowest-commitment path is an open-weight reranker served on a single machine. BAAI's bge-reranker-v2-m3 is an Apache-2.0 multilingual reranker of about 0.6B parameters, built on bge-m3, that scores query and passage pairs, so it is small enough to run on one supported GPU or on CPU for modest query volumes. Serving it through Hugging Face Text Embeddings Inference, which is Apache-2.0 licensed and runs on CPU or supported NVIDIA and AMD GPUs, keeps the setup to one service.

  • Hardware fit: confirm that your GPU generation or CPU is on the supported list in the Text Embeddings Inference documentation before you buy or allocate it.
  • Model choice: a 0.6B reranker is a scoring model, not a generator, so it does not replace a Command-class chat model.
  • Licensing: Apache-2.0 permits internal and commercial use, subject to the notice terms in the license.
  • Operations: one node means one point of failure, so define how the team restores the service if the host fails.
  • Data flow: queries and documents stay on the host, which you should verify with network logs during testing.

Before approving this path, have your security team confirm the exact model, container image and version you deploy, and record them in your asset inventory.

What drives total cost beyond the license

This table lists the recurring and one-time cost drivers that sit alongside a Cohere private deployment license or an open-source reranker stack. No price figures are supplied here, so use the rows to build your own cost model and request written quotes from Cohere and hardware vendors before comparing options.

Cost driverWho you pay or who does the workOne-time or recurringWhat moves it up or down
Hardware procurement (on-premises)Server and GPU vendors, plus your procurement teamOne-time, with refresh cyclesModel size, expected concurrency and whether reranking and generation share hardware; size with the server vendor
Cloud GPU instances (VPC)AWS, Azure, GCP or OCI for instances; Cohere for the licenseRecurring while deployedInstance type, hours running and reserved versus on-demand terms; ask Cohere which instance families it supports
Driver and container prerequisitesYour platform or infrastructure teamRecurringNumber of environments and how often GPU drivers and container runtimes are patched
Kubernetes operationsYour platform team or an implementation partnerRecurringWhether you already run Kubernetes; Cohere says it is typical but not a firm requirement, so confirm the alternative orchestration model
Model upgrades for new open-weight releasesYour ML or platform engineers, plus re-evaluation effortRecurringRelease frequency of open rerankers and generation models, and how much regression testing your use cases need
Reranker quality evaluation in your languagesYour domain experts and engineers building test setsOne-time setup, recurring retestsNumber of languages, document types and whether you compare against Cohere Rerank or bge-reranker-v2-m3
On-call staff timeYour operations and security staffRecurringUptime expectations, on-call rotation size and how much of the stack is in your own support scope

What the license and acceptable use terms require of your organization

Cohere's private deployment, its open weights and the open-source rerankers and servers each come with different license conditions. The cards below separate the obligations that apply to a Cohere license key, to Command A weights and to Apache-2.0 projects, so your counsel can check each one against the exact license text.

Cohere license key and private deployment

Cohere's setup docs say customers receive a license key that authenticates and pulls Cohere's model containers. Treat that key as a credential with an owner, a rotation process and a record of who holds it. Confirm with Cohere in writing which entity the license is granted to, which deployments it covers (on-premises or VPC), how renewal and expiry work, and whether the key permits use by your affiliates or contractors.

Private deployment setup

Cohere Acceptable Use Policy

Open weights for Command A come with Cohere Labs' Acceptable Use Policy, and access is gated by a form. The policy governs what your organization may do with the model, not only what the model outputs. Have your legal team read it alongside the model license, record which named people accepted it, and check whether your planned use cases, such as customer-facing automation or clinical text, fall within what it permits.

Non-commercial limit on Command A weights

Command A weights on Hugging Face are licensed CC-BY-NC 4.0, which is a non-commercial license. Using those weights to serve paying customers, to power a product sold to clients or to support revenue-generating internal work is likely outside the grant. Ask counsel whether a commercial agreement with Cohere is the only route to production use, and do not assume that a self-hosted copy changes the answer.

Command A model card

Apache-2.0 notice and attribution

Apache-2.0 projects such as Text Embeddings Inference, vLLM and bge-reranker-v2-m3 allow commercial use, modification and redistribution, but they expect you to keep copyright and license notices and to include the license with any copies you distribute. Internal use is the simplest case. If you package or ship a modified server to customers or affiliates, record every notice and any NOTICE file the project includes.

Model weights are not the same as code

Each open-source component carries its own license, and a model can be released under different terms from the server that runs it. Inventory every reranker, embedding model, inference engine and base model you deploy, record its license and version, and check whether any model card adds use restrictions beyond the software license. Keep this inventory with your software bill of materials so license reviews can be repeated.

Counsel review before rollout

Before any production use, ask counsel to confirm attribution, redistribution and user limits in each license text, including whether internal use by contractors or customers' data processing falls within the grant. Ask Cohere for the commercial terms that cover your intended use, and document the decision. This review is a recurring task, since license terms change between model versions and when you upgrade a component.

What to collect before approving a self-hosted rerank deployment

This sequence produces a reviewable record of licenses, data handling, ownership and fallback for each model and server in the rerank stack, so the approver can decide on evidence rather than on the tool's marketing. Work through it in order, because the license and commercial questions decide which components are even eligible.

  1. Collect the license text for each component

    Gather the license file and any acceptable use policy for every model and server in the planned stack, including the reranker weights, the embedding model if used, and the serving software. For the open-source candidates, record the Apache-2.0 license of bge-reranker-v2-m3, Text Embeddings Inference and vLLM from their repositories and model cards. For Cohere, the owner is the procurement or legal lead, and the output is a dated folder of license documents. Note any component whose weights carry a non-commercial term, such as Cohere Labs' Command A under CC-BY-NC 4.0, because it cannot be treated as commercially usable without separate review.

  2. Confirm edition and commercial scope with Cohere

    If the Cohere option is still under consideration, ask Cohere in writing which private deployment edition, model containers and fine-tuning framework the contract covers, whether the license key is tied to on-premises hardware or a VPC, and whether the license permits the intended production use. Confirm what the license key authenticates and how it is rotated. The owner is the buyer with legal review, and the output is a written answer that names the products, the deployment types and the usage terms. Do not rely on a sales summary in its place.

  3. Document data handling inside the environment

    Write down where query and passage text enters the rerank service, where it is logged, how long logs and caches persist, which network paths are open, and whether any container phones home for licensing or telemetry. Confirm that the serving stack runs with no outbound calls to the vendor or to model hubs at runtime, and that model weights are pulled once and stored under your control. The owner is the security or platform engineer, reviewed by the privacy lead. The closing check is a data flow diagram and a network policy export that match each other.

  4. Assign support and upgrade ownership

    Name an accountable owner for each layer: hardware and drivers, Kubernetes or container runtime, the serving engine, the reranker weights, and the application that calls them. For a Cohere deployment, record what Cohere supports and what the customer manages, since Cohere's docs place hardware, drivers and container prerequisites with the customer. For open-source components, record who watches security advisories and who approves version changes. The output is a responsibility matrix signed off by the service owner.

  5. Set an exit path back to a hosted reranker

    Define what happens if the self-hosted service must be retired, fails its review or cannot meet capacity needs. Specify the fallback reranker, whether it is a hosted API approved for the same data class, and how the application switches between endpoints without a code rewrite. Confirm that the stored index or embeddings can be rebuilt with the replacement model, because rerank scores and embedding spaces are not interchangeable. The owner is the application lead, and the output is a tested switch procedure with a named approver.

  6. Record a retest plan for retrieval quality

    Build a fixed evaluation set of representative queries and relevant passages from your own corpus, then score the current production ranking and the candidate self-hosted reranker on it. Repeat the same scoring after every model, engine or version change, and whenever the corpus changes materially. Record the metric, the threshold the team agreed in advance and the result. The owner is the search or data science lead with a reviewer from the business side. The closing artifact is a versioned evaluation report that the approver can compare across releases.

What catches buyers out with self-hosted rerankers and servers

Running a reranker or inference server yourself removes the vendor from the data path, but it moves licensing, versioning, sizing, quality and patching to your team. The cards below cover the checks that most often change the answer when a team compares Cohere's licensed private deployment with open-source alternatives.

Open weights are not free to use

Open weights are not the same as an open license. Cohere Labs publishes Command A weights under CC-BY-NC 4.0, a non-commercial license, and gates access behind a form and an Acceptable Use Policy. Before a team downloads anything, legal should read the license for each model, confirm whether the intended use is commercial, and record the answer. Apache-2.0 models such as bge-reranker-v2-m3 carry different terms, so each checkpoint needs its own review.

Command A model card

Unsupported or outdated model versions

A self-hosted model has no vendor pushing fixes or newer checkpoints. Confirm which exact version is in use, who decides when to move to a successor, and where that decision is logged. Cohere's private deployment comes with a vendor relationship and license key, while an open-source reranker is a snapshot that stays as released unless someone updates it. Ask who owns the model inventory and how retired versions are removed from the cluster.

Hardware sizing gaps across GPU vendors

Serving engines do not cover every accelerator equally. Text Embeddings Inference runs on CPU, NVIDIA GPUs from Turing onward, and AMD Instinct MI200 and MI300. vLLM is documented for NVIDIA, AMD and Intel GPUs and CPUs. If your fleet includes hardware outside these lists, or an older generation, the project may not run it at all. Test the exact driver, container image and accelerator combination before procurement, and do not assume that a model running on one GPU family will run on another.

Text Embeddings Inference repository

Quality drift without evaluation

A reranker that worked on your documents at launch can degrade when the corpus, query mix or languages change, and a model swap can change ranking results without any error being raised. Build a fixed set of representative queries with known relevant passages, score each candidate model against it, and rerun the set before any upgrade. Ask Cohere for its own evaluation results and compare them against your set, not against published benchmarks alone.

Staff dependency for upgrades and patches

Self-hosting makes your team responsible for container images, Kubernetes components, drivers, inference engine versions and model files. A vulnerability in a serving framework is not patched for you. Name an owner for each layer, subscribe to security advisories for the engines you run, and set a documented patch cadence. Where a single engineer holds the only working knowledge of the cluster, the setup becomes a continuity risk that a licensed vendor deployment would otherwise share with the vendor.

What buyers ask before approving a self-hosted Cohere alternative

Does Cohere private deployment require a license key?

Yes. Cohere's private deployment setup docs say customers receive a license key that authenticates them and is used to pull Cohere's model containers. The key is part of the commercial relationship, so procurement should confirm its term, renewal and what happens to running deployments if it lapses. Ask Cohere in writing which components the key covers, including the endpoints, the serving framework and the fine-tuning framework that ship in the container, and whether support for on-premises or VPC installs is included or billed separately. See the private deployment setup docs for the setup flow.

Can we run Command A commercially on our own infrastructure?

Not on the basis of the open weights alone. Cohere Labs publishes Command A (111 billion parameters) on Hugging Face under CC-BY-NC 4.0, which is a non-commercial license, and access sits behind a gated form that also points to Cohere Labs' Acceptable Use Policy. Using the weights for internal commercial work, customer-facing products or revenue-generating services is therefore a question for counsel. Commercial use of Command A generally requires a separate agreement with Cohere, so confirm the terms in writing before any production use. The model card lists the license and policy.

How much effort does running a self-hosted rerank stack take?

Effort depends on the hardware you already run, the number of queries you serve, and how many services you operate. Cohere's private deployment docs note that the customer manages hardware, drivers and container prerequisites, and that Kubernetes is typical but not a firm requirement. For an open-source stack, the main work is choosing a model such as BAAI's bge-reranker-v2-m3 (Apache-2.0, about 0.6B parameters), serving it with Hugging Face Text Embeddings Inference, and building the monitoring, scaling, patching and evaluation loop around it. Drivers include GPU or CPU capacity, latency targets, language coverage, and how often you refresh models. Ask your platform team to estimate these against your own workload, since no general figure applies.

Can our own team run this, or do we need outside help?

Many organizations with a platform team can run a small reranker service in-house, but the work is more than installing a container. The team needs skills in GPU or CPU provisioning, container orchestration, access control, logging and model evaluation. Outside help is usually scoped to the parts your team lacks, such as the initial architecture, hardening, security testing of the endpoint, or documenting controls for an assessment. DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted open-source platforms inside the client's own infrastructure, and most engagements are fixed-scope with scope, deliverables and timelines agreed in writing before work starts. A quote follows from that written scope.

What do we give up compared with hosted Cohere Rerank?

You give up the vendor's managed operation and, usually, its model quality guarantees for your language and domain. With hosted Cohere Rerank you rely on Cohere to run, update and scale the service under its contract. With an open-source reranker you own uptime, patching, capacity planning and regression testing after each model change. Evaluate retrieval quality on your own queries before switching, because published benchmarks may not match your documents. Also confirm which support, SLA and indemnity terms you lose, and which compliance evidence you must now produce yourself, such as access logs, data flow diagrams and change records.

Which inference engine should we pick for generation models?

For open-weight generation models, vLLM is an Apache-2.0 inference engine with an OpenAI-compatible API server, and it runs on NVIDIA, AMD and Intel GPUs and on CPUs. That compatibility makes it easier to swap a hosted API for an internal endpoint without rewriting client code. Choose the engine after you pick the model, because the model's license, size and hardware target determine what you can run. Check the vLLM repository for current supported hardware before procurement, as support changes between releases. Text Embeddings Inference covers embedding and reranker models, so many teams run it for retrieval and vLLM for generation.

What security controls must we check before approving a self-hosted deployment?

Treat the self-hosted service as a new system in your inventory. Confirm who can pull and update model containers, how license keys or model tokens are stored, whether inference logs contain prompts or documents, and whether the endpoint is reachable only from approved networks. Map the data flows so your privacy team can see where queries, documents and scores move. Security testing of the endpoint, including authentication, input handling and access to logs, is a common step before approval. Keep the evidence, since you will need it for audits and internal reviews.

How DeployOpen helps your team deploy open-source reranking and generation in your own infrastructure

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Cohere on premise, private deployment and open source rerank alternatives, the work starts with a written scope that compares your current Cohere terms with the open-source rerankers, embedding servers and inference engines you could run instead.

How we scope

  • Written scope names which Cohere workloads are in question, such as reranking, generation or embeddings, and which data classes they touch.
  • Scope records where the platform will run, whether on-premises hardware or a VPC you control, and who owns hardware and drivers.
  • Engagements are fixed-scope, so deliverables, timelines and responsibilities are agreed in writing before any build work starts.

How we build

  • We deploy the chosen open-source reranker, such as bge-reranker-v2m3, behind your SSO, access control and audit logging.
  • We configure serving components, including Text Embeddings Inference or vLLM, to match your hardware, GPU vendor and network boundaries.
  • We run security testing on the deployed stack, covering access paths, credential handling, logging and exposure of query and passage data.

How we hand over

  • Handover documents architecture, configuration, data flows and license obligations, including any non-commercial limits on model weights you review.
  • Your compliance and security teams receive evidence on access controls, logging and data handling for their own review and assessment.
  • We prepare systems and evidence for compliance assessments, but independent auditors and certification bodies issue any reports or certifications.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover, including model and server version updates.
  • Retesting follows fixes so your team can confirm that changes to the rerank or generation stack did not open new exposure.
  • Ask for a quote that itemizes scoping, build, testing, documentation and retainer components so you can compare it with licensed Cohere private deployment.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.