内容摘录
<p align="center">
<img src="icon.png" width="128" />
</p>
<h1 align="center">
Unify Chat Provider
</h1>
<p align="center">
Integrate multiple LLM API providers into VS Code's GitHub Copilot Chat using the Language Model API.
</p>
<!-- <br>
<p align="center">
<a href="https://unocss.dev/">Documentation</a> |
<a href="https://unocss.dev/play/">Playground</a>
</p>
<br> -->
<br>
<p align="center">
<span>English</span> |
<a href="https://github.com/smallmain/vscode-unify-chat-provider/blob/main/README_zh-CN.md">简体中文</a>
</p>
Features
🐑 **Free Tier Access**: Aggregates the latest free mainstream models, configurable in just a few steps!
🔌 **Perfect Compatibility**: Supports all major LLM API formats (OpenAI Chat Completions, OpenAI Responses, Anthropic Messages, Ollama Chat, Gemini).
🎯 **Deep Adaptation**: Adapts to special API features and best practices of 45+ mainstream providers.
🚀 **Best Performance**: Built-in recommended parameters for 200+ mainstream models, allowing you to maximize model potential without tuning.
📦 **Out of the Box**: One-click configuration, or one-click migration from mainstream applications and extensions, with automatic syncing of official model lists, no tedious operations required.
💾 **Import and Export**: Complete import/export support; import existing configs via Base64, JSON, URL, or URI.
💎 **Great UX**: Visual interface configuration, fully open model parameters, supports unlimited provider and model configurations, and supports coexistence of multiple configuration variants for the same provider and model.
✨ **One More Thing**: One-click use of your Claude Code, Gemini CLI, Antigravity, Github Copilot, Qwen Code, OpenAI Codex (ChatGPT Plus/Pro), iFlow CLI account quotas.
Installation
Search for Unify Chat Provider in the VS Code Extension Marketplace and install it.
Download the latest .vsix file from GitHub Releases, then install it in VS Code via Install from VSIX... or by dragging it into the Extensions view.
Quick Start
Check out the Cookbook, you can start using it in minutes:
**Free Claude 4.5 & Gemini 3 / 3.1 Series Models**:
Add Gemini CLI / Antigravity Account
**Partially Free Claude, GPT, Gemini, Grok Series Models**:
Add GitHub Copilot Account
**Free Kimi K2.5, GLM 4.7, MiniMax M2.1 Series Models**:
Add Nvidia Account
**Kimi, GLM, MiniMax, Qwen, DeepSeek, Llama Series Models**:
Add Synthetic Account
More Recipes:
Impersonate Claude Code Client
You can also check the Provider Support Table:
Browse all providers with **long-term free quotas**.
One-Click Configuration to start.
When you have added multiple providers or models:
Use the Manage Providers interface for unified management.
Use Import and Export to backup or share configurations with others.
Currently, you might also be looking for:
One-Click Migration: Migrate from other apps or extensions.
Manual Configuration: Add any provider and model completely from scratch.
If the above content still doesn't help you, please continue reading the rest of this document, or create an Issue for help.
🍱 Cookbook
Add Gemini CLI / Antigravity Account
<details>
⚠️ Warning: This may violate Google's Terms of Service, please be aware of the risk of account banning!
You need to prepare a Google account.
Open the VS Code Command Palette and search for Unify Chat Provider: Add Provider From Well-Known Provider List.
Select Google Antigravity in the list, leave Project ID blank and press Enter.
Allow the extension to open the browser for authorized login, and log in to your account in the browser.
After logging in, return to VS Code and click the Save button at the bottom of the configuration interface to complete.
Optional: Repeat the above steps to add the Google Gemini CLI provider.
The quotas for Antigravity and Gemini CLI for the same account are independent, so it is recommended to add both to get more free quotas.
**Gemini CLI Permission Error Solution:**
When using Gemini CLI models, you may see:
Permission 'cloudaicompanion.companions.generateChat' denied on resource '//cloudaicompanion.googleapis.com/projects/...'
'No project ID found for Gemini CLI.'
That means you need to have your own Project ID.
Go to Google Cloud Console
Create or select a project
Enable the **Gemini for Google Cloud API** (cloudaicompanion.googleapis.com)
When authorizing, explicitly fill in the Project ID instead of leaving it blank.
</details>
Add GitHub Copilot Account
<details>
VS Code's Copilot Chat itself supports logging into a GitHub Copilot account, so this is generally used to quickly switch between multiple accounts.
You need to prepare a Github account.
Open the VS Code Command Palette and search for Unify Chat Provider: Add Provider From Well-Known Provider List.
Select Github Copilot in the list, and choose Github.com or Github Enterprise depending on whether your account is an enterprise subscription.
Allow the extension to open the browser for authorized login, and log in to your account in the browser.
After logging in, return to VS Code and click the Save button at the bottom of the configuration interface to complete.
</details>
Add Nvidia Account
<details>
You need to prepare an Nvidia account.
Open the VS Code Command Palette and search for Unify Chat Provider: Add Provider From Well-Known Provider List.
Select Nvidia in the list, fill in the API Key generated in the user panel and press Enter.
Click the Save button at the bottom of the configuration interface to complete.
If you need to use the Kimi K2.5 model, please add it from the built-in model list, as the official API may not have returned this model information yet.
</details>
Add Synthetic Account
<details>
You need to prepare a Synthetic account.
Open the VS Code Command Palette and search for Unify Chat Provider: Add Provider From Well-Known Provider List.
Select Synthetic in the list, fill in the API Key generated in the user panel and press Enter.
Click the Save button at the bottom of the configuration interface to complet…