프로바이더 설정 가이드
이 가이드는 API 키 프로바이더, OAuth 구독, 클라우드 플랫폼, 로컬 모델을 포함하여 Claudex가 지원하는 모든 프로바이더의 상세 설정 방법을 다룹니다.
API 키 프로바이더
섹션 제목: “API 키 프로바이더”Anthropic
섹션 제목: “Anthropic”- console.anthropic.com에서 가입
- API Keys로 이동하여 새 키 생성 (형식:
sk-ant-*)
[[profiles]]name = "anthropic"provider_type = "DirectAnthropic"base_url = "https://api.anthropic.com"api_key = "sk-ant-..."default_model = "claude-sonnet-4-20250514"claudex profile test anthropicMiniMax
섹션 제목: “MiniMax”- platform.minimaxi.com에서 가입
- 콘솔에서 API Keys로 이동
[[profiles]]name = "minimax"provider_type = "DirectAnthropic"base_url = "https://api.minimax.io/anthropic"api_key = "..."default_model = "claude-sonnet-4-20250514"claudex profile test minimaxOpenRouter
섹션 제목: “OpenRouter”- openrouter.ai에서 가입
- openrouter.ai/keys에서 API 키 발급
[[profiles]]name = "openrouter"provider_type = "OpenAICompatible"base_url = "https://openrouter.ai/api/v1"api_key = "sk-or-..."default_model = "anthropic/claude-sonnet-4"claudex profile test openrouterGrok (xAI)
섹션 제목: “Grok (xAI)”- console.x.ai에서 가입
- 콘솔에서 API 키 생성
[[profiles]]name = "grok"provider_type = "OpenAICompatible"base_url = "https://api.x.ai/v1"api_key = "xai-..."default_model = "grok-3-beta"claudex profile test grokOpenAI
섹션 제목: “OpenAI”- platform.openai.com에서 가입
- platform.openai.com/api-keys에서 API 키 생성
[[profiles]]name = "chatgpt"provider_type = "OpenAICompatible"base_url = "https://api.openai.com/v1"api_key = "sk-..."default_model = "gpt-4o"claudex profile test chatgptDeepSeek
섹션 제목: “DeepSeek”- platform.deepseek.com에서 가입
- 콘솔에서 API 키 생성
[[profiles]]name = "deepseek"provider_type = "OpenAICompatible"base_url = "https://api.deepseek.com"api_key = "sk-..."default_model = "deepseek-chat"claudex profile test deepseekKimi / Moonshot
섹션 제목: “Kimi / Moonshot”- platform.moonshot.cn에서 가입
- 콘솔에서 API 키 생성
[[profiles]]name = "kimi"provider_type = "OpenAICompatible"base_url = "https://api.moonshot.ai/v1"api_key = "sk-..."default_model = "kimi-k2-0905-preview"claudex profile test kimiGLM / Zhipu
섹션 제목: “GLM / Zhipu”- open.bigmodel.cn에서 가입
- 콘솔에서 API 키 생성
[[profiles]]name = "glm"provider_type = "OpenAICompatible"base_url = "https://api.z.ai/api/paas/v4"api_key = "..."default_model = "glm-4.6"claudex profile test glmGroq
섹션 제목: “Groq”- console.groq.com에서 가입
- Settings > API Keys에서 API 키 생성
[[profiles]]name = "groq"provider_type = "OpenAICompatible"base_url = "https://api.groq.com/openai/v1"api_key = "gsk_..."default_model = "llama-3.3-70b-versatile"claudex profile test groqMistral AI
섹션 제목: “Mistral AI”- console.mistral.ai에서 가입
- 콘솔에서 API 키 생성
[[profiles]]name = "mistral"provider_type = "OpenAICompatible"base_url = "https://api.mistral.ai/v1"api_key = "..."default_model = "mistral-large-latest"claudex profile test mistralTogether AI
섹션 제목: “Together AI”- api.together.ai에서 가입
- 대시보드에서 API 키 생성
[[profiles]]name = "together"provider_type = "OpenAICompatible"base_url = "https://api.together.xyz/v1"api_key = "..."default_model = "meta-llama/Llama-3.3-70B-Instruct-Turbo"claudex profile test togetherPerplexity
섹션 제목: “Perplexity”- perplexity.ai에서 가입
- perplexity.ai/settings/api에서 API 키 생성
[[profiles]]name = "perplexity"provider_type = "OpenAICompatible"base_url = "https://api.perplexity.ai"api_key = "pplx-..."default_model = "sonar-pro"claudex profile test perplexityCerebras
섹션 제목: “Cerebras”- cloud.cerebras.ai에서 가입
- 대시보드에서 API 키 생성
[[profiles]]name = "cerebras"provider_type = "OpenAICompatible"base_url = "https://api.cerebras.ai/v1"api_key = "..."default_model = "llama-3.3-70b"claudex profile test cerebras클라우드 플랫폼
섹션 제목: “클라우드 플랫폼”Azure OpenAI
섹션 제목: “Azure OpenAI”- Azure Portal에서 Azure OpenAI 리소스 생성
- 모델을 배포하고 리소스 이름과 배포 이름을 기록
- Keys and Endpoint에서 API 키 가져오기
[[profiles]]name = "azure-openai"provider_type = "OpenAICompatible"base_url = "https://YOUR_RESOURCE.openai.azure.com/openai/deployments/YOUR_DEPLOYMENT"api_key = "YOUR_AZURE_KEY"default_model = "gpt-4o"
[profiles.query_params]api-version = "2024-12-01-preview"claudex profile test azure-openaiGoogle Vertex AI
섹션 제목: “Google Vertex AI”- GCP 프로젝트에서 Vertex AI API 활성화
gcloud auth print-access-token으로 액세스 토큰 생성
[[profiles]]name = "vertex-ai"provider_type = "DirectAnthropic"base_url = "https://us-east5-aiplatform.googleapis.com/v1/projects/YOUR_PROJECT/locations/us-east5/publishers/anthropic/models"api_key = "YOUR_GCLOUD_TOKEN"default_model = "claude-sonnet-4@20250514"claudex profile test vertex-aiAWS Bedrock (LiteLLM 경유)
섹션 제목: “AWS Bedrock (LiteLLM 경유)”AWS Bedrock은 LiteLLM 프록시를 통해 지원됩니다:
- LiteLLM 설치:
pip install litellm - 프록시 시작:
litellm --model bedrock/anthropic.claude-sonnet-4-20250514-v2:0- Claudex 설정:
[[profiles]]name = "bedrock"provider_type = "OpenAICompatible"base_url = "http://localhost:4000/v1"api_key = "sk-litellm"default_model = "bedrock/anthropic.claude-sonnet-4-20250514-v2:0"OAuth 구독
섹션 제목: “OAuth 구독”OAuth 인증을 통해 별도의 API 키 없이 기존 프로바이더 구독(ChatGPT Plus, Claude Max 등)을 사용할 수 있습니다.
Claude Max / Pro
섹션 제목: “Claude Max / Pro”Claude Code의 네이티브 OAuth 세션을 통해 기존 Claude 구독을 사용합니다.
전제 조건: Claude Code가 설치되어 로그인된 상태 (claude 명령이 정상 작동)
[[profiles]]name = "claude-max"provider_type = "DirectAnthropic"base_url = "https://api.claude.ai"default_model = "claude-sonnet-4-20250514"auth_type = "oauth"oauth_provider = "claude"
[profiles.models]haiku = "claude-haiku-4-20250514"sonnet = "claude-sonnet-4-20250514"opus = "claude-opus-4-20250514"ChatGPT Plus / Codex CLI
섹션 제목: “ChatGPT Plus / Codex CLI”Codex CLI 토큰을 통해 ChatGPT Plus 또는 Pro 구독을 사용합니다.
전제 조건: Codex CLI를 설치하고 인증:
# Codex CLI 설치npm install -g @openai/codex
# 인증 (브라우저 열림)codex authClaudex 설정:
[[profiles]]name = "codex-sub"provider_type = "OpenAIResponses"base_url = "https://chatgpt.com/backend-api/codex"default_model = "gpt-5.3-codex"auth_type = "oauth"oauth_provider = "openai"
[profiles.models]haiku = "codex-mini-latest"sonnet = "gpt-5.3-codex"opus = "gpt-5.3-codex"# Codex CLI에서 토큰 읽기claudex auth login openai --profile codex-sub
# 확인claudex auth status
# 실행claudex run codex-subGoogle Gemini
섹션 제목: “Google Gemini”Gemini CLI 자격 증명을 통해 Google 계정을 사용합니다.
[[profiles]]name = "gemini-sub"provider_type = "OpenAICompatible"base_url = "https://generativelanguage.googleapis.com/v1beta/openai"default_model = "gemini-2.5-pro"auth_type = "oauth"oauth_provider = "google"
[profiles.models]haiku = "gemini-2.0-flash"sonnet = "gemini-2.5-pro"opus = "gemini-2.5-pro"# Gemini CLI 자격 증명에서 읽기claudex auth login google --profile gemini-sub
# 확인claudex auth statusQwen / Tongyi Qianwen
섹션 제목: “Qwen / Tongyi Qianwen”OAuth Device Code 플로우를 통해 Qwen 계정을 사용합니다.
[[profiles]]name = "qwen-oauth"provider_type = "OpenAICompatible"base_url = "https://chat.qwen.ai/api"default_model = "qwen3-235b-a22b"auth_type = "oauth"oauth_provider = "qwen"# Device code 플로우 시작claudex auth login qwen --profile qwen-oauth
# 확인claudex auth statusKimi / Moonshot (OAuth)
섹션 제목: “Kimi / Moonshot (OAuth)”Kimi CLI 자격 증명을 통해 Kimi 계정을 사용합니다.
[[profiles]]name = "kimi-oauth"provider_type = "OpenAICompatible"base_url = "https://api.moonshot.cn/v1"default_model = "moonshot-v1-128k"auth_type = "oauth"oauth_provider = "kimi"# Kimi CLI 자격 증명에서 읽기claudex auth login kimi --profile kimi-oauth
# 확인claudex auth statusGitHub Copilot
섹션 제목: “GitHub Copilot”OAuth Device Code 플로우를 통해 GitHub Copilot 구독을 사용합니다.
[[profiles]]name = "copilot"provider_type = "OpenAICompatible"base_url = "https://api.githubcopilot.com"default_model = "gpt-4o"auth_type = "oauth"oauth_provider = "github"# Device code 플로우 시작 (GitHub 로그인을 위해 브라우저 열림)claudex auth login github --profile copilot
# 확인claudex auth statusGitLab Duo
섹션 제목: “GitLab Duo”Personal Access Token을 통해 GitLab Duo 구독을 사용합니다.
[[profiles]]name = "gitlab-duo"provider_type = "OpenAICompatible"base_url = "https://gitlab.com/api/v4/ai/llm/proxy"default_model = "claude-sonnet-4-20250514"auth_type = "oauth"oauth_provider = "gitlab"# GitLab 토큰을 환경 변수로 설정export GITLAB_TOKEN=glpat-...
# 로그인claudex auth login gitlab --profile gitlab-duo
# 확인claudex auth status로컬 모델
섹션 제목: “로컬 모델”Ollama
섹션 제목: “Ollama”- Ollama 설치: ollama.com
- 모델 다운로드:
ollama pull qwen2.5:72b- Claudex 설정:
[[profiles]]name = "local-qwen"provider_type = "OpenAICompatible"base_url = "http://localhost:11434/v1"api_key = ""default_model = "qwen2.5:72b"claudex profile test local-qwenvLLM
섹션 제목: “vLLM”- vLLM 설치 및 시작:
pip install vllmvllm serve meta-llama/Llama-3.3-70B-Instruct --port 8000- Claudex 설정:
[[profiles]]name = "local-llama"provider_type = "OpenAICompatible"base_url = "http://localhost:8000/v1"api_key = ""default_model = "meta-llama/Llama-3.3-70B-Instruct"LM Studio
섹션 제목: “LM Studio”- lmstudio.ai에서 LM Studio 다운로드
- 모델을 로드하고 로컬 서버 시작 (기본 포트: 1234)
[[profiles]]name = "lm-studio"provider_type = "OpenAICompatible"base_url = "http://localhost:1234/v1"api_key = "lm-studio"default_model = "local-model"설정 확인
섹션 제목: “설정 확인”프로바이더를 설정한 후 연결을 확인하세요:
# 특정 프로파일 테스트claudex profile test <profile-name>
# 모든 프로파일 테스트claudex profile test all
# 설정된 모든 프로파일 목록claudex profile list