Key Features
Chat with Your Vault
Vault QA mode retrieves across your entire vault via vector indexing, answering questions from your personal knowledge base
Custom Prompts
Built-in commands for summarizing, translating, and rewriting, plus custom prompts to process selected text in one click
Privacy First
Open-source plugin, local data storage, and API keys kept only in your local configuration
Flexible Model Access
Works with any OpenAI-compatible endpoint — switch freely between 400+ models via APIYI
Quick Start
Step 1: Get Your APIYI Key
- Open the APIYI website and sign up (or log in if you already have an account)
- Go to the “Tokens” page in the console and create a new API key
- Copy the key (it starts with
sk-...) for later use
Step 2: Install the Obsidian Copilot Plugin
Open the Community Plugin Market
Go to Obsidian Settings → Community plugins, turn off “Restricted mode”, and click “Browse”
Step 3: Configure an APIYI LLM Model
Add a Custom Model
In the Chat Models section, click Add Custom Model and fill in:
| Field | Value |
|---|---|
| Model Name | A model name, e.g. gpt-5.2 or claude-sonnet-5 |
| Provider | Select 3rd party (openai-format) |
| Base URL | https://api.apiyi.com/v1 |
| API Key | Your APIYI key (sk-...) |
Configuration Notes
- The Base URL must include the
/v1suffix:https://api.apiyi.com/v1 - The model name must exactly match a model supported by APIYI — check the model list
- You can add multiple models and switch between them anytime in the chat panel
Step 4: Configure an Embedding Model (Required for Vault QA)
To use Vault QA (knowledge-base Q&A) mode, you also need an embedding model:- In the Embedding Models section of Copilot settings, click Add Custom Model
- Enter an embedding model name:
text-embedding-3-small(cost-effective) ortext-embedding-3-large(higher accuracy) recommended - Select 3rd party (openai-format) as the provider
- Set Base URL to
https://api.apiyi.com/v1and enter your APIYI key - Click Add Model to finish
Step 5: Save and Start Using
Select the newly added model as your default, then click Save and Reload. You can now:- Click the Copilot icon in the left sidebar to open the chat panel
- Talk to the model directly in Chat mode
- Ask questions across your entire vault in Vault QA mode (the first use requires waiting for the index to build)
Supported Models
Obsidian Copilot supports 400+ mainstream AI models through APIYI, including OpenAI, Claude, Gemini, DeepSeek, and Chinese models.View Latest Model Recommendations
See the latest model recommendations, performance comparisons, and usage advice. The model list is continuously updated so you always use the newest and strongest AI models.
Why don’t we list specific models here?AI models iterate very quickly. To ensure you get the most accurate recommendations, we maintain the latest model list, performance data, and usage advice on the model recommendation page.
Advanced Features
Custom Commands and Prompts
Copilot lets you save frequent operations as custom commands:- Open the Commands section in Copilot settings
- Create a custom prompt, e.g. “Rewrite the selection as a weekly report”
- Select text in the editor and invoke it via the command palette (
Ctrl/Cmd + P)
Working with Selected Text
Select any passage in a note and call the built-in commands directly:- Summarize: summarize the selection in one click
- Translate: translate into a specified language
- Simplify / Fix grammar: simplify wording or fix grammar
- Generate table of contents: create a TOC
CORS Compatibility Mode
If chat requests fail after configuration, enable the CORS option when adding the model.Troubleshooting
Verify fails or chat gets no response
Verify fails or chat gets no response
- Check that the Base URL is
https://api.apiyi.com/v1(including/v1) - Make sure the API key was copied correctly with no extra spaces
- Confirm your account has sufficient balance
- If it still fails, try enabling the CORS option in the model settings
Model not found error
Model not found error
- The model name must exactly match a name supported by APIYI (case-sensitive)
- Check the exact model name in the model list
Vault QA doesn't work or indexing fails
Vault QA doesn't work or indexing fails
- Make sure a separate embedding model is configured (an LLM model cannot double as the embedding model)
- Indexing a large vault for the first time takes a while — please be patient
- After changing the embedding model, rebuild the index (Force Re-index)
Slow responses
Slow responses
- Switch to a faster lightweight model
- Reduce the conversation context length
- In Vault QA mode, lower the number of retrieved chunks
Tips
- Divide work between models: add multiple models — use a lightweight model for everyday Q&A and switch to a flagship model for deep writing to save cost
- Scope the index: exclude attachments and template folders in Copilot settings to reduce embedding cost and improve retrieval quality
- Leverage custom prompts: turn high-frequency operations (e.g. “organize meeting notes”) into commands — configure once, reuse forever
- Rebuild the index regularly: run Force Re-index after major vault changes to keep Vault QA retrieval accurate
Related Resources
Model Recommendations
See the latest model list and scenario-based recommendations
Getting Started
Register an APIYI account and create a key in 3 minutes
Base URL Configuration
Learn how to correctly fill in the API endpoint in different tools
Cherry Studio
Another powerful desktop AI chat client
Obsidian Copilot open-source repository:
github.com/logancyang/obsidian-copilot