DeepL on premise and open source alternatives

Organizations that cannot send EU or confidential text to DeepL can self-host open-source translation engines. The closest options are LibreTranslate, Argos Translate and OPUS-MT on CTranslate2, and the main trade-off is that your team runs, tests and governs the engine itself.

On this page

Can an open source DeepL alternative run in our own infrastructure?

An organization that cannot or will not send documents to DeepL, because of a regulation, a customer contract, a residency requirement or cost, can run an open-source machine translation engine inside its own infrastructure. The closest candidates in the supplied sources are LibreTranslate, a self-hosted, offline capable translation API licensed under AGPL-3.0 whose translation engine is Argos Translate (MIT licensed), and OPUS-MT models, which are MIT licensed as a repository and run on the CTranslate2 inference engine (MIT licensed). The main trade-off is that the organization operates the engine itself and must test its output quality against DeepL on its own documents, language pairs and terminology before anyone relies on it.

Several roles on the reviewing team need to be involved from the start. IT owns hosting, capacity planning, patching and access to the service. Security reviews the network placement, authentication, logging and how documents are handled in memory and on disk. Privacy confirms that the self-hosted flow removes the need for a DeepL processor contract for that content, and records where the data now sits. Procurement should confirm that the license terms of each component, including the AGPL-3.0 obligations for a modified LibreTranslate service exposed to users, and the CC-BY 4.0 terms for the downloadable OPUS-MT models, fit the intended internal use. Ask the engineering team to document which model versions were tested.

Before approving a self-hosted engine, ask for a side-by-side sample of translated documents from DeepL and from the candidate engine, reviewed by native speakers in the target languages, and record the error types that matter for your content, such as legal terms, clinical wording or product names. Also confirm what the organization will own after go-live: who maintains model updates, who answers security advisories, and what a support contract from any commercial vendor would cover. If the quality gap is material for some language pairs, the decision may be to keep DeepL for lower-risk content and restrict the self-hosted engine to regulated documents, which should be written into the acceptable use rule.

Which open source translation project covers which part

This table maps four open-source translation projects to the layer each one occupies, from the inference engine to the API service. Read the license and testing columns together: the code license, the model license and the serving layer each carry separate obligations. The main takeaway is that no single project replaces DeepL on its own, so the organization must choose and test a combination.

ProjectRole in the stackLicenseWhat it covers for an organizationWhat must be confirmed in testing
LibreTranslateSelf-hosted translation API serviceAGPL-3.0An API that staff tools can call, running offline and without Google or Azure dependencies; its engine is Argos TranslateNetwork-facing obligations under AGPL-3.0 for any modified version, access controls, and whether output quality meets the document types in scope
Argos TranslateOffline translation engine and Python libraryMITTranslation logic that can run inside an internal application or behind LibreTranslate without sending text to an external serviceInstalled language packages, their individual licenses, and fitness for the languages and domain terms the organization handles
OPUS-MTPre-trained neural translation models and web servicesMIT repository; pre-trained models under CC-BY 4.0Downloadable models and services that organizations can host, with model licenses that differ from the code licenseAttribution duties under CC-BY 4.0, review of each model's provenance, and quality on the organization's own sample documents
CTranslate2Inference engine for Transformer models on CPU and GPUMITRuntime that serves converted models such as Marian and OPUS-MT models on the organization's hardware, which affects throughput and costHardware sizing, conversion of chosen models, and whether latency and throughput meet the expected document volume

Which self-hosted option fits which situation

A small team that translates occasional internal documents on a single server usually needs the lowest operational load. LibreTranslate is the most direct starting point because it packages a self-hosted, offline capable machine translation API that does not depend on Google or Azure, and it uses Argos Translate as its translation engine. Argos Translate itself is an MIT licensed Python library, which suits a team that prefers to script translation inside its own tools.

  • Single-node deployment: LibreTranslate runs as one service on infrastructure the organization already controls, so no content leaves that host for translation.
  • Lightweight scripting: Argos Translate fits a team that wants to call translation from internal scripts without running an API.
  • License on internal use: AGPL-3.0 on LibreTranslate carries source disclosure duties if the modified service is offered to users over a network, so note that when staff access it through a web interface.
  • Model choice: Confirm the license of each language model you download, since model terms can differ from the code license.
  • Access control: Restrict the endpoint to the internal network, because a default API installation does not give you user accounts.

Before rollout, confirm which languages you need, test output quality on your own documents, and confirm the license of every model you install.

How the open-source translation parts connect

The diagram starts with a client application that sends text to LibreTranslate, the self-hosted API, which hands translation to its Argos Translate engine. Argos Translate is MIT licensed and runs offline, while LibreTranslate is AGPL-3.0, so modifications served over a network carry source obligations. The lower path shows OPUS-MT models running through CTranslate2 as a separate inference route. Everything sits inside the organization's own infrastructure boundary, and no DeepL endpoint appears in that path. Check each model's license separately, since the OPUS-MT repository is MIT but its downloadable pre-trained models are under CC-BY 4.0.

Self-hosted translation components and their licenses, with DeepL outside the boundary.

What drives the total cost of self-hosting translation

This table lists the cost components an organization carries when it runs an open-source translation engine itself, and who is paid for each. The licenses in this topic (AGPL-3.0, MIT and CC-BY 4.0 for the downloadable OPUS-MT models) are free to use under their terms, so the recurring and one-time costs sit in infrastructure, staff time and quality evaluation. Use the table to scope a quote, and treat the drivers as the questions to answer with your own test results.

Cost componentOne-time or recurringWhat drives it up or down
Infrastructure to run the engineRecurringDocument volume, peak concurrency, whether you run CPU or GPU, and the language pairs loaded at once. Request sizing from the chosen project's documentation and test on your own files.
Staff time to install, configure and testOne-time, with later reworkNumber of engines compared, whether you need SSO or an API gateway in front, and how many environments you maintain. Fixed-scope work agreed in writing keeps this bounded.
Quality evaluation on your own documentsOne-time per document type, repeated on model changesDocument types (contracts, clinical letters, forms), number of language pairs, and whether native reviewers are available. Build a test set from real but de-identified samples.
Model selection and license review per language pairOne-time per pair, then on each model updateNumber of language pairs and model versions. Check each model's license separately, since the OPUS-MT repository is MIT but its pre-trained models are CC-BY 4.0.
Monitoring, logging and access controlRecurringWhether translation requests contain personal data, log retention rules, and how many staff or systems call the API. Confirm which logs the engine writes by default.
Patching and security updatesRecurringHow often upstream projects release fixes, the depth of your dependency tree, and whether you rebuild container images yourself. Assign an owner before go-live.
Upgrades and re-testingRecurring, lumpyMajor engine or model changes, which force new quality evaluation and sometimes new hardware. Ask vendors and maintainers how they announce breaking changes.
Support and internal ownershipRecurring, unless outsourcedWhether an internal team or a retainer covers on-call response, documentation and audit evidence. Ask any implementation partner to price these as separate line items in the quote.

What each license requires of the organization

Each open-source translation component carries its own license, and the obligations differ. The cards below separate the code licenses from the model license so a reviewer can map each duty to the component that triggers it before anything is deployed.

AGPL-3.0 for LibreTranslate

LibreTranslate is licensed under the GNU Affero General Public License v3.0, a copyleft license that extends source disclosure to users who interact with modified software over a network. If your team modifies LibreTranslate and offers it to staff or customers through an internal API, the reviewer must determine whether the source of those modifications must be made available. Legal review should confirm how this applies to internal use and to any wrapper or gateway built around the service.

LibreTranslate repository

MIT for Argos Translate

Argos Translate is an offline translation library licensed under the MIT license. Organizations that use it, modify it or bundle it into internal tools must keep the copyright notice and the permission notice in copies of the software. The MIT license places few other conditions on use, which makes it simpler to review, but the notice obligation still applies to every redistribution inside your own products.

Argos Translate repository

MIT for CTranslate2 and the Opus-MT repository

CTranslate2, the inference engine that can run Marian and OPUS-MT models on CPU and GPU, and the Opus-MT code repository are both MIT licensed. The same duty applies: keep the copyright and permission notice with any copy you distribute or embed. Confirm that these notices are carried into container images and internal packages, since teams often rebuild those artifacts and drop the license files.

CTranslate2 repository

CC-BY 4.0 for pre-trained OPUS-MT models

The README of the Opus-MT project states that its pre-trained downloadable models are released under the Creative Commons Attribution 4.0 license. The repository's MIT license does not cover those weights. Using or redistributing the models requires attribution to their creators, and your internal documentation should record which model files were used and how they were credited.

Opus-MT repository

Checking each downloaded model separately

A model downloaded from a hub or a project page can carry a license that differs from the code that runs it. Before deployment, record the license of every model file, adapter and language pack your team pulls, and confirm whether it permits internal use and any redistribution you plan. Keep the license texts and the source URLs in your asset register so the review covers the weights, not only the software.

What to collect before approving a self-hosted translation engine

This sequence moves a self-hosted translation engine from a candidate to an approved service by checking licenses, measuring output quality against DeepL, and assigning ownership for operations, data handling and exit. Each step produces a record that a security, privacy or compliance reviewer can inspect.

  1. Confirm license text for each project and model

    Legal or procurement staff read the license file each project ships with, not only the summary on the repository page, and record the license for the engine, the translation library and every downloaded model. The LibreTranslate project is licensed AGPL-3.0, Argos Translate is MIT licensed, and the OPUS-MT repository is MIT licensed while its pre-trained downloadable models are under CC-BY 4.0, so the model license is a separate item to check. Done means a signed-off register lists each component, its license, and whether the intended internal use or any redistribution triggers obligations you must meet.

  2. Build a quality test set from your own documents

    The team that owns translation work selects a sample of real documents from the languages and document types the organization handles, with personal or confidential content handled under existing internal rules. Each sample is sent to the current DeepL output and to the candidate engine, and reviewers of the target language grade both results. Done means a scored test set exists with the source files, reference outputs and reviewer names retained under the organization's records policy.

  3. Record which languages and document types pass

    Reviewers compare the candidate output against the DeepL baseline for each language pair and document type, such as contracts, clinical correspondence, support tickets or student records. The result is a pass or fail decision per pairing, with notes on the errors that matter for your use, such as terminology, named entities, numbers and negation. Done means an approved matrix states exactly where the self-hosted engine may be used and where staff must keep using a hosted tool or a human translator.

  4. Assign owners for patching and monitoring

    The platform owner names who applies security updates to the engine, the runtime and the operating system, who watches the service for failures, and who responds to a vulnerability disclosed in a dependency. Open-source projects publish their own release cadence, so the organization must decide which upstream releases it tracks and who approves a change to the model set. Done means a written runbook lists named owners, the monitoring signals they receive, and the escalation path to the security team.

  5. Document data handling inside your infrastructure

    The privacy or compliance lead writes down where source text, translated output and any logs are stored, which backups hold copies, how long each store is kept, and who can delete them. Because the engine runs in your own environment, these answers replace the vendor terms you would otherwise rely on for a hosted tool, so the record must be complete. Done means a data flow diagram and retention table are approved and linked to the processing record kept for personal data.

  6. Set access control and audit logging

    The identity team restricts who can submit text, who can administer the service and who can change the model set, and connects those roles to single sign-on where the deployment supports it. Logging is configured to record access and administrative actions without storing the translated personal content itself unless policy requires it. Done means a test shows that an unauthorized user is refused, that administrative changes appear in the log, and that the log location and retention are documented.

  7. Agree an exit path back to a hosted tool

    Before go-live, the business owner and the privacy lead agree the conditions under which the self-hosted engine is switched off or limited, and the fallback that applies, such as a hosted tool under an approved data processing agreement or a human translation service. The fallback must be checked against the same data rules, including regional endpoints and retention settings. Done means a written exit plan names the triggers, the fallback service, the staff who switch over, and the date on which the fallback contract was last reviewed.

What catches buyers out with self-hosted translation

Running an open-source translation engine moves quality, licensing, operations and compliance evidence into your organization. Each of the risks below is easy to miss in a pilot and expensive to discover after staff depend on the engine for documents with personal or confidential data.

Assuming open-source quality matches DeepL

Open-source engines are often evaluated on general benchmarks, not on your documents. A model that reads well on news text can mistranslate clinical terms, contract clauses or regional names. Build a test set from your own material, include the language pairs you actually need, and have bilingual reviewers score the output before any rollout. Compare the results against your current DeepL output rather than against an assumed baseline. The check should be repeated whenever you change models.

Overlooking per-model licenses

The engine's software license and the license of each pre-trained model are separate questions. For example, the OPUS-MT repository is MIT licensed, but its README says the pre-trained downloadable models are under CC-BY 4.0. Attribution duties and permitted uses can differ between models, and a model may be fine for internal use but unsuitable for a customer-facing product. Record the license of every model you deploy, and have legal review it before production.

OPUS-MT repository

Underestimating ongoing operations work

A self-hosted engine needs its own servers, GPU or CPU capacity, container images, TLS certificates, access control, logging and monitoring. Someone must apply security patches, test model and library updates and handle capacity spikes. These are recurring costs that DeepL's hosted service absorbs. Ask who on your team owns the engine, what the on-call path is, and how a failed update is rolled back.

Assuming the project carries a DPA or certification

An open-source project does not hold a SOC 2 report, an ISO 27001 certificate or a Data Processing Agreement with you. Your organization owns the compliance evidence for the system it runs, including data flow records, access reviews, retention settings and transfer assessments if any component calls an external service. DeepL, by contrast, publishes its ISO 27001 and SOC 2 Type II certificates through its Trust Center. Plan the evidence file before you approve the tool.

Running an unsupported or stalled project

Translation libraries and model servers change quickly, and dependencies can fall behind security fixes. Before you commit, check the project's repository activity, open security issues, release notes and the date of the most recent release for every component, including the engine, the inference runtime and the model files. A project with slowing maintenance may still work, but you then carry the cost of forking or patching it yourself. Re-check these signals at each review.

CTranslate2 repository

Questions buyers ask before approving a self-hosted DeepL alternative

Does DeepL offer an on premise deployment?

DeepL's Pro plan and DORA pages do not mention an on premise deployment, so the reader should not assume one exists. The sovereignty post describes DeepL for Sovereign Markets, which DeepL hosts and operates within the EU, which is a different model from running the engine in your own data center. Ask DeepL in writing whether any on premise or customer-hosted translation option exists for your contract, which regions and plans it covers, and what contractual terms apply. Read the DeepL Pro plans page first so the question you send is specific to the plan you buy.

Which open-source machine translation project is closest to DeepL for self-hosting?

No open-source engine matches DeepL's quality for every language pair, so the choice depends on your languages and document types. LibreTranslate is a self-hosted, offline capable API licensed AGPL-3.0 that uses Argos Translate as its translation engine, and Argos Translate itself is an MIT licensed offline Python library. OPUS-MT provides open neural models under an MIT licensed repository, with pre-trained downloadable models under CC-BY 4.0, and CTranslate2 is an MIT licensed inference engine that lists Marian and OPUS-MT among supported model types. Test each candidate on your own sample documents before choosing one.

Can our own staff run a self-hosted translation engine?

Yes, if you have staff who can operate a containerized or Python-based service, manage updates, and run structured quality tests. The work includes hosting the service, controlling network access, setting up authentication in front of the API, logging, and patching. Quality is the part most teams underestimate, because you need a reference set of documents per language pair, a review process with fluent reviewers, and a repeatable way to compare output against DeepL on the same text. If those skills are missing, an outside team can take on part of the work under a written scope.

What drives the cost of running an open-source translation engine?

Most cost is staff time and infrastructure, and very little is license fees, since the core projects are MIT or AGPL-3.0 licensed. One-time costs include hosting setup, integration with your document workflow, and the first quality evaluation. Recurring costs include compute for peak translation volume, monitoring, security patching, model updates, and periodic re-testing when you add languages or document types. Costs rise with the number of language pairs, the volume of confidential documents, required availability, and any need for review by a licensed translator. Ask any vendor for a quote that separates these components.

Does the AGPL-3.0 license of LibreTranslate affect internal use?

Using AGPL-3.0 software inside your organization for your own staff is generally different from offering a modified version of it to users over a network, which the license treats differently. The AGPL-3.0 network clause is the part to review, because if you modify LibreTranslate and make it available to external users, such as customers or partners calling the API, you may have obligations to offer them the corresponding source code. Have your legal team confirm how the license applies to your exact deployment, whether you modify the code, and who can call the service. MIT licensed components such as Argos Translate and CTranslate2 carry different obligations.

What should we ask for in a quote for outside help with a self-hosted translation engine?

Ask for a written scope that lists the languages, document types, file formats, expected volumes, and the systems the engine must connect to. Ask which open-source projects and model versions the quote covers, and how licenses for each component will be reviewed. Require a stated test method: the reference documents, the language pairs tested, how output is compared against your current DeepL results, who reviews translations, and what pass criteria apply. Also ask what deliverables you receive, how hardening and access controls are documented, what ongoing support is included, and which items are one-time versus recurring. DeployOpen plans and implements fixed-scope engagements agreed in writing before work starts.

How DeployOpen helps teams run private translation under their compliance rules

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own cloud accounts, data centers or air-gapped networks. For DeepL on premise and open source alternatives, that means turning a translation requirement into a tested, documented engine that the client's security and compliance teams can review.

How we scope

  • Map which documents, languages and personal data categories the translation engine must handle
  • Confirm the hosting target: client cloud account, data center or air-gapped network
  • Agree the written scope, deliverables and timeline before any work starts
  • Define access control, SSO and audit logging requirements for translation users and admins

How we build

  • Deploy the chosen open-source engine, such as LibreTranslate, Argos Translate or OPUS-MT with CTranslate2, in the client's environment
  • Customize language pairs, document handling and integration points with existing workflows
  • Configure access control, audit logging and data handling controls for compliance review
  • Run security testing on the deployed service, including its API and file upload paths

How we hand over

  • Deliver architecture, configuration and data flow documentation that reviewers can check against their own controls
  • Document the license terms of each engine and model, including attribution and commercial use conditions
  • Provide evidence packs for compliance assessments, although independent auditors issue any audit report
  • Train the client's operations staff to run, update and back up the translation platform

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after handover
  • Re-test the platform after engine, model or language pack upgrades
  • Review license changes in upstream projects that could affect how the client may use the software
  • Ask for a quote that lists scope, deliverables, testing and retainer terms in writing

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.