> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bioptimus.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Welcome

> Deploy and build with foundation models for biology — across histology, transcriptomics, and genomics.

Bioptimus builds foundation models that learn the dynamics of human biology across scales — from cell to tissue to organ. This documentation covers how to access, deploy, and build with our models on AWS and on-premise.

## How it works

Bioptimus models are pretrained on large, diverse histology data, so their representations transfer to many tasks without training from scratch. Point the SDK at a slide and a model, and it tiles the slide, masks out background, runs the model, and writes results to disk. For precise definitions, see the [Glossary](https://docs.bioptimus.com/documentation/resources/glossary.md).

> [tab] 1. Whole slide image
>
> A scanned H\&E slide can be **billions of pixels** — too large to process at once — so the pipeline starts from the slide and splits it into small tiles, each processed independently.
>
> ![H\&E whole-slide image thumbnail](https://mintcdn.com/bioptimus-79a2297b/v6DGwj65gtzYzRw4/images/figures/wsi-thumbnail-luad.png?fit=max\&auto=format\&n=v6DGwj65gtzYzRw4\&q=85\&s=e32139d35e36cdf9e0993e686299ffa4)
>
> H\&E whole-slide image (TCGA-LUAD TCGA-75-7027). Representative example.

> [tab] 2. Tissue segmentation
>
> Slides are mostly background. The pipeline tiles coarsely (512×512 at 8 µm/pixel) and runs [tissue segmentation](https://docs.bioptimus.com/documentation/models/tissue-segmentation.md) to produce a tissue map, keeping only tissue-bearing tiles — cutting cost before the expensive feature step.
>
> ![Slide thumbnail alongside its binary tissue mask](https://mintcdn.com/bioptimus-79a2297b/wzVDcCnzT959rZil/images/figures/tissue-mask-overlay.png?fit=max\&auto=format\&n=wzVDcCnzT959rZil\&q=85\&s=87a8dc92ffd6911fc6305d1d59b3b2fa)
>
> Tissue mask (right) beside the slide thumbnail (left), TCGA-LUAD TCGA-75-7027. Background is discarded before feature extraction. Representative example.

> [tab] 3. Tile embeddings
>
> Tissue tiles (224×224 at 0.5 µm/pixel) are embedded by [H-Optimus](https://docs.bioptimus.com/documentation/models/h-optimus.md) into a **1536-d feature vector** each. Principal components of these embeddings reveal the dominant axes of morphology — tumor, stroma, and immune compartments.
>
> ![Spatial heatmaps of the first three principal components of tile embeddings](https://mintcdn.com/bioptimus-79a2297b/wzVDcCnzT959rZil/images/figures/embeddings-pca-spatial.png?fit=max\&auto=format\&n=wzVDcCnzT959rZil\&q=85\&s=b025c90df2d995becf9aa8c78f139f38)
>
> Principal components of tile embeddings mapped back onto the slide (TCGA-LUAD TCGA-75-7027) — PC1–PC3 each isolate a distinct tissue region. Representative example.

> [tab] 4. Spatial gene expression
>
> [M-Optimus](https://docs.bioptimus.com/documentation/models/m-optimus.md) produces the same 1536-d embeddings **and** predicts spatial gene expression directly from each tile (optionally informed by bulk RNA) — a molecular readout without a spatial assay.
>
> ![Spatial gene-expression panel predicted from H\&E by M-Optimus](https://mintcdn.com/bioptimus-79a2297b/wzVDcCnzT959rZil/images/figures/gene-panel-overlay-bulk.png?fit=max\&auto=format\&n=wzVDcCnzT959rZil\&q=85\&s=5d1d3503a8ec780b4741ea1ce2fcd500)
>
> Spatial expression for a six-gene panel predicted from H\&E (M-Optimus, TCGA-LUAD TCGA-75-7027). Representative example.

## The models

> [card] [H-Optimus](https://docs.bioptimus.com/documentation/models/h-optimus.md)
>
> A vision foundation model for histology. Extracts tile-level features from H\&E whole slide images.

> [card] [M-Optimus](https://docs.bioptimus.com/documentation/models/m-optimus.md)
>
> A multimodal, multi-scale model (M-Optimus-1) that predicts spatial gene expression from routine H\&E, refined with bulk RNA.

Both models are trained on data from STELA, our data engine:

> [card] [STELA — data engine](https://www.bioptimus.com/stela)
>
> A multi-institutional data engine generating the deeply profiled, clinically linked patient data our models train on.

## Where to get each model

A quick map of which model is available on which channel, and where to start.

| Model | AWS SageMaker | On-premise | Hugging Face | Proscia |
| - | - | - | - | - |
| **H-Optimus** | ✅ [Deploy](https://docs.bioptimus.com/deployment/platforms/aws-sagemaker.md) | ✅ [Deploy](https://docs.bioptimus.com/deployment/platforms/on-premise.md) | ✅ [Academic](https://docs.bioptimus.com/deployment/platforms/hugging-face.md) | ✅ [Concentriq® LS](https://docs.bioptimus.com/deployment/platforms/proscia.md) |
| **M-Optimus** | ✅ [Deploy](https://docs.bioptimus.com/deployment/platforms/aws-sagemaker.md) | ✅ [Deploy](https://docs.bioptimus.com/deployment/platforms/on-premise.md) | — | — |
| **Tissue segmentation** | ✅ (bundled) | ✅ (bundled) | — | — |

> [card] [AWS SageMaker](https://docs.bioptimus.com/deployment/platforms/aws-sagemaker.md)
>
> Managed endpoints from AWS Marketplace.

> [card] [On-premise](https://docs.bioptimus.com/deployment/platforms/on-premise.md)
>
> Self-hosted container for full data control.

> [card] [Hugging Face](https://docs.bioptimus.com/deployment/platforms/hugging-face.md)
>
> H-Optimus weights for non-commercial academic use.

> [card] [Proscia](https://docs.bioptimus.com/deployment/platforms/proscia.md)
>
> H-Optimus embeddings for slides in Concentriq® LS.

## Where to start

> [card] [Run your first inference](https://docs.bioptimus.com/documentation/quickstart.md)
>
> Deploy a model and get embeddings back in minutes. For ML engineers and data scientists.

> [card] [Explore use cases](https://docs.bioptimus.com/documentation/use-cases/biomarker-discovery.md)
>
> See how teams use our models for biomarker discovery, indication expansion, and trial design.

> [card] [Security & compliance](https://docs.bioptimus.com/documentation/resources/security-compliance.md)
>
> Data handling, residency, and deployment options for regulated environments.

> [!WARNING]
>
> Bioptimus models are for **research use** and are not approved medical devices. See [Responsible use](https://docs.bioptimus.com/documentation/resources/responsible-use.md) for intended use and your responsibilities.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.