mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-30 02:14:43 +08:00
Add AtlasCloud partner provider presets
This commit is contained in:
@@ -623,6 +623,20 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [
|
||||
partnerPromotionKey: "apinebula",
|
||||
icon: "apinebula",
|
||||
},
|
||||
{
|
||||
name: "AtlasCloud",
|
||||
websiteUrl: "https://www.atlascloud.ai/console/coding-plan",
|
||||
apiKeyUrl: "https://www.atlascloud.ai/console/coding-plan",
|
||||
category: "aggregator",
|
||||
baseUrl: "https://api.atlascloud.ai",
|
||||
mode: "direct",
|
||||
apiFormat: "anthropic",
|
||||
modelRoutes: passthroughRoutes(),
|
||||
endpointCandidates: ["https://api.atlascloud.ai"],
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "atlascloud",
|
||||
icon: "atlascloud",
|
||||
},
|
||||
{
|
||||
name: "ClaudeAPI",
|
||||
websiteUrl: "https://claudeapi.com",
|
||||
|
||||
@@ -661,6 +661,27 @@ export const providerPresets: ProviderPreset[] = [
|
||||
partnerPromotionKey: "apinebula",
|
||||
icon: "apinebula",
|
||||
},
|
||||
{
|
||||
name: "AtlasCloud",
|
||||
websiteUrl: "https://www.atlascloud.ai/console/coding-plan",
|
||||
apiKeyUrl: "https://www.atlascloud.ai/console/coding-plan",
|
||||
settingsConfig: {
|
||||
env: {
|
||||
ANTHROPIC_BASE_URL: "https://api.atlascloud.ai",
|
||||
ANTHROPIC_AUTH_TOKEN: "",
|
||||
ANTHROPIC_MODEL: "zai-org/glm-5.1",
|
||||
ANTHROPIC_DEFAULT_HAIKU_MODEL: "zai-org/glm-5.1",
|
||||
ANTHROPIC_DEFAULT_SONNET_MODEL: "zai-org/glm-5.1",
|
||||
ANTHROPIC_DEFAULT_OPUS_MODEL: "zai-org/glm-5.1",
|
||||
CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS: "1",
|
||||
},
|
||||
},
|
||||
endpointCandidates: ["https://api.atlascloud.ai"],
|
||||
category: "aggregator",
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "atlascloud",
|
||||
icon: "atlascloud",
|
||||
},
|
||||
{
|
||||
name: "ClaudeAPI",
|
||||
websiteUrl: "https://claudeapi.com",
|
||||
|
||||
@@ -877,6 +877,30 @@ requires_openai_auth = true`,
|
||||
partnerPromotionKey: "apinebula",
|
||||
icon: "apinebula",
|
||||
},
|
||||
{
|
||||
name: "AtlasCloud",
|
||||
websiteUrl: "https://www.atlascloud.ai/console/coding-plan",
|
||||
apiKeyUrl: "https://www.atlascloud.ai/console/coding-plan",
|
||||
category: "aggregator",
|
||||
auth: generateThirdPartyAuth(""),
|
||||
config: `model_provider = "custom"
|
||||
model = "zai-org/glm-5.1"
|
||||
disable_response_storage = true
|
||||
|
||||
[model_providers.custom]
|
||||
name = "AtlasCloud"
|
||||
base_url = "https://api.atlascloud.ai/v1"
|
||||
wire_api = "responses"
|
||||
requires_openai_auth = true`,
|
||||
endpointCandidates: ["https://api.atlascloud.ai/v1"],
|
||||
apiFormat: "openai_chat",
|
||||
modelCatalog: modelCatalog([
|
||||
{ model: "zai-org/glm-5.1", displayName: "GLM 5.1" },
|
||||
]),
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "atlascloud",
|
||||
icon: "atlascloud",
|
||||
},
|
||||
{
|
||||
name: "ClaudeCN",
|
||||
websiteUrl: "https://claudecn.top",
|
||||
|
||||
@@ -805,6 +805,30 @@ export const hermesProviderPresets: HermesProviderPreset[] = [
|
||||
model: { default: "gpt-5.5", provider: "apinebula" },
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "AtlasCloud",
|
||||
websiteUrl: "https://www.atlascloud.ai/console/coding-plan",
|
||||
apiKeyUrl: "https://www.atlascloud.ai/console/coding-plan",
|
||||
settingsConfig: {
|
||||
name: "atlascloud",
|
||||
base_url: "https://api.atlascloud.ai/v1",
|
||||
api_key: "",
|
||||
api_mode: "chat_completions",
|
||||
models: [
|
||||
{
|
||||
id: "zai-org/glm-5.1",
|
||||
name: "GLM 5.1",
|
||||
},
|
||||
],
|
||||
},
|
||||
category: "aggregator",
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "atlascloud",
|
||||
icon: "atlascloud",
|
||||
suggestedDefaults: {
|
||||
model: { default: "zai-org/glm-5.1", provider: "atlascloud" },
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Cubence",
|
||||
websiteUrl: "https://cubence.com",
|
||||
|
||||
@@ -1504,6 +1504,38 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "AtlasCloud",
|
||||
websiteUrl: "https://www.atlascloud.ai/console/coding-plan",
|
||||
apiKeyUrl: "https://www.atlascloud.ai/console/coding-plan",
|
||||
settingsConfig: {
|
||||
baseUrl: "https://api.atlascloud.ai/v1",
|
||||
apiKey: "",
|
||||
api: "openai-completions",
|
||||
models: [
|
||||
{
|
||||
id: "zai-org/glm-5.1",
|
||||
name: "GLM 5.1",
|
||||
},
|
||||
],
|
||||
},
|
||||
category: "aggregator",
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "atlascloud",
|
||||
icon: "atlascloud",
|
||||
templateValues: {
|
||||
apiKey: {
|
||||
label: "API Key",
|
||||
placeholder: "",
|
||||
editorValue: "",
|
||||
},
|
||||
},
|
||||
suggestedDefaults: {
|
||||
model: {
|
||||
primary: "atlascloud/zai-org/glm-5.1",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Cubence",
|
||||
websiteUrl: "https://cubence.com",
|
||||
|
||||
@@ -1264,6 +1264,34 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "AtlasCloud",
|
||||
websiteUrl: "https://www.atlascloud.ai/console/coding-plan",
|
||||
apiKeyUrl: "https://www.atlascloud.ai/console/coding-plan",
|
||||
settingsConfig: {
|
||||
npm: "@ai-sdk/openai-compatible",
|
||||
name: "AtlasCloud",
|
||||
options: {
|
||||
baseURL: "https://api.atlascloud.ai/v1",
|
||||
apiKey: "",
|
||||
setCacheKey: true,
|
||||
},
|
||||
models: {
|
||||
"zai-org/glm-5.1": { name: "GLM 5.1" },
|
||||
},
|
||||
},
|
||||
category: "aggregator",
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "atlascloud",
|
||||
icon: "atlascloud",
|
||||
templateValues: {
|
||||
apiKey: {
|
||||
label: "API Key",
|
||||
placeholder: "",
|
||||
editorValue: "",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Cubence",
|
||||
websiteUrl: "https://cubence.com",
|
||||
|
||||
@@ -869,6 +869,7 @@
|
||||
"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",
|
||||
"apikeyfun": "APIKEY.FUN offers a special deal for CC Switch users. Register through the exclusive link to enjoy up to permanent 5% off top-ups.",
|
||||
"apinebula": "APINEBULA offers CC Switch users a special discount: register using the link and enter the \"ccswitch\" promo code during your first top-up to get 10% off.",
|
||||
"atlascloud": "Atlas Cloud is a full-modal AI inference platform that gives developers one API for video generation, image generation, and LLM access. Check out its new Coding Plan promotion for more budget-friendly API access.",
|
||||
"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.",
|
||||
"claudecn": "ClaudeCN is an enterprise-grade AI gateway operated by a registered company, supporting enterprise procurement processes with corporate payments, contracts, and compliance guarantees.",
|
||||
|
||||
@@ -869,6 +869,7 @@
|
||||
"packycode": "PackyCode は CC Switch の公式パートナーです。登録後チャージ時に \"cc-switch\" を入力すると 10% オフ",
|
||||
"apikeyfun": "APIKEY.FUN は CC Switch ユーザー向けに特別優待を提供しています。専用リンクから登録すると、最大でチャージ永久 5% オフを受けられます。",
|
||||
"apinebula": "APINEBULA は CC Switch ユーザー向けに特別割引を提供しています。専用リンクから登録し、チャージ時にプロモコード「ccswitch」を入力すると、さらに 10% OFF の割引が適用されます。",
|
||||
"atlascloud": "Atlas Cloud は、1 つの API で動画・画像生成や LLM を利用できる全モーダル対応の AI 推論プラットフォームです。より低コストで API を利用できる新しい「コーディングプラン」プロモーションをご確認ください。",
|
||||
"patewayai": "PatewayAI は CC Switch ユーザーに特別な特典を提供しています。このリンクから登録すると $3 のクレジットがもらえます。",
|
||||
"claudeapi": "ClaudeAPI は CC Switch ユーザーに特別な特典を提供しています。このリンクから登録するとテストクレジットを受け取ることができます。",
|
||||
"claudecn": "ClaudeCN は登録企業が運営するエンタープライズグレードの AI ゲートウェイプラットフォームで、企業調達プロセスをサポートし、法人支払い、契約、コンプライアンス保証を提供します。",
|
||||
|
||||
@@ -840,6 +840,7 @@
|
||||
"packycode": "PackyCode 是 CC Switch 的官方合作夥伴,使用此連結註冊並在儲值時填寫「cc-switch」優惠碼,可以享受 9 折優惠",
|
||||
"apikeyfun": "APIKEY.FUN 為 CC Switch 的使用者提供了特別優惠,透過專屬連結註冊,可享受最高儲值永久 95 折優惠。",
|
||||
"apinebula": "APINEBULA 為 CC Switch 使用者提供特別優惠:使用專屬連結註冊並在儲值時填寫「ccswitch」優惠碼,可享 9 折優惠。",
|
||||
"atlascloud": "Atlas Cloud 是一個全模態 AI 推理平台,透過單一 API 為開發者提供影片生成、圖像生成及 LLM 接入。立即查看全新「編程計畫」優惠,取得更具性價比的 API 接入。",
|
||||
"patewayai": "PatewayAI 為 CC Switch 的使用者提供了特別福利,透過此連結註冊可以獲得 3 美元額度。",
|
||||
"claudeapi": "ClaudeAPI 為 CC Switch 的使用者提供了特別福利,透過此連結註冊可以領取測試額度。",
|
||||
"claudecn": "ClaudeCN 是一家實體企業營運的企業級 AI 中繼平台,支援企業採購流程,可對公打款、簽約,服務合規有保障。",
|
||||
|
||||
@@ -869,6 +869,7 @@
|
||||
"packycode": "PackyCode 是 CC Switch 的官方合作伙伴,使用此链接注册并在充值时填写 \"cc-switch\" 优惠码,可以享受9折优惠",
|
||||
"apikeyfun": "APIKEY.FUN 为 CC Switch 的用户提供了特别优惠,通过专属链接注册,可享受最高充值永久 95 折优惠。",
|
||||
"apinebula": "APINEBULA 为 CC Switch 用户提供特别优惠:使用专属链接注册并在充值时填写 \"ccswitch\" 优惠码,可享九折优惠。",
|
||||
"atlascloud": "Atlas Cloud 是一个全模态 AI 推理平台,通过单一 API 为开发者提供视频生成、图像生成及 LLM 接入。立即查看全新“编程计划”优惠,获取更具性价比的 API 接入。",
|
||||
"patewayai": "PatewayAI 为 CC Switch 的用户提供了特别福利,通过此链接注册可以获得3美元额度。",
|
||||
"claudeapi": "ClaudeAPI 为 CC Switch 的用户提供了特别福利,通过此链接注册可以领取测试额度。",
|
||||
"claudecn": "ClaudeCN 是一家实体企业运营的企业级AI中转平台,支持企业采购流程,可对公打款、签约,服务合规有保障。",
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 105 KiB |
@@ -3,6 +3,7 @@
|
||||
|
||||
import _apikeyfun from "./apikeyfun.png";
|
||||
import _apinebula from "./apinebula_icon.png";
|
||||
import _atlascloud from "./atlascloud_icon.png";
|
||||
import _claudeapi from "./ClaudeApi.png";
|
||||
import _byteplus from "./byteplus.png";
|
||||
import _claudecn from "./claudecn.png";
|
||||
@@ -91,6 +92,7 @@ export const icons: Record<string, string> = {
|
||||
export const iconUrls: Record<string, string> = {
|
||||
apikeyfun: _apikeyfun,
|
||||
apinebula: _apinebula,
|
||||
atlascloud: _atlascloud,
|
||||
byteplus: _byteplus,
|
||||
claudeapi: _claudeapi,
|
||||
claudecn: _claudecn,
|
||||
|
||||
@@ -39,6 +39,21 @@ export const iconMetadata: Record<string, IconMetadata> = {
|
||||
],
|
||||
defaultColor: "#C86F49",
|
||||
},
|
||||
atlascloud: {
|
||||
name: "atlascloud",
|
||||
displayName: "AtlasCloud",
|
||||
category: "ai-provider",
|
||||
keywords: [
|
||||
"atlascloud",
|
||||
"atlas cloud",
|
||||
"coding plan",
|
||||
"openai",
|
||||
"anthropic",
|
||||
"codex",
|
||||
"claude",
|
||||
],
|
||||
defaultColor: "#111111",
|
||||
},
|
||||
alibaba: {
|
||||
name: "alibaba",
|
||||
displayName: "Alibaba",
|
||||
|
||||
Reference in New Issue
Block a user