diff --git a/src/config/claudeDesktopProviderPresets.ts b/src/config/claudeDesktopProviderPresets.ts index fe49b9d98..20f3d7c71 100644 --- a/src/config/claudeDesktopProviderPresets.ts +++ b/src/config/claudeDesktopProviderPresets.ts @@ -516,6 +516,19 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [ partnerPromotionKey: "patewayai", icon: "pateway", }, + { + name: "ClaudeAPI", + websiteUrl: "https://claudeapi.com", + apiKeyUrl: "https://console.claudeapi.com/register?aff=pCLD", + category: "third_party", + baseUrl: "https://gw.claudeapi.com", + mode: "direct", + apiFormat: "anthropic", + modelRoutes: passthroughRoutes(), + isPartner: true, + partnerPromotionKey: "claudeapi", + icon: "claudeapi", + }, { name: "Cubence", websiteUrl: "https://cubence.com", diff --git a/src/config/claudeProviderPresets.ts b/src/config/claudeProviderPresets.ts index dccbf38a0..3799d3c9e 100644 --- a/src/config/claudeProviderPresets.ts +++ b/src/config/claudeProviderPresets.ts @@ -555,6 +555,21 @@ export const providerPresets: ProviderPreset[] = [ partnerPromotionKey: "patewayai", icon: "pateway", }, + { + name: "ClaudeAPI", + websiteUrl: "https://claudeapi.com", + apiKeyUrl: "https://console.claudeapi.com/register?aff=pCLD", + settingsConfig: { + env: { + ANTHROPIC_BASE_URL: "https://gw.claudeapi.com", + ANTHROPIC_AUTH_TOKEN: "", + }, + }, + category: "third_party", + isPartner: true, + partnerPromotionKey: "claudeapi", + icon: "claudeapi", + }, { name: "Cubence", websiteUrl: "https://cubence.com", diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 7cb0d821c..5faf880f5 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -836,6 +836,7 @@ "partnerPromotion": { "packycode": "PackyCode is an official partner of CC Switch. Register using this link and enter \"cc-switch\" promo code during recharge to get 10% off", "patewayai": "PatewayAI offers special benefits for CC Switch users. Register via this link to receive $3 credit.", + "claudeapi": "ClaudeAPI offers special benefits for CC Switch users. Register via this link to claim test credits.", "minimax_cn": "MiniMax Coding Plan Special Offer, Starter from ¥9.9", "minimax_en": "MiniMax Coding Plan Black Friday, Starter is now $2/mo (80% OFF!)", "dmxapi": "Claude Code exclusive model 66% OFF now!", diff --git a/src/i18n/locales/ja.json b/src/i18n/locales/ja.json index 5114d407c..4d7ab380a 100644 --- a/src/i18n/locales/ja.json +++ b/src/i18n/locales/ja.json @@ -836,6 +836,7 @@ "partnerPromotion": { "packycode": "PackyCode は CC Switch の公式パートナーです。登録後チャージ時に \"cc-switch\" を入力すると 10% オフ", "patewayai": "PatewayAI は CC Switch ユーザーに特別な特典を提供しています。このリンクから登録すると $3 のクレジットがもらえます。", + "claudeapi": "ClaudeAPI は CC Switch ユーザーに特別な特典を提供しています。このリンクから登録するとテストクレジットを受け取ることができます。", "minimax_cn": "MiniMax Coding Plan 特別価格、Starter ¥9.9 から", "minimax_en": "MiniMax Coding Plan Black Friday、Starter が月額 $2(80% OFF)", "dmxapi": "Claude Code 専用モデル 66% OFF 実施中!", diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index 19371f9a8..d2393862f 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -836,6 +836,7 @@ "partnerPromotion": { "packycode": "PackyCode 是 CC Switch 的官方合作伙伴,使用此链接注册并在充值时填写 \"cc-switch\" 优惠码,可以享受9折优惠", "patewayai": "PatewayAI 为 CC Switch 的用户提供了特别福利,通过此链接注册可以获得3美元额度。", + "claudeapi": "ClaudeAPI 为 CC Switch 的用户提供了特别福利,通过此链接注册可以领取测试额度。", "minimax_cn": "MiniMax Coding Plan 特惠,Starter 套餐 9.9 元起", "minimax_en": "MiniMax Coding Plan 黑五特惠,Starter 套餐现仅 $2/月(2折优惠!)", "dmxapi": "Claude Code 专属模型 3.4 折优惠进行中!", diff --git a/src/icons/extracted/ClaudeApi.png b/src/icons/extracted/ClaudeApi.png new file mode 100644 index 000000000..776ced8c7 Binary files /dev/null and b/src/icons/extracted/ClaudeApi.png differ diff --git a/src/icons/extracted/index.ts b/src/icons/extracted/index.ts index f2b50d8be..08cd53cbb 100644 --- a/src/icons/extracted/index.ts +++ b/src/icons/extracted/index.ts @@ -1,6 +1,7 @@ // Auto-generated icon index // Do not edit manually +import _claudeapi from "./ClaudeApi.png"; import _eflowcode from "./eflowcode.png"; import _hermes from "./hermes.png"; import _lemondata from "./lemondata.png"; @@ -81,6 +82,7 @@ export const icons: Record = { }; export const iconUrls: Record = { + claudeapi: _claudeapi, eflowcode: _eflowcode, hermes: _hermes, lemondata: _lemondata, diff --git a/src/icons/extracted/metadata.ts b/src/icons/extracted/metadata.ts index e546b8021..7ee70694d 100644 --- a/src/icons/extracted/metadata.ts +++ b/src/icons/extracted/metadata.ts @@ -72,6 +72,12 @@ export const iconMetadata: Record = { keywords: ["anthropic"], defaultColor: "#D4915D", }, + claudeapi: { + name: "claudeapi", + displayName: "ClaudeAPI", + category: "ai-provider", + keywords: ["claudeapi", "claude", "anthropic", "bedrock"], + }, cloudflare: { name: "cloudflare", displayName: "Cloudflare",