Providers
Providers Overview
Chat2API supports multiple AI service providers. Each provider requires authentication credentials to access their API.
Built-in Providers
| Provider | Description | Auth Type | Models |
|---|---|---|---|
| DeepSeek | DeepSeek AI assistant with deep thinking | User Token | DeepSeek-V3.2 |
| GLM | Zhipu Qingyan AI assistant | Refresh Token | GLM-5 |
| Kimi | Kimi AI assistant with long context | JWT Token | kimi-k2.5 |
| MiniMax | MiniMax Hailuo AI assistant | JWT Token | MiniMax-M2.5 |
| Qwen | Alibaba Qwen (China) | SSO Ticket | Qwen3.5-Plus, Qwen3-Max, etc. |
| Qwen AI | Qwen AI International | JWT Token | Qwen3.5-Plus, Qwen3-Max, etc. |
| Z.ai | Z.ai free AI chatbot | JWT Token | GLM-5, GLM-4.7, etc. |
Provider Management
Adding a Provider
- Navigate to Providers from the sidebar
- Click Add Provider button
- Select a built-in provider from the list
- Enter your authentication credentials
- Click Validate to verify credentials
- Save the provider
Provider Status
Each provider shows:
- Online/Offline: Whether the provider API is accessible
- Active Accounts: Number of active accounts configured
- Latency: Response time from the provider
Account Management
Each provider can have multiple accounts:
- Add multiple accounts for load balancing
- Set daily limits per account
- Monitor account status and usage
Authentication Methods
Different providers use different authentication methods:
| Auth Type | Description | Storage Location |
|---|---|---|
| User Token | Direct user authentication token | Local Storage |
| Refresh Token | Long-lived refresh token | Cookies |
| JWT Token | JSON Web Token | Local Storage / Cookies |
| SSO Ticket | Single Sign-On ticket | Cookies |
Getting Your Credentials
For detailed instructions on obtaining credentials for each provider, see the specific provider documentation pages.
The general process is:
- Log in to the provider's web interface
- Open browser Developer Tools (F12)
- Navigate to Application tab
- Find the token in Local Storage or Cookies
- Copy the token value
Account Status Types
| Status | Description |
|---|---|
| Active | Account is working normally |
| Inactive | Account is disabled |
| Expired | Token has expired |
| Error | Authentication failed |
Best Practices
- Multiple Accounts: Configure multiple accounts per provider for load balancing
- Daily Limits: Set reasonable daily limits to avoid rate limiting
- Regular Validation: Periodically validate tokens to ensure they're still valid
- Secure Storage: Credentials are encrypted locally in
~/.chat2api/accounts.json