🍪 We use cookies

    We use cookies to improve your experience on our website, analyse traffic, and for marketing purposes. By clicking "Accept All", you consent to our use of cookies. You can also customise your preferences or reject non-essential cookies. Learn more

    Loc.ai
    Sign inStart free

    OpenAI API, but it points to your machine.

    Drop-in compatible. Runs on your laptop. No cloud. No data leaving your device. Free to start.

    # Install and start in 30 seconds

    npm install -g locai

    locai start --model=llama-3-8b

    # Your existing code — unchanged

    const openai = new OpenAI({

    baseURL: "http://localhost:8000"

    })

    Why developers use Loc.ai

    OpenAI-compatible

    You already know the API. Point it at localhost instead.

    5-minute setup

    One install command. No Kubernetes. No configuration hell.

    Privacy by default

    Your prompts never leave your machine. Not a setting — the architecture.

    Swap models freely

    Run Llama, Mistral, Qwen, or any open-source model. You're not locked in.

    Zero network latency

    Local inference means real-time UX. No 300ms round-trips.

    Free. No credit card.

    3 end nodes. 5GB model registry. Start building today.

    Get started free

    Built with and for the local AI community

    Questions? We're on Discord. Issues? We're on GitHub. Usually fast.

    Backed by Google for Startups and NVIDIA Inception.

    Sign up now and get increased data, storage & nodes — Free increased data, storage & nodes — completely free. Sign up →