https://github.com/gitstq/blue-eagle-ai-gateway
蓝鹰AI网关 | 0.09x倍率 · 1:1充值 · 100%原生官方号池 · 一站式接入GPT-4o/Claude-4/Gemini-2.5等顶级大模型
https://github.com/gitstq/blue-eagle-ai-gateway
ai ai-gateway ai-proxy anthropic api-gateway chatgpt claude-api deepseek gemini-api google-gemini gpt gpt-4 llm openai-api openai-compatible
Last synced: 3 days ago
JSON representation
蓝鹰AI网关 | 0.09x倍率 · 1:1充值 · 100%原生官方号池 · 一站式接入GPT-4o/Claude-4/Gemini-2.5等顶级大模型
- Host: GitHub
- URL: https://github.com/gitstq/blue-eagle-ai-gateway
- Owner: gitstq
- License: mit
- Created: 2026-05-22T09:06:33.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-06-17T01:52:21.000Z (7 days ago)
- Last Synced: 2026-06-17T03:24:09.363Z (7 days ago)
- Topics: ai, ai-gateway, ai-proxy, anthropic, api-gateway, chatgpt, claude-api, deepseek, gemini-api, google-gemini, gpt, gpt-4, llm, openai-api, openai-compatible
- 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网关 · 一站式接入所有主流AI模型
🌐 官方网站 ·
📝 注册试用 ·
🚀 快速开始 ·
⚔️ 竞品对比
---
> 💡 **一句话介绍**:充1元 = 1美元官方额度,仅按0.09倍率计费——用GPT-4o、Claude-4、Gemini-2.5等顶级模型,成本不到官方的10%。
---
## 🌟 项目简介 | Introduction
**蓝鹰AI网关(BlueEagle AI Gateway)** 是一个面向开发者和企业的高质量AI大模型API中转服务。通过统一的OpenAI兼容接口,一站式接入OpenAI、Anthropic Claude、Google Gemini等全球顶尖大模型,享受极致性价比。
**BlueEagle AI Gateway** is a high-quality AI model API gateway for developers and enterprises. Access the world's top AI models through a unified OpenAI-compatible API with unbeatable cost efficiency.
### 为什么选择蓝鹰? | Why BlueEagle?
| 特性 | 蓝鹰AI网关 | 其他中转站 |
|------|-----------|-----------|
| 充值比例 | **1:1**(1元=1美元) | 1:5 ~ 1:10 |
| 消耗倍率 | **0.09x** | 0.5x ~ 1.0x |
| 号池来源 | **100%原生官方** | 掺假/共享/二手 |
| 故障切换 | 毫秒级自动切换 | 手动切换/无 |
| 额度有效期 | **永久有效,不清零** | 30天~90天过期 |
---
## ✨ 核心优势 | Core Advantages
### 💰 极致性价比 — 0.09x 倍率
- **充值比例 1:1**:充1元人民币 = 1美元官方额度,无汇率损耗
- **消耗倍率 0.09x**:实际消耗仅为官方定价的 **9%**
- **示例**:GPT-4o官方价格 $5/1M tokens,通过蓝鹰仅需 **$0.45/1M tokens**(约3.2元人民币)
- **按量计费**:用多少付多少,额度永久有效、**永不清零**
### 🛡️ 100%原生官方号池
- 所有API密钥均来自**官方原生账号**,无掺假、无共享、无二次中转
- 多账号智能负载均衡,确保高可用性
- 毫秒级自动故障切换,服务不中断
### 🔌 零代码迁移
- **完全兼容OpenAI接口规范**,只需更换 `base_url`
- 支持所有主流编程语言和框架
- 提供Python、Node.js、curl等完整调用示例
### 🎁 免费测试
- 注册即送测试额度,零成本体验所有模型
- 无需绑定信用卡,开箱即用
---
## 📋 支持模型列表 | Supported Models
| 模型系列 | 模型名称 | 状态 |
|---------|---------|------|
| **OpenAI GPT** | GPT-4o, GPT-4o-mini, GPT-4-Turbo, GPT-3.5-Turbo, o1, o1-mini, o3, o3-mini, o4-mini | ✅ 已支持 |
| **Anthropic Claude** | Claude 4 Opus, Claude 4 Sonnet, Claude 3.5 Sonnet, Claude 3.5 Haiku, Claude 3 Opus | ✅ 已支持 |
| **Google Gemini** | Gemini 2.5 Pro, Gemini 2.5 Flash, Gemini 2.0 Flash, Gemini 1.5 Pro, Gemini 1.5 Flash | ✅ 已支持 |
| **Antigravity** | Antigravity 全系列 | ✅ 已支持 |
| **DeepSeek** | DeepSeek-V3, DeepSeek-R1 | 🔜 即将支持 |
| **通义千问** | Qwen-Max, Qwen-Plus, Qwen-Turbo | 🔜 即将支持 |
| **Meta Llama** | Llama 3, Llama 3.1, Llama 3.2 | 🔜 即将支持 |
> 📌 持续更新中,更多模型即将上线,敬请关注!
---
## 🚀 快速开始 | Quick Start
### 1. 获取API密钥
访问 [https://ahg.codes](https://ahg.codes) 注册账号,在控制面板获取你的API Key。注册即送免费测试额度!
### 2. 配置Base URL
```
https://ahg.codes/v1
```
### 3. 开始调用 | Start Using
#### Python 示例
```python
from openai import OpenAI
client = OpenAI(
api_key="your-blueeagle-api-key", # 替换为你的蓝鹰API密钥
base_url="https://ahg.codes/v1" # 蓝鹰网关地址
)
response = client.chat.completions.create(
model="gpt-4o",
messages=[
{"role": "system", "content": "你是一个有帮助的AI助手。"},
{"role": "user", "content": "请用一句话介绍蓝鹰AI网关的核心优势。"}
],
max_tokens=1024,
temperature=0.7
)
print(response.choices[0].message.content)
```
#### cURL 示例
```bash
curl https://ahg.codes/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-blueeagle-api-key" \
-d '{
"model": "gpt-4o",
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Hello from BlueEagle AI Gateway!"}
],
"max_tokens": 1024
}'
```
#### Node.js 示例
```javascript
import OpenAI from 'openai';
const client = new OpenAI({
apiKey: 'your-blueeagle-api-key',
baseURL: 'https://ahg.codes/v1'
});
async function main() {
const response = await client.chat.completions.create({
model: 'gpt-4o',
messages: [
{ role: 'system', content: 'You are a helpful assistant.' },
{ role: 'user', content: 'Hello from BlueEagle AI Gateway!' }
],
max_tokens: 1024
});
console.log(response.choices[0].message.content);
}
main();
```
> 💡 **提示**:更多示例代码请查看 [`examples/`](./examples) 目录。
---
## 💰 充值与计费说明 | Pricing & Billing
### 计费公式
```
实际费用 = 官方标价 × 0.09x
充值获得额度 = 充值金额(元) × 1(美元/元)
```
### 费用示例
| 模型 | 官方价格 | 蓝鹰价格 | 节省比例 |
|------|---------|---------|---------|
| GPT-4o | $5.00 / 1M input tokens | **$0.45 / 1M tokens** | **91%** |
| Claude 4 Opus | $15.00 / 1M input tokens | **$1.35 / 1M tokens** | **91%** |
| Gemini 2.5 Pro | $1.25 / 1M input tokens | **$0.11 / 1M tokens** | **91%** |
| GPT-4o-mini | $0.15 / 1M input tokens | **$0.014 / 1M tokens** | **91%** |
### 充值说明
- **最低充值**:低门槛,适合个人开发者
- **额度有效期**:**永久有效,永不清零**
- **计费方式**:按量计费,精确到token级别
- **充值入口**:[https://ahg.codes](https://ahg.codes) 控制面板
---
## ⚔️ 竞品对比 | Competitive Comparison
| 对比维度 | 蓝鹰AI网关 | 中转站A | 中转站B | 官方直连 |
|---------|-----------|--------|--------|---------|
| **充值比例** | **1:1** | 1:7 | 1:5 | 1:7.2 |
| **消耗倍率** | **0.09x** | 0.5x | 1.0x | 1.0x |
| **综合成本** | **~1.3%** | ~14% | ~20% | 100% |
| **号池质量** | **100%原生官方** | 混合 | 二手中转 | 官方 |
| **故障切换** | **毫秒级自动** | 手动 | 无 | 无 |
| **额度有效期** | **永久** | 90天 | 30天 | 按月 |
| **免费测试** | **✅ 注册即送** | ❌ | ❌ | ❌ |
| **OpenAI兼容** | **✅ 完全兼容** | ⚠️ 部分 | ❌ | ✅ |
> 🏆 **结论**:蓝鹰AI网关的综合使用成本仅为官方直连的 **~1.3%**,是当前市场上性价比最高的AI API中转方案。
---
## 🏗️ 技术架构 | Architecture
```
用户请求 → 蓝鹰AI网关 → 智能负载均衡 → 官方API
↓
毫秒级故障检测
↓
自动切换备用节点
```
- **多账号池**:智能分配请求,避免单点过载
- **健康检查**:实时监控每个API节点的可用性
- **自动切换**:故障节点毫秒级剔除,无缝切换
- **请求缓存**:对重复请求进行智能缓存,进一步提升速度
---
## 📞 联系与支持 | Contact & Support
- 🌐 **官方网站**:[https://ahg.codes](https://ahg.codes)
- 📧 **商务合作**:通过官网联系
- 💬 **技术支持**:注册后可在控制面板提交工单
- 🔔 **最新动态**:关注官网获取模型更新和优惠信息
---
## ⚠️ 免责声明 | Disclaimer
本项目为AI API中转服务的技术介绍与使用说明仓库。所有AI模型的输出内容由各模型提供商(OpenAI、Anthropic、Google等)独立生成,蓝鹰AI网关不对模型输出内容的准确性、完整性或适用性做任何保证。用户需自行评估并承担使用AI生成内容的相关风险。
This repository provides technical documentation for an AI API gateway service. All AI model outputs are independently generated by their respective providers (OpenAI, Anthropic, Google, etc.). BlueEagle AI Gateway makes no warranties regarding the accuracy, completeness, or suitability of AI-generated content. Users assume full responsibility for evaluating and bearing risks associated with AI-generated content.
---
蓝鹰AI网关 — 让每一次AI调用都物超所值
立即开始免费试用 →
Built with ❤️ for developers worldwide