diff --git a/README.md b/README.md index bac70be1b..8c3bcc870 100644 --- a/README.md +++ b/README.md @@ -151,6 +151,11 @@ Register now via this lin Thanks to CCSub for sponsoring this project! CCSub is a stable, affordable AI API relay platform — your drop-in replacement for a Claude.ai subscription. One API key gives you access to Claude Opus 4.8, Sonnet, Haiku, GPT-5, Gemini, and DeepSeek at roughly 30% of direct API cost, with no VPN required from anywhere in the world. Compatible with Claude Code, Codex, Cursor, Cline, Continue, Windsurf, and all major AI coding tools. Register via this link and get $5 free credit on sign-up. + +Unity2.ai +Thanks to Unity2.ai for sponsoring this project! Unity2.ai is a high-performance AI model API relay platform for individual developers, teams, and enterprises. Long trusted by leading companies in China, it serves over 30 billion tokens per day and supports high concurrency at the 5,000 RPM level. It offers balance-based billing, first top-up bonuses, bundle subscriptions, corporate invoicing, and dedicated support. Register via this link to get $2 in credits, plus another $10 for joining the official group — up to $12 in free credits! + + diff --git a/README_DE.md b/README_DE.md index bec5cf687..f7420641b 100644 --- a/README_DE.md +++ b/README_DE.md @@ -151,6 +151,11 @@ Registrieren Sie sich jetzt über diesen Link und erhalten Sie $5 Startguthaben bei der Anmeldung. + +Unity2.ai +Danke an Unity2.ai für die Unterstützung dieses Projekts! Unity2.ai ist eine leistungsstarke AI-Modell-API-Relay-Plattform für Einzelentwickler, Teams und Unternehmen. Sie wird seit Langem von führenden Unternehmen in China genutzt, verarbeitet täglich über 30 Milliarden Tokens und unterstützt hohe Parallelität auf 5.000-RPM-Niveau. Geboten werden Guthaben-Abrechnung, Ersteinzahlungsbonus, Kombi-Abonnements, Firmenrechnungen und persönliche Betreuung. Registrieren Sie sich über diesen Link und erhalten Sie $2 Guthaben, plus weitere $10 für den Beitritt zur offiziellen Gruppe — bis zu $12 Gratis-Guthaben! + + diff --git a/README_JA.md b/README_JA.md index d100d4d08..046567c6a 100644 --- a/README_JA.md +++ b/README_JA.md @@ -150,6 +150,11 @@ Claude Code / Codex / Gemini 公式チャンネルが最安で元価格の 38% / CCSub のご支援に感謝します!CCSub は安定した低価格の AI API リレープラットフォームで、Claude Code 公式サブスクリプションの強力な代替です。1 つの API キーで Claude Opus 4.8、Sonnet 4.6、Haiku 4.5、GPT-5、Gemini、DeepSeek の全モデルを公式直接利用の約 1/3 のコストでご利用いただけます。VPN 不要で世界中から直接接続可能。Claude Code、Codex、Cursor、Cline、Continue、Windsurf など主要な AI コーディングツールすべてに対応しています。こちらのリンクから登録すると $5 の無料クレジットがもらえます。 + +Unity2.ai +Unity2.ai のご支援に感謝します!Unity2.ai は個人開発者・チーム・企業向けの高性能 AI モデル API リレープラットフォームです。中国の大手企業に長年利用されており、1 日 300 億トークン以上を処理し、5000 RPM クラスの高並列に対応しています。残高課金、初回チャージボーナス、組み合わせサブスクリプション、企業向け請求書発行、専任サポートを提供。こちらのリンクから登録すると $2 のクレジット、公式グループへの参加でさらに $10、最大 $12 の無料クレジットがもらえます! + + diff --git a/README_ZH.md b/README_ZH.md index 6059d7b93..984f45242 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -151,6 +151,11 @@ Claude Code / Codex / Gemini 官方渠道低至 3.8 / 0.2 / 0.9 折,充值更 感谢 CCSub 赞助本项目!CCSub 是稳定、实惠的 AI API 中转平台,是 Claude Code 官方订阅的超强平替。一个 API Key 即可调用 Claude Opus 4.8、Sonnet 4.6、Haiku 4.5、GPT-5、Gemini、DeepSeek 全系列模型,价格约为官方直连的 1/3,全球直连无需梯子。兼容 Claude Code、Codex、Cursor、Cline、Continue、Windsurf 等所有主流 AI 编程工具。通过此链接注册即送 $5 体验额度! + +Unity2.ai +感谢 Unity2.ai 赞助了本项目!Unity2.ai 是面向个人开发者、团队和企业的高性能 AI 模型 API 中转平台,长期服务国内头部企业,日均承载超 300 亿 token 调用,支持 5000 RPM 级高并发。支持余额计费、首充赠额、组合订阅、企业开票和专属对接。通过此链接注册可领取 $2 余额,加入官方群再送 $10 余额,最高可领 $12 免费额度! + + diff --git a/assets/partners/logos/ccsub.jpg b/assets/partners/logos/ccsub.jpg index 34253552f..92fae2452 100644 Binary files a/assets/partners/logos/ccsub.jpg and b/assets/partners/logos/ccsub.jpg differ diff --git a/assets/partners/logos/unity2.jpg b/assets/partners/logos/unity2.jpg new file mode 100644 index 000000000..ec3b05740 Binary files /dev/null and b/assets/partners/logos/unity2.jpg differ diff --git a/src/config/claudeDesktopProviderPresets.ts b/src/config/claudeDesktopProviderPresets.ts index 3ee250a78..623e10884 100644 --- a/src/config/claudeDesktopProviderPresets.ts +++ b/src/config/claudeDesktopProviderPresets.ts @@ -253,6 +253,19 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [ partnerPromotionKey: "ccsub", icon: "ccsub", }, + { + name: "Unity2.ai", + websiteUrl: "https://unity2.ai", + apiKeyUrl: "https://unity2.ai/register?source=ccs", + category: "aggregator", + baseUrl: "https://api.unity2.ai", + mode: "direct", + apiFormat: "anthropic", + modelRoutes: passthroughRoutes(true), + isPartner: true, + partnerPromotionKey: "unity2", + icon: "unity2", + }, { name: "Gemini Native", websiteUrl: "https://ai.google.dev/gemini-api", diff --git a/src/config/claudeProviderPresets.ts b/src/config/claudeProviderPresets.ts index 1e89b8b53..71ad13cef 100644 --- a/src/config/claudeProviderPresets.ts +++ b/src/config/claudeProviderPresets.ts @@ -208,6 +208,21 @@ export const providerPresets: ProviderPreset[] = [ partnerPromotionKey: "ccsub", icon: "ccsub", }, + { + name: "Unity2.ai", + websiteUrl: "https://unity2.ai", + apiKeyUrl: "https://unity2.ai/register?source=ccs", + settingsConfig: { + env: { + ANTHROPIC_BASE_URL: "https://api.unity2.ai", + ANTHROPIC_AUTH_TOKEN: "", + }, + }, + category: "aggregator", + isPartner: true, + partnerPromotionKey: "unity2", + icon: "unity2", + }, { name: "Gemini Native", websiteUrl: "https://ai.google.dev/gemini-api", diff --git a/src/config/codexProviderPresets.ts b/src/config/codexProviderPresets.ts index 6adaf1daa..ee906744f 100644 --- a/src/config/codexProviderPresets.ts +++ b/src/config/codexProviderPresets.ts @@ -231,6 +231,22 @@ export const codexProviderPresets: CodexProviderPreset[] = [ partnerPromotionKey: "ccsub", icon: "ccsub", }, + { + name: "Unity2.ai", + websiteUrl: "https://unity2.ai", + apiKeyUrl: "https://unity2.ai/register?source=ccs", + category: "aggregator", + auth: generateThirdPartyAuth(""), + config: generateThirdPartyConfig( + "unity2", + "https://api.unity2.ai", + "gpt-5.5", + ), + endpointCandidates: ["https://api.unity2.ai"], + isPartner: true, + partnerPromotionKey: "unity2", + icon: "unity2", + }, { name: "Azure OpenAI", websiteUrl: diff --git a/src/config/geminiProviderPresets.ts b/src/config/geminiProviderPresets.ts index e0d4cdda9..569f71255 100644 --- a/src/config/geminiProviderPresets.ts +++ b/src/config/geminiProviderPresets.ts @@ -69,6 +69,24 @@ export const geminiProviderPresets: GeminiProviderPreset[] = [ partnerPromotionKey: "shengsuanyun", icon: "shengsuanyun", }, + { + name: "Unity2.ai", + websiteUrl: "https://unity2.ai", + apiKeyUrl: "https://unity2.ai/register?source=ccs", + settingsConfig: { + env: { + GOOGLE_GEMINI_BASE_URL: "https://api.unity2.ai", + GEMINI_MODEL: "gemini-3.1-pro", + }, + }, + baseURL: "https://api.unity2.ai", + model: "gemini-3.1-pro", + description: "Unity2.ai", + category: "aggregator", + isPartner: true, + partnerPromotionKey: "unity2", + icon: "unity2", + }, { name: "PackyCode", websiteUrl: "https://www.packyapi.com", diff --git a/src/config/hermesProviderPresets.ts b/src/config/hermesProviderPresets.ts index a2fd52ddd..b2d9006ba 100644 --- a/src/config/hermesProviderPresets.ts +++ b/src/config/hermesProviderPresets.ts @@ -248,36 +248,11 @@ export const hermesProviderPresets: HermesProviderPreset[] = [ api_key: "", api_mode: "chat_completions", models: [ - { - id: "claude-opus-4-8", - name: "Claude Opus 4.8", - context_length: 1000000, - }, - { - id: "claude-sonnet-4-6", - name: "Claude Sonnet 4.6", - context_length: 1000000, - }, { id: "gpt-5.5", name: "GPT-5.5", context_length: 400000, }, - { - id: "o3", - name: "o3", - context_length: 200000, - }, - { - id: "gemini-3.1-pro", - name: "Gemini 3.1 Pro", - context_length: 1000000, - }, - { - id: "deepseek-v4-flash", - name: "DeepSeek V4 Flash", - context_length: 1000000, - }, ], }, category: "aggregator", @@ -285,7 +260,32 @@ export const hermesProviderPresets: HermesProviderPreset[] = [ partnerPromotionKey: "ccsub", icon: "ccsub", suggestedDefaults: { - model: { default: "claude-opus-4-8", provider: "ccsub" }, + model: { default: "gpt-5.5", provider: "ccsub" }, + }, + }, + { + name: "Unity2.ai", + websiteUrl: "https://unity2.ai", + apiKeyUrl: "https://unity2.ai/register?source=ccs", + settingsConfig: { + name: "unity2", + base_url: "https://api.unity2.ai/v1", + api_key: "", + api_mode: "chat_completions", + models: [ + { + id: "gpt-5.5", + name: "GPT-5.5", + context_length: 400000, + }, + ], + }, + category: "aggregator", + isPartner: true, + partnerPromotionKey: "unity2", + icon: "unity2", + suggestedDefaults: { + model: { default: "gpt-5.5", provider: "unity2" }, }, }, { diff --git a/src/config/openclawProviderPresets.ts b/src/config/openclawProviderPresets.ts index 61847b64b..732919cfa 100644 --- a/src/config/openclawProviderPresets.ts +++ b/src/config/openclawProviderPresets.ts @@ -265,42 +265,12 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [ apiKey: "", api: "openai-completions", models: [ - { - id: "claude-opus-4-8", - name: "Claude Opus 4.8", - contextWindow: 1000000, - cost: { input: 5, output: 25 }, - }, - { - id: "claude-sonnet-4-6", - name: "Claude Sonnet 4.6", - contextWindow: 1000000, - cost: { input: 3, output: 15 }, - }, { id: "gpt-5.5", name: "GPT-5.5", contextWindow: 400000, cost: { input: 5, output: 15 }, }, - { - id: "o3", - name: "o3", - contextWindow: 200000, - cost: { input: 10, output: 40 }, - }, - { - id: "gemini-3.1-pro", - name: "Gemini 3.1 Pro", - contextWindow: 1000000, - cost: { input: 1.25, output: 10 }, - }, - { - id: "deepseek-v4-flash", - name: "DeepSeek V4 Flash", - contextWindow: 1000000, - cost: { input: 0.14, output: 0.28 }, - }, ], }, category: "aggregator", @@ -316,12 +286,47 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [ }, suggestedDefaults: { model: { - primary: "ccsub/claude-opus-4-8", - fallbacks: ["ccsub/claude-sonnet-4-6"], + primary: "ccsub/gpt-5.5", }, modelCatalog: { - "ccsub/claude-opus-4-8": { alias: "Opus" }, - "ccsub/claude-sonnet-4-6": { alias: "Sonnet" }, + "ccsub/gpt-5.5": { alias: "GPT-5.5" }, + }, + }, + }, + { + name: "Unity2.ai", + websiteUrl: "https://unity2.ai", + apiKeyUrl: "https://unity2.ai/register?source=ccs", + settingsConfig: { + baseUrl: "https://api.unity2.ai/v1", + apiKey: "", + api: "openai-completions", + models: [ + { + id: "gpt-5.5", + name: "GPT-5.5", + contextWindow: 400000, + cost: { input: 5, output: 15 }, + }, + ], + }, + category: "aggregator", + isPartner: true, + partnerPromotionKey: "unity2", + icon: "unity2", + templateValues: { + apiKey: { + label: "API Key", + placeholder: "", + editorValue: "", + }, + }, + suggestedDefaults: { + model: { + primary: "unity2/gpt-5.5", + }, + modelCatalog: { + "unity2/gpt-5.5": { alias: "GPT-5.5" }, }, }, }, diff --git a/src/config/opencodeProviderPresets.ts b/src/config/opencodeProviderPresets.ts index 77cd095fc..20b45bb72 100644 --- a/src/config/opencodeProviderPresets.ts +++ b/src/config/opencodeProviderPresets.ts @@ -420,12 +420,7 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [ setCacheKey: true, }, models: { - "claude-opus-4-8": { name: "Claude Opus 4.8" }, - "claude-sonnet-4-6": { name: "Claude Sonnet 4.6" }, "gpt-5.5": { name: "GPT-5.5" }, - o3: { name: "o3" }, - "gemini-3.1-pro": { name: "Gemini 3.1 Pro" }, - "deepseek-v4-flash": { name: "DeepSeek V4 Flash" }, }, }, category: "aggregator", @@ -440,6 +435,34 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [ }, }, }, + { + name: "Unity2.ai", + websiteUrl: "https://unity2.ai", + apiKeyUrl: "https://unity2.ai/register?source=ccs", + settingsConfig: { + npm: "@ai-sdk/openai-compatible", + name: "Unity2.ai", + options: { + baseURL: "https://api.unity2.ai/v1", + apiKey: "", + setCacheKey: true, + }, + models: { + "gpt-5.5": { name: "GPT-5.5" }, + }, + }, + category: "aggregator", + isPartner: true, + partnerPromotionKey: "unity2", + icon: "unity2", + templateValues: { + apiKey: { + label: "API Key", + placeholder: "", + editorValue: "", + }, + }, + }, { name: "DeepSeek", websiteUrl: "https://platform.deepseek.com", diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 2a681512f..8a3f10f65 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -1002,7 +1002,8 @@ "doubaoseed": "DouBao offers exclusive benefits for CC Switch users: register via this link to get 500K tokens of inference credits for all DouBao text models and 5M tokens of free Seedance 2.0 credits.", "volcengine_agentplan": "Volcengine Ark Agent Plan offers exclusive benefits for CC Switch users: subscribe via this link, starting from ¥40/month for new customers.", "byteplus": "Register via this link to get 500,000 tokens of free inference quota per model.", - "ccsub": "CCSub is a stable, affordable AI API relay — a drop-in replacement for Claude.ai & OpenAI subscriptions, with one key for all models at ~30% of direct API cost." + "ccsub": "CCSub is a stable, affordable AI API relay — a drop-in replacement for Claude.ai & OpenAI subscriptions, with one key for all models at ~30% of direct API cost.", + "unity2": "Unity2.ai offers exclusive benefits for CC Switch users: register via this link to get $2 in credits, plus another $10 for joining the official group — up to $12 in free credits!" }, "presets": { "ucloud": "Compshare", diff --git a/src/i18n/locales/ja.json b/src/i18n/locales/ja.json index 814322c09..2b1f04977 100644 --- a/src/i18n/locales/ja.json +++ b/src/i18n/locales/ja.json @@ -1002,7 +1002,8 @@ "doubaoseed": "豆包大モデルは CC Switch ユーザーに専属特典を提供しています:このリンクから登録すると、豆包全テキストモデル50万トークンの推論クレジットおよびSeedance2.0の500万トークン無料クレジットがもらえます。", "volcengine_agentplan": "火山方舟 Agent Plan は CC Switch ユーザーに専属特典を提供しています:このリンクから方舟AgentPlanを購読すると、新規のお客様は初月40元から利用できます。", "byteplus": "このリンクから登録すると、各モデルごとに50万トークンの無料推論クォータがもらえます。", - "ccsub": "CCSub は安定・低価格の AI API リレーサービスです。Claude Code の公式サブスクリプションの代替として、1つのキーで全モデルを公式比約1/3のコストで利用できます。" + "ccsub": "CCSub は安定・低価格の AI API リレーサービスです。Claude Code の公式サブスクリプションの代替として、1つのキーで全モデルを公式比約1/3のコストで利用できます。", + "unity2": "Unity2.ai は CC Switch ユーザーに専属特典を提供しています:このリンクから登録すると $2 分のクレジット、公式グループ参加でさらに $10、最大 $12 の無料クレジットがもらえます!" }, "presets": { "ucloud": "Compshare", diff --git a/src/i18n/locales/zh-TW.json b/src/i18n/locales/zh-TW.json index 5e81514d6..b689a5a97 100644 --- a/src/i18n/locales/zh-TW.json +++ b/src/i18n/locales/zh-TW.json @@ -973,7 +973,9 @@ "lemondata": "Lemon Code 為 CC Switch 的使用者提供了特別優惠。使用此連結註冊可以獲得 1 美元免費額度。", "doubaoseed": "豆包大模型為 CC Switch 的使用者提供了專屬福利:透過此連結註冊即可取得豆包全系列文本模型 50 萬 tokens 推理額度以及 Seedance 2.0 的 500 萬 tokens 免費額度", "volcengine_agentplan": "火山方舟 Agent Plan 為 CC Switch 的使用者提供了專屬福利:透過此連結訂閱方舟 AgentPlan,新客戶首月 40 元起。", - "byteplus": "透過此連結註冊即可取得每個模型 50 萬 tokens 的免費推理額度。" + "byteplus": "透過此連結註冊即可取得每個模型 50 萬 tokens 的免費推理額度。", + "ccsub": "CCSub 是穩定、實惠的 AI API 中轉平台,Claude Code 官方訂閱的超強平替,一個 Key 覆蓋全部模型,價格約為官方 1/3。", + "unity2": "Unity2.ai 為 CC Switch 使用者提供專屬福利:透過此連結註冊可領取 $2 餘額,加入官方群再送 $10,最高可領 $12 免費額度!" }, "presets": { "ucloud": "優雲智算", diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index 700bccdbe..1b7134a5b 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -1002,7 +1002,8 @@ "doubaoseed": "豆包大模型为 CC Switch 的用户提供了专属福利:通过此链接注册即可获取豆包全系列文本模型 50万tokens推理额度以及Seedance2.0的500万tokens免费额度", "volcengine_agentplan": "火山方舟 Agent Plan 为 CC Switch 的用户提供了专属福利:通过此链接订阅方舟AgentPlan,新客户首月40元起。", "byteplus": "通过此链接注册即可获取每个模型50万tokens的免费推理额度。", - "ccsub": "CCSub 是稳定、实惠的 AI API 中转平台,Claude Code 官方订阅的超强平替,一个 Key 覆盖全部模型,价格约为官方 1/3。" + "ccsub": "CCSub 是稳定、实惠的 AI API 中转平台,Claude Code 官方订阅的超强平替,一个 Key 覆盖全部模型,价格约为官方 1/3。", + "unity2": "Unity2.ai 为 CC Switch 用户提供专属福利:通过此链接注册可领取 $2 余额,加入官方群再送 $10,最高可领 $12 免费额度!" }, "presets": { "ucloud": "优云智算", diff --git a/src/icons/extracted/index.ts b/src/icons/extracted/index.ts index 338001bf3..4063e6556 100644 --- a/src/icons/extracted/index.ts +++ b/src/icons/extracted/index.ts @@ -19,6 +19,7 @@ import _relaxcode from "./relaxcode.png"; import _runapi from "./runapi.jpg"; import _shengsuanyun from "./shengsuanyun.svg?url"; import _sudocode from "./sudocode.png"; +import _unity2 from "./unity2.png"; export const icons: Record = { aicodemirror: `AICodeMirror`, @@ -112,6 +113,7 @@ export const iconUrls: Record = { runapi: _runapi, shengsuanyun: _shengsuanyun, sudocode: _sudocode, + unity2: _unity2, }; export const iconList = [ diff --git a/src/icons/extracted/metadata.ts b/src/icons/extracted/metadata.ts index 9afa9585c..5432f576d 100644 --- a/src/icons/extracted/metadata.ts +++ b/src/icons/extracted/metadata.ts @@ -439,6 +439,13 @@ export const iconMetadata: Record = { keywords: ["hunyuan"], defaultColor: "#00A4FF", }, + unity2: { + name: "unity2", + displayName: "Unity2.ai", + category: "ai-provider", + keywords: ["unity2", "aggregator", "relay", "claude", "codex", "gateway"], + defaultColor: "#000000", + }, vercel: { name: "vercel", displayName: "vercel", diff --git a/src/icons/extracted/unity2.png b/src/icons/extracted/unity2.png new file mode 100644 index 000000000..cab14fb4d Binary files /dev/null and b/src/icons/extracted/unity2.png differ