Skip to content

Provider Overview

Version: v1.0.0+ Updated: 2024-02-13

Supported Providers

LinJun supports the following AI providers through a unified proxy interface:

ProviderAuth MethodDescription
Claude CodeOAuthAnthropic Claude official service
Gemini CLIOAuthGoogle Gemini service
OpenAI CodexOAuthOpenAI Codex service
Qwen CodeOAuthAlibaba Qwen service
AntigravityOAuth (Google)Antigravity AI service
iFlowOAuthiFlow AI service
GitHub CopilotOAuthGitHub Copilot service
KiroOAuthKiro AI service
Custom ProviderAPI KeyCustom OpenAI-compatible service
AmpCodeAPI KeyAmpCode service

Authentication Methods

OAuth Authentication

Most providers use OAuth authentication flow:

  1. Click the corresponding service in the provider list
  2. Click the login button; browser will open the authorization page
  3. Log in with your account and authorize
  4. Authorization completes and automatically returns to LinJun

Token storage location: JSON files in ~/.cli-proxy-api/ directory:

  • codex-{email}-Plus.json
  • antigravity-{email}.json
  • kiro-google-{id}.json
  • etc.

API Key Authentication

Custom Provider and AmpCode use API Key authentication:

  1. Select Custom Provider or AmpCode
  2. Enter the API endpoint address
  3. Enter your API Key
  4. Click save

Multi-Account Management

LinJun supports adding multiple accounts for the same provider:

  • Click "Add Account" next to a provider to add additional accounts
  • Multiple accounts can be used for load balancing and failover
  • Choose routing strategy in settings (Round Robin or Fill First)

Next Steps

Released under the MIT License.