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

# AI Providers & Local Models

> Connect cloud LLM providers (OpenAI, Gemini, DeepSeek, MiniMax, DashScope, APIMart) or run 100% offline with local Ollama.

AutoClip separates **Highlight Analysis**, **Visual Understanding (Style Cloner & Covers)**, **Speech Recognition (ASR)**, and **Metadata Generation** so you can mix and match cloud APIs and local models with zero vendor lock-in.

![AutoClip AI Providers and Models settings](https://mintcdn.com/auto-clip/mqMkpyKoj_HdWISu/images/feature-models.png?fit=max\&auto=format\&n=mqMkpyKoj_HdWISu\&q=85\&s=d7d365f6f8fe9a4992df63254624d32e)

Settings → AI Models — configure cloud providers, custom gateways, or local Ollama

## Supported Cloud Providers

| Provider | Base URL / Compatibility | Recommended Models | Best For |
| :- | :- | :- | :- |
| **OpenAI / ChatGPT** | Official OpenAI API (`https://api.openai.com/v1`) | `gpt-4.1-mini`, `gpt-4o` | Balanced English/multilingual highlight scoring and vision tasks |
| **Google Gemini** | Google AI Studio / Gemini API | `gemini-2.5-flash` | Multimodal video + vision understanding (Style Cloner, covers), generous free tier |
| **DeepSeek** | Official DeepSeek API | `deepseek-chat` / `deepseek-flash` | Low-cost, high-accuracy text highlight analysis |
| **MiniMax (Standard & Token Plan)** | OpenAI-compatible: `https://api.minimaxi.com/v1` (CN) or `https://api.minimax.io/v1` (Global) | `MiniMax-M3.1-Flash` | Fast, cost-effective clipping with OpenAI-compatible `/v1` endpoint |
| **Alibaba Bailian (DashScope / Qwen)** | DashScope / OpenAI-compatible mode | `qwen-plus`, `qwen3.8-flash` | Fast Chinese, English, and bilingual podcast clipping |
| **APIMart / OpenRouter / Custom Relays** | Any OpenAI-compatible `/v1` gateway | Any OpenAI-compatible chat/vision model | Single-key access to multiple upstream models |

> [!NOTE]
>
> **MiniMax Token Plan Endpoint:** When using a MiniMax Token Plan or Standard API key, make sure the Base URL points to the OpenAI-compatible `/v1` endpoint (`https://api.minimaxi.com/v1` for Mainland China or `https://api.minimax.io/v1` for International) and select `MiniMax-M3.1-Flash` (or your subscribed model ID).

## 100% Local with Ollama

Run AutoClip completely offline with zero per-token cost using [Ollama](https://ollama.com/) (or LM Studio):

**1. Start Ollama & Pull a Model**

Install Ollama and pull a recommended model suited to your RAM/VRAM:

```bash theme={null}
ollama pull qwen2.5:7b
# or for stronger reasoning/multilingual quality on 16 GB+ machines:
ollama pull qwen3.5:9b
```

**2. Select Ollama in AutoClip Settings**

Open **Settings → AI Models**, choose **Ollama** (default endpoint `http://localhost:11434/v1`), select your pulled model, and click **Test & Enable**.

**3. Automatic Qwen3 Hybrid Reasoning Handling**

Hybrid reasoning models such as **Qwen3 / Qwen3.5** can emit long `<think>` chains that slow down JSON highlight extraction. AutoClip automatically sends `think: false` during Ollama validation and structured clipping calls so local runs stay fast and deterministic.

## Local vs. Cloud Decision Matrix

| Criteria | Cloud API (Gemini / OpenAI / DeepSeek / MiniMax / Qwen) | 100% Local (Ollama + Local Whisper/SenseVoice) |
| :- | :- | :- |
| **Hardware Required** | Any laptop (8 GB RAM) | 16 GB+ RAM (Apple Silicon or NVIDIA GPU recommended) |
| **Speed (1-hour video)** | Fast (typically 20–60s for LLM analysis) | Depends on local GPU/unified memory |
| **Cost** | Pay-as-you-go (often \$0.02–\$0.05 per hour of video; free tiers available) | \$0 ongoing cost |
| **Privacy** | Only transcripts (and optional frames for vision) are sent to your chosen provider | 100% air-gapped — nothing leaves your computer |
| **Best Use Case** | Daily creators, multi-language podcasts, AI Style Cloner | Sensitive corporate footage, offline travel, zero-cost batch jobs |

## Advanced Request Options

If you connect through a corporate proxy or custom OpenAI-compatible gateway, expand **Advanced Request Options** on the provider card to configure:

* Custom HTTP headers (for gateway auth or routing tags)
* `reasoning_effort` overrides for reasoning-capable models
* Extra JSON body parameters passed directly to the upstream endpoint


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