Convert and optimize your model for Apple devices.
Convert and optimize your model for iPhone, iPad and Mac.
One command to get your model
running on 2 billion Apple devices.

Convert in one command.
If your model is based on a popular architecture, including your own fine-tunes and adaptations, it converts in one command.

Add new architectures easily.
If your model uses standard blocks, adding support is just a new config. If it uses custom layers, we build the converter for you.

Mirai can support your custom / non‑standard layers.
We will build full conversion pipeline specifically for your model. You will have the same correctness validation and quality measurement as standard models.
Our optimization pipeline prepares your model for peak performance on Apple devices.
Draft model training for speculative decoding.
We train a lightweight draft model matched to yours. The draft predicts tokens ahead, your model verifies in one pass. Up to 2x faster generation.
Quantization with
minimal quality loss.
We use state of the art quantization methods to achieve the best quality at the given size. You see the exact tradeoff between size, speed, and accuracy.
Output correctness and
quality validation.
Layer-by-layer comparison against reference outputs. We measure how optimization affects your model's output quality. Any deviation is flagged.
Models already
running on Mirai.
Optimize your model for 2 billion Apple devices.
Perfect for:
Model companies.
You train and ship models. Mirai optimizes them for Apple Silicon, benchmarks on real hardware, and distributes.
AI researchers & labs.
Mirai converts your model and puts it in front of real users on Apple devices, not just leaderboards.
Independent makers.
You're fine-tuning or training from scratch. Mirai gives your model the same device reach as OpenAI and DeepSeek.
Common questions:
Our stack consists of two main products:
It takes original model checkpoints and converts them into a format supported by the inference engine. This format is an intermediate representation composed of unified blocks, each backed by a corresponding encoded sequence in the inference engine. If your model is built using already supported blocks, nothing special is required, you can simply run the conversion command yourself. If your model introduces custom layers, we can easily add support for them (and you’re welcome to implement it yourself as well).
Each unique block from the intermediate representation has corresponding backend-specific kernels, which are executed on the target compute device during inference. Similar to the conversion toolkit, if your model introduces a new type of layer, the corresponding kernels will need to be implemented.
We currently support a wide range of architectures. You can find the full list of supported models here:
Full list of local modelsAs shown in our benchmarks, Mirai significantly outperforms other inference engines on edge devices. The performance boost varies depending on the specific model-device pairs. We also provide out-of-the-box speculative decoding. In this setup, proposals are generated using a very small model (<50MB), allowing it to run even on iOS devices.
This fully depends on device capabilities. On macOS, very large models such as GPT-OSS can run depending on available memory. On iOS, we recommend staying under 3GB of RAM usage. Quantized 4B models are typically a great fit.
Our inference engine includes a built-in CLI tool with a dedicated benchmark command. You can find more details here:
Link to the CLI toolFeel free to reach out via email.
contact@trymirai.comYou can also join our Discord:
Mirai DiscordOr book a call with our engineers. We’d be happy to discuss your specific requirements:
Book a call