Claude、GPT、Gemini API 閘道

AI in IDE 是接入 Claude、GPT 與 Gemini 的獨立第三方 API 閘道。訂閱與儲值都可以買,不同訂閱等級的額度不同。然後把你自己的用戶端指向 API 金鑰。

訂閱

安裝 Node.js 22+, 然後運行:

npm install -g @anthropic-ai/claude-code
export ANTHROPIC_BASE_URL='https://api.aiinide.com'
export ANTHROPIC_AUTH_TOKEN="sk-proj-YOUR_KEY"
claude

這是 API 閘道,不是另一個編輯器

一個帳號出售 Claude、GPT 與 Gemini 的接入額度。編輯器或 CLI 仍然是你的用戶端。

Claude、GPT 與 Gemini 渠道

為 Claude、GPT 或 Gemini 渠道建立 API 金鑰。渠道決定協議,以及這把金鑰可以呼叫哪些模型 ID。

比較模型 API 價格

訂閱與儲值

不同訂閱等級的額度不同。儲值是另一筆餘額。帳號設定決定先扣哪一筆。

比較方案

設定你自己的用戶端

設定指南說明 Claude Code、Cursor、VS Code 等用戶端的 Base URL 與 API 金鑰。編輯與 agent 行為屬於那些用戶端。

這是用戶端呼叫本站 API 閘道的示例,不是本站自帶的編輯器。

AI in IDE 是什麼

AI in IDE 是獨立的第三方 API 閘道。它把 Claude、GPT 與 Gemini 的接入當成 API 額度來賣。它不修改你的儲存庫:Claude Code、Cursor、VS Code 等工具仍是你要設定的用戶端。

三家供應商,一個帳號

Claude 金鑰使用 AWSQ 或 CCMAX 渠道,GPT 金鑰使用 Codex,Gemini 金鑰使用 Gemini 渠道。每把金鑰只能呼叫該渠道接受的模型。

訂閱與儲值

訂閱等級帶有自己的額度。儲值是另一筆餘額。預設先扣儲值;帳號可以改成先扣訂閱。

用戶端仍由你控制

把閘道的 Base URL 和 API 金鑰填進你已經在用的用戶端。改程式、agent 與 IDE 功能屬於那個用戶端,不屬於本站。

閘道怎麼用

選擇渠道

AWSQ 與 CCMAX 使用 Claude 協議。Codex 使用 OpenAI Responses。Gemini 使用 generateContent。渠道也決定額度倍率。

購買額度

在定價頁選擇訂閱等級,或另外購買儲值。等級的額度是該方案記錄的金額。儲值另購,額度是 62.5–2500 美元的 API 額度。

把用戶端指向金鑰

依照你所用用戶端的指南設定 Base URL 與 API 金鑰。閘道計算這次請求的額度。編輯由用戶端完成。

Terminal
$I'm new to this codebase. Can you explain it to me?
⏺I'll analyze the Excalidraw codebase structure and provide a high-level overview.
⏺Analyze(what: "Excalidraw codebase structure and provide a high-level overview of what it is, its main components, and how they're organized. Focus on understanding the project's purpose, architecture, and key features.")

Excalidraw is an open-source virtual whiteboard application with a hand-drawn style. It's designed for creating diagrams, wireframes, and collaborative drawings.

## Purpose
• Web-based drawing tool with infinite canvas
• Hand-drawn aesthetic with support for shapes, arrows, text
• End-to-end encrypted collaboration
• Works offline as a PWA (Progressive Web App)
## Architecture
The project is organized as a monorepo with these main components:
1. Core Package (packages/excalidraw)
• React component library for embedding Excalidraw in any application
• Handles drawing, rendering, and core functionality
• Uses roughjs for the hand-drawn style
• Includes export capabilities (PNG, SVG)
2. Web Application (excalidraw-app/)
• Full-featured web app at excalidraw.com
• Built on top of the core package
• Adds collaboration features, local storage, sharing
3. Support Packages
• common - Shared utilities and constants
• element - Element manipulation and type definitions
• math - Mathematical functions for drawing
• utils - General utility functions
4. Examples
• Integration examples (Next.js, browser script)
• Shows how to embed Excalidraw in different environments
5. Documentation (dev-docs/)
• API documentation
• Integration guides
• Component documentation
## Key Features
• Real-time collaboration with end-to-end encryption
• Export to various formats (PNG, SVG, JSON)
• Customizable drawing tools
• Dark mode support
• Localization
• Library of shapes and components
• Arrow bindings and labels
• Image support
## Technology Stack
• React for UI
• TypeScript for type safety
• Firebase for collaboration backend
• Jotai for state management
• Vite for development and building
• IndexedDB/LocalStorage for offline storage
The architecture allows for both using Excalidraw as a component in other applications and as a standalone web application with additional features.
$
這是用戶端呼叫本站 API 閘道的示例,不是本站自帶的編輯器。

選擇適合您的套餐

為不同需求的開發者提供靈活的定價方案,從個人學習到團隊協作,總有一款適合您

Lite
$12.99/月
每月額度
$125
功能
額度可用於 Claude、GPT 與 Gemini
控制台最多可建立 3 把 API 密鑰
Claude Token 按渠道費率扣量
最受歡迎
Pro
$69.99/月
每月額度
$625
功能
額度可用於 Claude、GPT 與 Gemini
控制台最多可建立 10 把 API 密鑰
Claude Token 在渠道費率上再優惠 10%
Team
$222/月
每月額度
$2,500
功能
額度可用於 Claude、GPT 與 Gemini
控制台最多可建立 50 把 API 密鑰
Claude Token 在渠道費率上再優惠 15%
渠道與用量計費說明

每把 API 密鑰只對應一個渠道:Claude 使用 AWSQ 或 CCMAX,GPT 使用 Codex,Gemini 使用 Gemini。Fable 僅限 CCMAX;Mythos 目前不可用。

Token 用量依模型費率與渠道倍率計算:AWSQ 1 倍、CCMAX 2.5 倍、Codex 1 倍、Gemini 0.625 倍。

Pro 與 Team 的會員折扣在渠道倍率計算後,套用於 Claude Token 費用,不適用於 GPT 或 Gemini。折扣減少額度消耗,不加贈額度,也不改變購買價格。

查看模型費率與可用狀態

所有套餐均包含:

安全支付
即時訪問
隨時取消

在定價頁比較各方案的額度與計費週期。

查看定價
價格表

渠道如何消耗美元額度

買到的美元額度就是買到的金額。渠道倍率改變一次請求花掉額度的速度。

渠道影响消耗速度,不影响购买额度

AWSQ 按 1 倍速度消耗購買額度,支持 claude-opus-5-5 和 claude-sonnet-5-5,不支持 Fable。

依我們的使用觀察,CCMAX 通常比 AWSQ 更穩定、回應更快,同一模型也往往有更好的表現。重視使用體驗可選 CCMAX,重視成本則可選 AWSQ。

模型

AWSQ · 10 models

價格單位:每百萬 tokens
模型
輸入
緩存
輸出
claude-sonnet-5-5
全新
$2.00$0.20$10.00
claude-opus-4-7
$5.00$0.50$25.00
claude-opus-5-5
全新
$4.00$0.20$20.00
claude-opus-5
$5.00$0.50$25.00
claude-sonnet-5
默認
$3.00$0.30$15.00
claude-sonnet-4-6
$3.00$0.30$15.00
claude-opus-4-8
$5.00$0.50$25.00
claude-opus-4-6
$5.00$0.50$25.00
claude-opus-4-5-20251101
$5.00$0.50$25.00
claude-haiku-4-5-20251001
$1.00$0.10$5.00

渠道倍率

AWSQ 為 1 倍、Codex 為 1 倍,CCMAX 為 2.5 倍,Gemini 為 0.625 倍,乘的是站內設定的模型價格。倍率改變消耗速度,不改變買到的額度。

常見問題

API 閘道如何出售額度,以及如何把你自己的用戶端指向金鑰。

還有其他問題?

聯繫我們的支持團隊