Skip to Content

Getting startedQuickstart

Getting started

Quickstart

Install Sapient, run a model on your own CPU, then serve it over an OpenAI-compatible API.

By the end of this page you will:

  1. Install Sapient with one command
  2. Run a chat model on your own machine
  3. Serve it over an OpenAI-compatible API

Install

curl -fsSL https://github.com/openhorizon-labs/sapient-release/releases/latest/download/install.sh | sh

Run a model

# one chat reply (downloads the model on first run); drop -p for an interactive chat
sapient chat qwen2.5-0.5b-q4 -p "Hello! What can you do?"

Serve it

# OpenAI-compatible API on :11435
sapient serve

Where next