Running AI at scale

CTranslate2

A programming library that makes AI language models run faster and use less memory.

Your data
Stays on your device
Coding needed
Developers only
Cost
Free
Runs on
Mac, Windows, Linux, Server
Computer
An ordinary computer is fine
Drafted with AIWidely usedNew this weekMostly for developers

What it does

CTranslate2 is a library, a set of building blocks for programmers, written in C++ and Python. It runs Transformer models, the type of AI model behind many translation, chat and speech tools, more efficiently on ordinary processors (CPUs) and graphics cards (GPUs).

It works with many well-known model families, including Llama, Mistral, Gemma, Whisper, T5 and BERT. Models are first converted into its own optimized format using the included converters. It can shrink models with quantization, which stores numbers with less precision. Its makers say this can make models about four times smaller on disk with little loss in accuracy.

Developers use it to translate or generate text with a few lines of code. It can spread work across several processor cores or graphics cards, and it supports Intel, ARM and Apple chips.

Who it's for

Developers and engineers who want to run translation, text generation or speech models faster and more cheaply, on their own machines or on servers.

Can I use it without coding?

Developers only. It is a programming library used from Python or C++ code, not a ready-made app. New to this? Start here.

Can I run it?

Cost
FreeNothing to pay or sign up for.
Runs on
Mac, Windows, Linux, Server
Computer
An ordinary computer is fine
Privacy
Runs on your own device: your data stays with you
API key
Not needed

Try it

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • Plain-AyI is an independent guide and doesn't host or review the software it lists. Please check each project's official page before installing.
  • License (MIT): Very permissive: free to use, change and share, including for business.
  • More on staying safe