Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gitstq/BlueEagle-AI-Gateway-2026-V5

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

🦅 蓝鹰AI网关 | BlueEagle AI Gateway

🌐 全球顶尖大模型统一API网关 — 一站式接入所有主流AI模型

「One Gateway, All Models — 原生官方号池,0.09x极致倍率,1:1充值比例」

0.09x Ultra Low Rate 1:1 Recharge 100% Native OpenAI Compatible Free Trial

🔗 官方网站:https://ahg.codes

立即注册,免费获取测试额度 → https://ahg.codes


📖 项目简介 / About

蓝鹰AI网关 是一个面向开发者和企业的高质量AI大模型API中转服务。我们提供统一、稳定、极速的API接入层,让您无需分别对接多家AI厂商,一个API Key即可调用全球顶尖大模型。

BlueEagle AI Gateway is a premium AI model API gateway for developers and enterprises. We provide a unified, stable, and ultra-fast API access layer — one API key to access the world's top AI models.

🎯 为什么选择蓝鹰?/ Why BlueEagle?

特性 蓝鹰AI网关 其他中转站
充值比例 1:1(充1元=1美元) 1:5 ~ 1:10
消耗倍率 0.09x(仅官方9%) 0.5x ~ 1.5x
号池质量 100%原生官方号池 共享/掺假/二次中转
故障切换 毫秒级自动切换 手动切换或无
免费测试 ✅ 注册即送 ❌ 多数不提供
额度有效期 永久有效,不清零 30天~90天

✨ 核心优势 / Core Advantages

💰 0.09x 极致消耗倍率

仅需官方价格的 9% 即可调用同等模型。例如:GPT-4o 官方定价 $5/1M tokens,通过蓝鹰仅需 $0.45/1M tokens

💵 1:1 充值比例

充1元人民币 = 1美元官方额度。无任何汇率加价、无隐藏手续费。

🔒 100% 原生官方号池

所有模型均通过原生官方账号直连,无掺假、无共享、无二次中转,确保响应速度与数据安全。

⚡ 毫秒级自动故障切换

多账号智能负载均衡,任一账号异常时毫秒级自动切换,服务可用性高达 99.9%

🔌 零代码迁移

完全兼容 OpenAI 接口规范,只需修改 base_urlapi_key,即可无缝切换,无需修改任何业务代码。

🎁 免费测试

注册即送测试额度,零成本体验所有模型。


📋 支持模型 / Supported Models

模型系列 支持状态 代表模型
OpenAI GPT ✅ 已支持 GPT-4o, GPT-4o-mini, GPT-4-Turbo, GPT-3.5-Turbo, o1, o3-mini
Anthropic Claude ✅ 已支持 Claude 4 Sonnet, Claude 4 Opus, Claude 3.5 Sonnet, Claude 3.5 Haiku
Google Gemini ✅ 已支持 Gemini 2.5 Pro, Gemini 2.5 Flash, Gemini 2.0 Flash
Antigravity ✅ 已支持 Antigravity 全系列
DeepSeek 🔜 即将支持 DeepSeek-V3, DeepSeek-R1
通义千问 🔜 即将支持 Qwen-Max, Qwen-Plus
Meta Llama 🔜 即将支持 Llama 3, Llama 3.1

📌 持续更新中,更多模型即将上线,敬请关注!


🚀 快速开始 / Quick Start

方式一:curl 调用

curl https://ahg.codes/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "gpt-4o",
    "messages": [
      {"role": "user", "content": "Hello, BlueEagle!"}
    ],
    "stream": true
  }'

方式二: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": "Hello, BlueEagle!"}
    ],
    stream=True
)

for chunk in response:
    if chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)

方式三:Node.js 调用

import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'YOUR_API_KEY',
  baseURL: 'https://ahg.codes/v1'
});

const stream = await client.chat.completions.create({
  model: 'gpt-4o',
  messages: [
    { role: 'system', content: 'You are a helpful assistant.' },
    { role: 'user', content: 'Hello, BlueEagle!' }
  ],
  stream: true
});

for await (const chunk of stream) {
  const content = chunk.choices[0]?.delta?.content || '';
  process.stdout.write(content);
}

方式四:Claude 模型调用

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://ahg.codes/v1"
)

response = client.chat.completions.create(
    model="claude-4-sonnet",
    messages=[
        {"role": "user", "content": "用中文介绍一下蓝鹰AI网关的优势"}
    ]
)

print(response.choices[0].message.content)

💡 提示:所有模型均通过 OpenAI 兼容接口调用,只需更改 model 参数即可切换不同模型。


💰 充值与计费 / Pricing & Billing

计费规则

项目 说明
充值比例 1元人民币 = 1美元额度
消耗倍率 0.09x(官方价格的9%)
计费方式 按量计费,用多少扣多少
额度有效期 永久有效,不清零
最低充值 无最低限制

费用示例

GPT-4o 为例(官方定价:输入 $5/1M tokens,输出 $20/1M tokens):

使用量 官方费用 蓝鹰费用 节省比例
100万输入tokens $5.00 $0.45 91%
100万输出tokens $20.00 $1.80 91%
1000万输入tokens $50.00 $4.50 91%

🎉 充值100元人民币即可获得100美元等效额度,实际可调用约 2.2亿输入tokens 的GPT-4o!


⚔️ 竞品对比 / Competition Comparison

对比维度 🦅 蓝鹰AI网关 中转站A 中转站B 官方直连
充值比例 1:1 1:7 1:5 需海外信用卡
消耗倍率 0.09x 0.8x 1.2x 1.0x
号池类型 100%原生官方 混合号池 共享号池 官方
支付方式 支付宝/微信 加密货币 加密货币 海外信用卡
故障切换 毫秒级自动 手动
免费测试
额度有效期 永久 30天 90天 按月计费
国内访问 ✅ 直连 ❌ 需代理

📁 项目结构 / Project Structure

BlueEagle-AI-Gateway/
├── README.md                 # 项目说明(本文件)
├── LICENSE                   # MIT 开源协议
├── examples/
│   ├── python_example.py     # Python 调用示例
│   ├── node_example.js       # Node.js 调用示例
│   └── curl_example.sh       # curl 调用示例
└── docs/
    └── API.md                # API 接口文档

📞 联系与支持 / Contact & Support

  • 🌐 官方网站https://ahg.codes
  • 📧 邮箱support@ahg.codes
  • 💬 在线客服:官网右下角在线客服
  • 📱 社区交流:加入官网社区获取最新动态

💡 遇到问题? 直接访问 https://ahg.codes 联系在线客服,响应时间 < 5分钟。


⚠️ 免责声明 / Disclaimer

本项目为 蓝鹰AI网关(BlueEagle AI Gateway) 的宣传展示仓库,旨在帮助开发者了解和使用我们的API网关服务。

  • 本仓库中的代码示例仅供演示API调用方式,实际使用请前往 https://ahg.codes 注册获取API Key。
  • 所有模型服务由各AI厂商(OpenAI、Anthropic、Google等)提供,蓝鹰AI网关仅提供API中转服务。
  • 用户需遵守各AI厂商的使用条款和服务协议。
  • 蓝鹰AI网关保留随时调整价格和服务条款的权利。

⭐ 如果这个项目对你有帮助,请给一个 Star!

If you find this helpful, please give us a ⭐!

立即开始 → https://ahg.codes

About

蓝鹰AI网关 | 全球顶尖大模型统一API网关 - 0.09x消耗倍率, 1:1充值比例, 100%原生官方号池, 支持GPT/Claude/Gemini

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.