03 / ZERO-TOKEN-FEE LOCAL & APP INFERENCE · Founders, Mac App Studios & Engineering Leads

Cut Recurring Cloud AI Bills & Ship Native Mac AI Features

Stop paying per token for daily coding help, internal document workflows, and desktop app features. xFermat benchmarks each matrix shape once to lock in Apple Silicon's fastest kernel path—turning hardware you already bought into €0-per-token inference.

VERIFIED BENCHMARK RESULT
€0 / Token Local Inference
Save €36k–€72k/yr per 100 seats · Zero algorithmic slowdowns on Metal
€0 marginal token cost · Native Apple Silicon speed
THE BOTTLENECK

Why cloud API bills balloon—and why naive speedups backfire

Seat-based cloud AI tools run €36k–€72k per year for a 100-person team while charging again as usage grows. Meanwhile, dropping academic fast-math algorithms directly into Metal often runs 1.3×–2.3× slower than Apple's native GEMM (11.15 ms Strassen vs. 6.64 ms native at 2048²).

HOW XFERMAT FIXES IT

Empirical GPU autotuning that keeps native peak speed at €0/token

FermatEngine(mode="auto") benchmarks each tensor shape once with median timing and a 10% hysteresis margin—locking in native mx.matmul or 3-multiply Gauss kernels where fastest, and leaving Strassen, AlphaTensor, and AlphaEvolve strictly opt-in. Combined with compact Pro app redistribution (€39/seat) and zero-telemetry Jamf/MDM fleet packages (From €750/mo), companies shift routine AI off recurring cloud metered APIs onto existing Apple Silicon laptops.

How it works step-by-step
ZERO METERED API FEES

Flat predictable economics on existing Mac hardware

Every employee MacBook or bundled desktop user runs local inference at 60–150 tok/s using zero external cloud GPUs or per-token vendor bills.

EMPIRICAL SPEED GUARD

Shape autotuning never trades wall-clock speed for theory

Locks 1024²/2048² real GEMMs (1.00 ms / 6.64 ms) to native Apple hardware instead of blindly routing into slower asymptotic paths (2.24 ms / 11.15 ms Strassen).

COMPACT COMMERCIAL PACKAGING

Bundle 16× leaner custom blocks & sub-1 GB weights

Pro & Enterprise teams combine Monarch structured layers (65.5k vs. 1.05M parameters at 1024²) with 784 MB safetensors models for lightweight app installers and managed fleets.

Runnable Python quickstart (lower-gpu-costs.py)
RUNNABLE PYTHON QUICKSTART

Auto-tuned zero-regression dispatch & structured layers in FermatEngine

Included free for solo Mac evaluation (pip install xfermat); commercial app bundling & multi-Mac fleets licensed at xfermat.com/pricing.

xFermat quickstart (lower-gpu-costs.py)
import mlx.core as mx
from fermat import FermatEngine

engine = FermatEngine()  # autotune=True benchmarks each shape once with 10% hysteresis

# Automatically picks fastest native Metal path (6.64 ms at 2048² vs. 11.15 ms un-tuned Strassen)
a = mx.random.normal((2048, 2048), dtype=mx.float16)
b = mx.random.normal((2048, 2048), dtype=mx.float16)
c = engine.matmul(a, b, mode="auto")

# Compact trainable layer (16x fewer weights at 1024x1024 for on-device app architectures)
monarch = engine.make_monarch(1024, 1024)
y = monarch(mx.random.normal((64, 1024)))
MORE USE CASES

Explore other workflows

All solutions →
OPEN RUNTIME & COMMERCIAL LICENSING

Start with pip install "xfermat[llm]" or book a fleet pilot

Evaluate free on 1 personal Mac via PyPI Open Runtime, or unlock Pro commercial bundling (€39/seat) and Enterprise air-gapped MDM fleets (from €750/mo).