# oMLX for Raycast

URL: https://www.raycast.com/60400/omlx

> Use local oMLX models on Apple Silicon as AI providers in Raycast, and load, eject or download MLX models and manage the oMLX server.

- Install: raycast://extensions/60400/omlx
- Author: [Jordi](https://www.raycast.com/60400)
- Installs: 60
- Platforms: macOS
- Categories: Productivity, Developer Tools, AI Extensions
- Updated: 2026-11-17
- Source: https://github.com/raycast/extensions/tree/459326f4f557692a79246dba2d013746f56d724b/extensions/omlx/

## Commands

- **Manage Models**: View, load, eject, pin, and delete oMLX models
- **Serving Stats**: View oMLX serving stats, speed, cache efficiency, and active models
- **Start/Stop Server**: Start, stop, or restart the oMLX server
- **Download Model**: Search and download models from HuggingFace
- **Manage Downloads**: View download progress, cancel, retry, or remove downloads
- **Check for Updates**: Check if a new version of oMLX is available
- **Open Web Dashboard**: Open the oMLX web dashboard in your browser

## AI tools

- **List Models**: List oMLX models with their load status, size, type, and capabilities. Optionally filter to only loaded or only available models.
- **Load Model**: Load an oMLX model into memory so it can serve requests. Use list-models first to find the model ID.
- **Eject Model**: Eject an oMLX model from memory. Use list-models first to find loaded model IDs.
- **Pin or Unpin Model**: Pin a model to keep it in memory (prevents automatic eviction), or unpin it.
- **Get Server Status**: Check if the oMLX server is running and get stats: version, uptime, loaded models, speed, memory usage, cache efficiency.
- **Get Model Stats**: Get historical usage stats for a specific model from past requests: average speed (tok/s), total tokens served, cache hit rate. This is not a benchmark — it reflects real usage, not a controlled test. Use list-models first to find model IDs.
- **Search Models**: Search for models on HuggingFace. Returns model name, size, parameters, and download count. Results are MLX-compatible models only.
- **Download Model**: Download a model from HuggingFace. Use search-models first to find the repo ID.
- **Get Download Progress**: Check the progress of active and recent model downloads from HuggingFace and ModelScope. Each download carries a source (huggingface or modelscope) — pass it along to actions like cancel-download.
- **Cancel Download**: Cancel an active model download. Use get-download-progress first to find the task ID and its source (huggingface or modelscope); pass the source along, it defaults to huggingface.
- **Get Recommended Models**: Get trending and popular MLX models from HuggingFace.
- **Reload Models**: Rescan the model directory to discover newly added or removed models.
- **Start Server**: Start the oMLX server if it is not already running.
- **Stop Server**: Stop the oMLX server. All loaded models will be unloaded.
- **Restart Server**: Restart the oMLX server. Active requests will be interrupted.
- **Check for Updates**: Check if a new version of oMLX is available.

## README

### oMLX

Use locally running [oMLX](https://omlx.com) models as AI providers in Raycast. Your models appear natively in AI Chat, Quick AI, and AI Commands — no cloud, no API costs.

#### Requirements

- macOS with [Raycast](https://raycast.com/) installed
- [oMLX](https://omlx.com) installed and launched at least once
- At least one downloaded model

#### Setup

1. Install oMLX and launch it once.
2. Install this extension.
3. Enter your oMLX API key (found in `~/.omlx/settings.json` under `auth.api_key`).

#### AI Chat

Type `@omlx` in Raycast AI Chat to manage models conversationally — load, eject, search, download, check stats, and control the server without leaving the chat.

#### Commands

##### Manage Models

Browse loaded, available, and helper models. Load, eject, pin, favorite, or delete models. View model details and per-model performance stats.

##### Download Model

Search HuggingFace and ModelScope for models to download. Filter to MLX-only models. Browse trending and popular models.

##### Manage Downloads

Track HuggingFace and ModelScope download progress with live updates. Cancel, retry, or remove downloads; ModelScope tasks are labeled by source. If one source is unavailable, the other source's downloads stay visible with an inline warning and automatic recovery checks.

##### Serving Stats

View prompt processing speed, token generation speed, cache efficiency, memory usage, and active models. Switch between session and all-time stats. View server logs.

##### Check for Updates

Check if a new version of oMLX is available.

##### Start/Stop Server

Start, stop, or restart the oMLX server.

##### Open Web Dashboard

Open the oMLX web dashboard in your browser.

#### Development

Install dependencies with `npm ci`, then run `npm run dev` to load the extension in Raycast. Run `npm test` for mocked streaming, search-race, update-notification, and download-routing regressions; these tests do not require a running oMLX server. Validate changes with `npx tsc --noEmit`, `npm run lint`, and `npm run build`. Run `npx ray evals` separately for conversational tool behavior.
