https://github.com/gitstq/ai-gateway-blueeagle
🦅 BlueEagle AI Gateway - 全球AI模型统一API网关 | 0.09x极致性价比 | 1:1充值 | 100%原生官方号池 | Universal API Gateway for GPT/Claude/Gemini
https://github.com/gitstq/ai-gateway-blueeagle
ai-gateway ai-proxy api-gateway blueeagle claude-api cost-effective gemini-api llm-gateway openai-compatible openai-proxy
Last synced: 3 days ago
JSON representation
🦅 BlueEagle AI Gateway - 全球AI模型统一API网关 | 0.09x极致性价比 | 1:1充值 | 100%原生官方号池 | Universal API Gateway for GPT/Claude/Gemini
- Host: GitHub
- URL: https://github.com/gitstq/ai-gateway-blueeagle
- Owner: gitstq
- License: mit
- Created: 2026-06-17T04:22:57.000Z (7 days ago)
- Default Branch: main
- Last Pushed: 2026-06-17T04:24:06.000Z (7 days ago)
- Last Synced: 2026-06-17T06:19:01.553Z (7 days ago)
- Topics: ai-gateway, ai-proxy, api-gateway, blueeagle, claude-api, cost-effective, gemini-api, llm-gateway, openai-compatible, openai-proxy
- Homepage: https://ahg.codes
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
🦅 蓝鹰AI网关 | BlueEagle AI Gateway
全球顶尖大模型统一API网关
Universal API Gateway for World-Class AI Models
🔥 9% 的价格,100% 的原生体验 🔥
9% of the Cost, 100% Native Experience
---
## 📖 项目简介 | Introduction
**蓝鹰AI网关 (BlueEagle AI Gateway)** 是面向开发者的全球顶尖AI模型统一接入平台。通过 **单一API** 即可调用 OpenAI、Anthropic、Google 等主流大模型,无需管理多个账号和API Key。
> **核心承诺**:100%原生官方号池,无掺假、无共享、无二次中转。您支付的就是官方原生的服务。
**BlueEagle AI Gateway** is a unified access platform for world-class AI models. Access OpenAI, Anthropic, Google, and more through a **single API** — no need to manage multiple accounts and API keys.
> **Core Promise**: 100% native official accounts pool — no tampering, no sharing, no secondary relay. You pay for genuine, native services.
---
## ✨ 核心优势 | Key Advantages
💰 极致性价比
0.09x
仅为官方定价的9%
业界最低倍率
🔄 1:1 充值
1:1
充1元 = 1美元额度
不打折、不缩水
🛡️ 原生号池
100%
官方原生账号
无掺假 · 无中转
⚡ 智能容灾
<1ms
毫秒级自动切换
多账号负载均衡
| 优势 | 详情 |
|------|------|
| 🚀 **零代码迁移** | 完全兼容 OpenAI 接口规范,只需修改 `base_url` 即可 |
| 🆓 **免费测试** | 注册即送测试额度,无需预充值即可体验 |
| 🔐 **额度永久有效** | 按量计费,用多少付多少,余额永不清零 |
| 🌍 **全球节点** | 智能路由,低延迟访问全球AI模型 |
| 💳 **灵活支付** | 支持支付宝、微信支付等多种支付方式 |
---
## 📋 支持模型 | Supported Models
### ✅ 已支持 | Currently Supported
| 厂商 | 模型系列 | 状态 |
|------|----------|:----:|
|
| GPT-4o, GPT-4o-mini, GPT-4, GPT-3.5, o1, o3 全系列 | ✅ |
|
| Claude 4, Claude 3.5 Sonnet, Claude 3 Opus, Claude 3 Haiku 全系列 | ✅ |
|
| Gemini 2.5 Pro, Gemini 2.0 Flash, Gemini 1.5 Pro 全系列 | ✅ |
| 🚀 **Antigravity** | Antigravity 全系列 | ✅ |
### 🔜 即将支持 | Coming Soon
| 厂商 | 模型系列 | 预计时间 |
|------|----------|:--------:|
| DeepSeek | DeepSeek-V3, DeepSeek-R1 | 即将上线 |
| 通义千问 | Qwen 全系列 | 即将上线 |
| Meta Llama | Llama 3, Llama 4 系列 | 即将上线 |
> 📌 **最新模型列表请访问官网查看:** [https://ahg.codes](https://ahg.codes)
---
## 🚀 快速开始 | Quick Start
### 前置条件 | Prerequisites
1. 注册账号:访问 [https://ahg.codes](https://ahg.codes) 注册
2. 获取 API Key:登录后在控制台生成
3. 支持免费测试额度,注册即送
### 🔹 cURL 示例
```bash
curl https://ahg.codes/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "gpt-4o",
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Hello! What is the capital of France?"}
]
}'
```
### 🔹 Python 示例
```python
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://ahg.codes/v1" # 只需修改这里!
)
response = client.chat.completions.create(
model="gpt-4o",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Explain quantum computing in simple terms."}
]
)
print(response.choices[0].message.content)
```
### 🔹 Node.js 示例
```javascript
import OpenAI from 'openai';
const client = new OpenAI({
apiKey: 'YOUR_API_KEY',
baseURL: 'https://ahg.codes/v1' // 只需修改这里!
});
async function main() {
const response = await client.chat.completions.create({
model: 'claude-3-5-sonnet-20241022',
messages: [
{ role: 'user', content: 'Write a haiku about artificial intelligence.' }
]
});
console.log(response.choices[0].message.content);
}
main();
```
> 💡 **更多示例代码详见 [`examples/`](./examples/) 目录**
---
## 💰 充值与计费 | Pricing & Billing
### 价格体系 | Pricing Structure
| 项目 | 说明 |
|------|------|
| 💵 **充值比例** | **1:1** — 充值 1 元人民币 = 1 美元官方额度 |
| 📉 **消耗倍率** | **0.09x** — 仅为官方定价的 9% |
| 🔄 **计费方式** | 按量计费,用多少付多少 |
| ♾️ **额度有效期** | 永久有效,**不清零** |
### 费用计算示例 | Cost Calculation Examples
| 模型 | 官方价格 (每1M输入Token) | 蓝鹰价格 (每1M输入Token) | 节省 |
|:----|:------------------------:|:------------------------:|:----:|
| GPT-4o | $2.50 | **$0.225** | **91%** |
| Claude 3.5 Sonnet | $3.00 | **$0.27** | **91%** |
| Gemini 2.0 Flash | $0.10 | **$0.009** | **91%** |
| GPT-4o-mini | $0.15 | **$0.0135** | **91%** |
> **公式**: 蓝鹰价格 = 官方价格 × 0.09
>
> **示例**: 充值 100 元 → 获得 $100 额度 → 可使用 GPT-4o 处理约 444M 输入Token
---
## ⚔️ 竞品对比 | Comparison
| 对比维度 | 🦅 **蓝鹰AI网关** | 其他中转服务 | 官方直连 |
|:---------|:-----------------:|:------------:|:--------:|
| 💰 **价格倍率** | **0.09x** | 0.3x ~ 0.8x | 1.0x |
| 🔄 **充值比例** | **1:1 (1元=$1)** | 浮动汇率 | — |
| 🛡️ **号池质量** | **100%原生官方号** | 共享号/二次中转 | 原生 |
| ⚡ **故障切换** | **毫秒级自动切换** | 手动/分钟级 | 无 |
| 🔌 **接口兼容** | **100% OpenAI兼容** | 部分兼容 | 各厂商不同 |
| 🆓 **免费试用** | **✅ 注册即送** | 部分支持 | ❌ |
| ♾️ **额度有效期** | **永久有效** | 有时限 | 按账号 |
---
## 📂 项目结构 | Project Structure
```
blueeagle-ai-gateway/
├── README.md # 项目说明 (本文件)
├── LICENSE # 开源许可证
├── .gitignore # Git 忽略规则
└── examples/ # 示例代码
├── python/
│ ├── chat_completion.py # Python 对话示例
│ └── requirements.txt # Python 依赖
├── nodejs/
│ ├── chat.js # Node.js 对话示例
│ └── package.json # Node.js 依赖
└── curl/
└── examples.sh # cURL 命令行示例
```
---
## 📞 联系与支持 | Contact & Support
| 渠道 | 方式 |
|:-----|:-----|
| 🌐 **官方网站** | [https://ahg.codes](https://ahg.codes) |
| 📧 **商务合作** | 访问官网联系客服 |
| 💬 **在线支持** | 官网右下角在线客服 |
| 📖 **API文档** | 官网控制台查看完整API文档 |
---
## ⚠️ 免责声明 | Disclaimer
1. **蓝鹰AI网关** 是一个第三方API聚合服务,通过官方合法渠道接入各大AI模型厂商的API服务。
2. 本服务不提供任何模型的破解、盗用或非法访问。
3. 用户使用本服务应遵守相关AI模型厂商的使用条款和法律法规。
4. 所有AI模型生成的内容不代表本平台立场,用户需自行对使用行为负责。
---
🦅 BlueEagle AI Gateway — 让每个开发者都用得起顶级AI
Making Top-Tier AI Accessible to Every Developer
🌐 ahg.codes
© 2026 BlueEagle AI Gateway. All rights reserved.