Skip to content

About

🦅 蓝鹰AI网关 BlueEagle AI Gateway - 0.09x OpenAI GPT-4o Claude Gemini API | 统一AI大模型网关 | 免费测试 | 1:1充值 | 100%原生号池

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

🦅 蓝鹰AI网关 | BlueEagle AI Gateway

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

The Unified API Gateway for World-Class AI Models

"0.09x官方价格,100%原生质量" "Official Quality at 9% of the Cost"

GitHub stars Price: 0.09x Recharge: 1:1 Pool: 100% Official Free Trial OpenAI Compatible

🌐 官方网站 Official Website | 📝 快速开始 Quick Start | 💰 充值说明 Pricing


📖 项目简介 | About

蓝鹰AI网关(BlueEagle AI Gateway) 是一个面向开发者和企业的AI大模型API统一接入网关。我们聚合了全球顶尖AI模型(OpenAI GPT、Anthropic Claude、Google Gemini等),通过智能负载均衡和毫秒级故障切换,为您提供稳定、高速、低成本的AI API调用服务。

BlueEagle AI Gateway is a unified API gateway for accessing world-class AI large language models. We aggregate top-tier AI models (OpenAI GPT, Anthropic Claude, Google Gemini, etc.) and provide developers with stable, fast, and ultra-low-cost API access through intelligent load balancing and millisecond-level failover.

🔥 为什么选择蓝鹰? | Why BlueEagle?

指标 Metric 蓝鹰AI网关 BlueEagle 官方直连 Official Direct 其他中转站 Other Proxies
💰 价格 Price 0.09x (9% of official) 1.0x 0.3x ~ 0.8x
💱 充值比例 Recharge Rate 1:1 (¥1 = $1) 1:7+ 1:3 ~ 1:6
🏷️ 号池质量 Pool Quality 100% 原生官方 100% 官方 混合/共享/掺假
⚡ 故障切换 Failover 毫秒级自动切换 无 手动/慢速
🔄 负载均衡 Load Balancing 多账号智能均衡 无 基础/无
📡 接口兼容 API Compatible OpenAI 100%兼容 原生 部分兼容

✨ 核心优势 | Key Features

💰 极致性价比 — Ultra Cost-Effective

  • 消耗倍率仅0.09x:仅为官方定价的9%,同样的模型,1/10的价格
  • 充值比例1:1:充1元人民币 = 1美元官方额度,无汇率溢价
  • 按量计费:用多少付多少,额度永久有效、不清零
  • Consumption rate only 0.09x: Just 9% of official pricing
  • Recharge rate 1:1: ¥1 RMB = $1 USD official credit, no exchange rate markup
  • Pay-as-you-go: Credits never expire

🏷️ 100%原生官方号池 — 100% Official Account Pool

  • 所有API调用均通过原生官方账号直连,无掺假、无共享、无二次中转
  • 确保模型输出质量和响应速度与官方完全一致
  • All API calls routed through genuine official accounts — no mixing, no sharing, no secondary proxying
  • Output quality and response speed identical to official API

⚡ 企业级稳定性 — Enterprise-Grade Reliability

  • 多账号智能负载均衡:自动分配最优节点,避免单点过载
  • 毫秒级自动故障切换:节点异常时瞬间切换,服务零中断
  • 高可用架构:99.9%+ SLA可用性保障
  • Intelligent multi-account load balancing with automatic optimal node routing
  • Millisecond-level automatic failover for zero-downtime service
  • High-availability architecture with 99.9%+ SLA guarantee

🔌 零代码迁移 — Zero-Code Migration

  • 完全兼容OpenAI接口规范,只需更换 base_url 即可接入
  • 支持所有主流编程语言和框架
  • Fully compatible with OpenAI API specification — just change base_url
  • Works with all major programming languages and frameworks

🎁 免费测试 — Free Trial

  • 注册即送测试额度,无需绑定信用卡
  • 零风险体验所有已支持模型
  • Free test credits on registration, no credit card required
  • Zero-risk trial for all supported models

📋 支持模型列表 | Supported Models

🟢 已上线 | Live Now

模型系列 Model Series 支持模型 Supported Models 状态 Status
OpenAI GPT GPT-4o, GPT-4o-mini, GPT-4-Turbo, GPT-4, GPT-3.5-Turbo, o1, o1-mini, o3-mini ✅ 已上线
Anthropic Claude Claude 4 Opus, Claude 4 Sonnet, Claude 3.5 Sonnet, Claude 3.5 Haiku, Claude 3 Opus, Claude 3 Sonnet ✅ 已上线
Google Gemini Gemini 2.5 Pro, Gemini 2.5 Flash, Gemini 2.0 Flash, Gemini 1.5 Pro, Gemini 1.5 Flash ✅ 已上线
Antigravity Antigravity 全系列 ✅ 已上线

🟡 即将支持 | Coming Soon

模型系列 Model Series 预计上线 ETA
DeepSeek 🔜 近期上线
通义千问 Qwen 🔜 近期上线
Llama 3 🔜 近期上线

💡 持续更新中,更多模型敬请期待! | More models coming soon!


🚀 快速开始 | Quick Start

前置条件 | Prerequisites

  1. 前往 https://ahg.codes 注册账号
  2. 获取您的 API Key(注册即送测试额度)
  3. 将下方示例中的 YOUR_API_KEY 替换为您的实际Key

1️⃣ 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 AI Gateway!"}
    ],
    "temperature": 0.7
  }'

2️⃣ 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 AI Gateway!"}
    ],
    temperature=0.7
)

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

💡 提示:如果您之前使用官方OpenAI SDK,只需将 base_url 改为 https://ahg.codes/v1,其余代码无需任何修改!

3️⃣ Node.js 示例

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: 'gpt-4o',
    messages: [
      { role: 'system', content: 'You are a helpful assistant.' },
      { role: 'user', content: 'Hello, BlueEagle AI Gateway!' }
    ],
    temperature: 0.7
  });

  console.log(response.choices[0].message.content);
}

main();

4️⃣ 流式输出示例 (Streaming)

from openai import OpenAI

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

stream = client.chat.completions.create(
    model="claude-3-5-sonnet-20241022",
    messages=[{"role": "user", "content": "用中文介绍一下蓝鹰AI网关"}],
    stream=True
)

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

💰 充值与计费说明 | Pricing & Billing

计费方式 | How It Works

蓝鹰AI网关采用按量计费模式,核心优势:

项目 Item 说明 Details
充值比例 1元人民币 = 1美元官方额度
消耗倍率 0.09x(仅官方定价的9%)
实际成本 GPT-4o官方$5/1M tokens → 蓝鹰仅 $0.45/1M tokens(约¥3.3)
额度有效期 永久有效,不清零
最低充值 无最低限制,按需充值

💡 费用对比示例 | Cost Comparison Example

以调用 GPT-4o 处理 100万 tokens 为例:

平台 Platform 费用 Cost 节省 Savings
OpenAI 官方 Official $5.00 (约¥36) —
其他中转站 Other Proxies $1.50 ~ $4.00 (约¥11~¥29) 20%~70%
蓝鹰AI网关 BlueEagle $0.45 (约¥3.3) 🏆 节省91%

🎉 充值10元人民币即可获得相当于官方$10的额度,实际可调用相当于官方$111的API量!


⚔️ 竞品对比 | Competitive Comparison

特性 Feature 蓝鹰AI网关 BlueEagle OpenRouter API2D One API
价格倍率 0.09x 0.7x ~ 1.0x 0.3x ~ 0.5x 自定义
充值比例 1:1 按美元 1:3~1:5 自定义
号池质量 100%官方原生 官方 混合 取决于渠道
负载均衡 ✅ 智能多账号 ❌ ❌ ❌
故障切换 ✅ 毫秒级 ❌ ❌ ❌
免费测试 ✅ 注册即送 ✅ 有限 ❌ ❌
OpenAI兼容 ✅ 100% ✅ ✅ 部分 ✅
支持模型数 50+ 200+ 20+ 取决于配置

📞 联系与支持 | Contact & Support

常见问题 FAQ

❓ 如何获取API Key?

访问 https://ahg.codes 注册账号后,在控制台中即可生成您的专属API Key。注册即送免费测试额度。

❓ 支持哪些支付方式?

支持支付宝、微信支付等多种国内主流支付方式,充值即时到账。

❓ 额度会过期吗?

不会。所有充值额度永久有效,不设任何过期时间。

❓ 如何从官方API迁移?

只需将代码中的 base_url 替换为 https://ahg.codes/v1,将 api_key 替换为蓝鹰的Key即可,其余代码无需修改。

❓ 是否支持流式输出(Streaming)?

完全支持。与OpenAI官方的流式输出接口完全一致。


⚠️ 免责声明 | Disclaimer

本项目仓库仅用于蓝鹰AI网关的服务介绍和API使用文档展示。所有AI模型服务由各模型官方提供,蓝鹰AI网关仅作为API聚合和转发服务。

  • 用户在使用本服务时应遵守所在地区的法律法规
  • 用户对通过本服务生成的内容承担全部责任
  • 本服务不存储用户的对话内容
  • 我们保留在不事先通知的情况下调整服务内容和价格的权利

This repository is for BlueEagle AI Gateway service introduction and API documentation only. All AI model services are provided by their respective official providers. BlueEagle AI Gateway acts solely as an API aggregation and forwarding service.

  • Users must comply with applicable laws and regulations in their jurisdiction
  • Users bear full responsibility for content generated through this service
  • This service does not store user conversation content
  • We reserve the right to modify service content and pricing without prior notice

⭐ 如果蓝鹰AI网关对您有帮助,请给我们一个Star! ⭐ If BlueEagle AI Gateway helps you, please give us a Star!

🌐 访问官网 Visit Website


Made with ❤️ by BlueEagle AI Team

About

🦅 蓝鹰AI网关 BlueEagle AI Gateway - 0.09x OpenAI GPT-4o Claude Gemini API | 统一AI大模型网关 | 免费测试 | 1:1充值 | 100%原生号池

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors