Back to directory

Content & Publishing · Publishing

LibreTranslate

A self-hosted machine-translation API powered by Argos Translate

LibreTranslate is a free, AGPL-3.0 open-source machine-translation API for self-hosted deployments. Powered by Argos Translate, it supports HTTP and batch requests, Docker, pip, systemd, and reverse proxies. Organizations retain control over data, models, and infrastructure, while the hosted libretranslate.com service offers paid production API access starting at $29 monthly.

Key facts

License
AGPL-3.0
Main language
Python
Maintainer
LibreTranslate community
First released
2020
Latest release
v1.9.6, May 26, 2026
GitHub stars
about 17k, October 2026
Hosted option
Managed API from $29/month, paid API key required for production

What LibreTranslate is

LibreTranslate is a self-hosted machine-translation API maintained by its open-source community. The repository was created on December 19, 2020, making 2020 the documented repository year. GitHub search data shows about 17,000 stars and 1,700 forks, although the project does not publish a complete user or contributor count in its reviewed pages. The README describes a free and open-source API that avoids proprietary translation services. Argos Translate supplies the translation engine. The project is not presented as a company product or open-core edition. Its practical audience is developers and organizations that need an HTTP translation service while retaining control over deployment, request handling, and model storage.

How it works

A normal workflow begins by installing the Python package or starting the Docker image, then sending a POST request to the translation endpoint. The request includes text, a source language, and a target language, and the response contains translated text. The documentation also shows batch requests that pass an array of strings in the q field. Users can run the service locally, expose its browser interface, or place it behind a reverse proxy with HTTPS. Language models are loaded from Argos packages, and the FAQ documents their default storage location. The hosted endpoint requires an API key for production use. LibreTranslate fits application integration, internal tools, and controlled translation workflows rather than human translation management.

Architecture and recent releases

LibreTranslate is primarily a Python service and uses Argos Translate for machine translation. Its documented deployment options include pip installation, Docker, and a systemd service. The default local endpoint listens on port 5000. Documentation includes Apache, Caddy, and NGINX reverse-proxy configurations, while Docker examples include restart behavior and model updates. The basic service does not require PostgreSQL, Redis, or object storage. Releases in 2026 include v1.9.0 on February 10, v1.9.1 and v1.9.2 on February 21, v1.9.4 on February 24, v1.9.5 on March 3, and v1.9.6 on May 26. Recent changes include Portuguese auto-detection fallback, removal of PyTorch and Stanza, model prefetching, file-translation fixes, and a Turkish interface.

License and pricing

AGPL-3.0 permits commercial use, copying, modification, and charging for copies or support. Its network-copyleft terms require operators of modified publicly accessible server versions to provide corresponding modified source to interacting users. LibreTranslate is not described as an open-core product with proprietary server components. Self-hosting has no software subscription charge, although operators pay for compute, storage, bandwidth, and model downloads. The managed service offers paid API access through the LibreTranslate portal. Search results list a Pro plan at $29 per month with bursts of up to 80 translations per minute and a Business plan at $58 per month with bursts of up to 200 per minute. Both list a 2,000-character limit per call and unlimited total translations.

Limitations and how it compares

The main constraint is model quality, which can vary by language pair, while operators must manage model packages, capacity, authentication, logging, and transport security. Compared with Argos Translate, LibreTranslate adds a shared HTTP service, browser interface, and deployment packaging. Compared with OpenNMT, it provides a more ready-to-run API around packaged translation models instead of focusing on training and serving workflows. Compared with DeepL API, it gives organizations more deployment control but does not promise the same commercial translation quality or service model. Pick LibreTranslate when local processing, an AGPL server, and a conventional translation endpoint matter more than managed operations, broad commercial coverage, or proprietary model performance.

Main features

  • Translation API. Accepts HTTP requests containing source, target, and text fields, then returns machine-translated text for application integration.
  • Argos engine. Uses the open-source Argos Translate library and downloadable language models instead of proprietary Google or Azure translation services.
  • Batch translation. Accepts an array of strings in the q field, allowing applications to translate multiple values in one request.
  • Docker deployment. Official Docker usage provides a repeatable installation path and supports local port 5000 exposure for service deployment.
  • Reverse proxy support. Documentation includes Apache, Caddy, and NGINX configurations for HTTPS termination and forwarding traffic to LibreTranslate.
  • Model management. Language models are stored as Argos packages, with documented commands for updating models inside a running Docker container.

Self-hosting LibreTranslate

Install LibreTranslate with pip and run the libretranslate command, or use the project Docker image. The default service listens on port 5000 and can run behind Apache, Caddy, or NGINX with HTTPS. A systemd example covers startup and restart management for a Python installation. The documented basic server does not require PostgreSQL, Redis, or object storage. Model packages consume disk, and translation consumes CPU or GPU capacity. Persist model storage, protect the endpoint, review request logging, pin package or image versions, and test language pairs after upgrades. Back up configuration and any locally managed API-key policies.

Strengths

  • AGPL-3.0 permits commercial deployment while preserving network-copyleft obligations.
  • Argos Translate keeps the core translation path independent of proprietary cloud APIs.
  • Docker, pip, and systemd support common self-hosting arrangements.
  • The HTTP API supports direct integration and batch translation requests.

Drawbacks

  • Translation quality varies with the installed Argos language model and language pair.
  • Operators must provide capacity and storage for model packages and inference.
  • Self-hosting transfers authentication, updates, logging, and security responsibilities to the operator.

What teams replace with it

Teams usually evaluate LibreTranslate when they want to move off Google Cloud Translation, Microsoft Translator, DeepL API.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to LibreTranslate

  • Argos Translate
  • OpenNMT
  • Marian NMT
  • Apertium
  • Lingva Translate

Frequently asked questions

Is LibreTranslate free?

The server is free software and can run on infrastructure you control without a hosted subscription. Self-hosting still incurs compute, storage, bandwidth, and administration costs. The managed libretranslate.com service is separate and requires a paid API key for production use. Search results list managed plans beginning at $29 per month.

Can a company use LibreTranslate commercially?

Yes. AGPL-3.0 allows commercial use, modification, distribution, and charging for copies or support. If you modify the covered server and allow users to interact with it over a network, the license requires an offer of the corresponding modified source. Bundled language models and dependencies may have separate terms that a commercial deployment should review.

How do I self-host LibreTranslate?

Install the Python package with pip and run libretranslate, or start the Docker image. The normal local endpoint uses port 5000. You can put it behind Apache, Caddy, or NGINX for HTTPS, and use systemd or a container restart policy for service management. Model packages should be stored persistently and updated deliberately.

How does LibreTranslate compare with Argos Translate?

Argos Translate is the translation library and engine, while LibreTranslate packages that capability as a network service with an HTTP API, browser interface, and deployment documentation. Choose Argos Translate when an application needs embedded local translation logic. Choose LibreTranslate when multiple applications or users need a shared translation endpoint.

Does self-hosted LibreTranslate keep text private?

A self-hosted instance processes requests on infrastructure controlled by the operator, so requests need not be sent to a third-party translation provider. Privacy still depends on deployment configuration. Use encrypted transport, authentication, restricted network access, and careful request logging. The hosted service has separate operational terms and should not be treated as identical to self-hosting.

Similar projects to compare

Sources

Last updated 2026-10-22.