Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions packages/web/src/content/docs/providers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1550,6 +1550,45 @@ OpenCode Zen is a list of tested and verified models provided by the OpenCode te

---

### Rapid-MLX

You can configure opencode to use local models through [Rapid-MLX](https://github.com/raullenchai/Rapid-MLX), an OpenAI-compatible inference server for Apple Silicon built on `mlx-lm`.

```bash
pip install rapid-mlx
rapid-mlx serve mlx-community/Qwen3.5-4B-MLX-4bit
```

```json title="opencode.json" "rapid-mlx" {5, 6, 8, 10-14}
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"rapid-mlx": {
"npm": "@ai-sdk/openai-compatible",
"name": "Rapid-MLX (local)",
"options": {
"baseURL": "http://127.0.0.1:8000/v1"
},
"models": {
"mlx-community/Qwen3.5-4B-MLX-4bit": {
"name": "Qwen3.5 4B (MLX)"
}
}
}
}
}
```

In this example:

- `rapid-mlx` is the custom provider ID. This can be any string you want.
- `npm` specifies the package to use for this provider. `@ai-sdk/openai-compatible` is used for any OpenAI-compatible API.
- `name` is the display name for the provider in the UI.
- `options.baseURL` is the endpoint for the local server.
- `models` is a map of model IDs to their configurations.

---

### SAP AI Core

SAP AI Core provides access to 40+ models from OpenAI, Anthropic, Google, Amazon, Meta, Mistral, and AI21 through a unified platform.
Expand Down
Loading