Skip to content

gitstq/BlueEagle-AI-Gateway-Public

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

🦅 蓝鹰AI网关 | BlueEagle AI Gateway

官网 倍率 充值比例 原生号池 兼容性 模型

全球顶尖大模型统一API网关 · 一站式接入所有主流AI模型
The Ultimate Unified API Gateway for Top AI Models


📖 项目简介 | About

蓝鹰AI网关 (BlueEagle AI Gateway) 是一个面向开发者的高性能AI大模型中转站,提供全球顶级AI模型的一站式API接入服务。我们通过自建原生官方号池、智能负载均衡和毫秒级故障切换技术,为您提供稳定、高速、极致性价比的AI模型调用体验。

BlueEagle AI Gateway is a high-performance AI model relay station for developers, offering one-stop API access to world-class AI models. With our native official account pool, intelligent load balancing, and millisecond-level failover, we deliver a stable, fast, and cost-effective AI model calling experience.

👉 立即体验 | Try Now


✨ 核心优势 | Key Advantages

优势 说明
💰 极致低价 消耗倍率仅 0.09x,仅为官方定价的 9%
💎 1:1 充值 充值 1元人民币 = 1美元官方额度,无任何隐藏费用
🔒 原生官方号池 100%原生官方API账号,无掺假、无共享、无二次中转
⚡ 智能高可用 多账号智能负载均衡 + 毫秒级自动故障切换
🔄 零代码迁移 完全兼容OpenAI接口规范,一行代码即可切换
🎁 免费测试 注册即送测试额度,无需付费即可体验
📅 永不过期 按量计费,用多少付多少,额度永久有效、不清零

🎯 竞品对比 | Comparison

对比项 蓝鹰AI网关 其他中转站 官方直连
消耗倍率 0.09x 0.4x ~ 0.8x ❌ 1.0x ❌
充值比例 1:1(1元=1美元) 虚标比例 ❌ 无充值 ❌
号池质量 100%原生官方号 共享/掺假号 ❌ 官方 ✅
故障切换 毫秒级自动切换 手动/无切换 ❌ 无 ❌
OpenAI兼容 完全兼容 部分兼容 ❌ 原生 ✅
额度有效期 永久有效 有时限 ❌ 按套餐 ❌
多模型支持 GPT+Claude+Gemini 单一模型 ❌ 单一厂商 ❌

📋 支持模型 | Supported Models

🤖 已支持模型 | Currently Supported

厂商 模型 状态
OpenAI GPT-4o, GPT-4o-mini, GPT-4-Turbo, GPT-3.5-Turbo
Anthropic Claude 3.5 Sonnet, Claude 3 Opus, Claude 3 Haiku
Google Gemini 1.5 Pro, Gemini 1.5 Flash, Gemini 1.0 Pro
Antigravity Antigravity 系列

🚧 即将支持 | Coming Soon

厂商 模型 预计时间
DeepSeek DeepSeek-V2, DeepSeek-Coder 即将上线
通义千问 Qwen 2.5 全系列 即将上线
Meta Llama 3 系列 即将上线

🚀 快速开始 | Quick Start

1️⃣ 获取 API Key

访问 https://ahg.codes 注册账号,即可获得免费测试额度。

2️⃣ 配置 Base URL

所有请求的 base_url 统一设置为:

https://ahg.codes/v1

3️⃣ 调用示例 | Examples

🔹 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! What can you do?"}
    ]
  }'

🔹 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": "user", "content": "Hello! What can you do?"}
    ]
)

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

🔹 Node.js

import OpenAI from 'openai';

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

const response = await client.chat.completions.create({
  model: 'gpt-4o',
  messages: [
    { role: 'user', content: 'Hello! What can you do?' }
  ]
});

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

💰 充值与计费 | Pricing

📊 价格示例 | Price Examples

模型 官方价 (输入/1M tokens) 蓝鹰价 (输入/1M tokens)
GPT-4o $2.50 $0.225
GPT-4o-mini $0.15 $0.0135
Claude 3.5 Sonnet $3.00 $0.27
Gemini 1.5 Pro $1.25 $0.1125
Gemini 1.5 Flash $0.075 $0.00675

💳 充值说明

项目 说明
充值比例 1:1 — 充值 1 元人民币 = 1 美元额度
消耗倍率 0.09x — 仅为官方定价的 9%
额度有效期 永久有效,不清零、不失效
计费方式 按量计费,用多少付多少

示例:充值 100 元 → 获得 100 美元额度 → 可调用 GPT-4o 约 444 万输入 tokens


🔧 项目文件结构 | Project Structure

BlueEagle-AI-Gateway/
├── README.md              # 项目说明文档(中英双语)
├── LICENSE                # 开源许可证
├── .gitignore             # Git 忽略规则
└── examples/
    ├── python/
    │   ├── chat.py        # Python 调用示例
    │   └── requirements.txt
    ├── curl/
    │   └── examples.sh    # cURL 调用示例
    └── nodejs/
        ├── chat.js        # Node.js 调用示例
        └── package.json

📞 联系我们 | Contact

  • 🌐 官方网站: https://ahg.codes
  • 📧 邮箱: 通过官网联系表单
  • 💬 在线客服: 官网右下角在线聊天

⚠️ 免责声明 | Disclaimer

蓝鹰AI网关 是一个AI模型API接入服务提供商,旨在为开发者提供便捷的AI模型调用体验。本服务不提供任何形式的AI模型本身,所有AI模型能力由各模型官方提供商(OpenAI、Anthropic、Google等)拥有。用户在使用本服务时应遵守各模型提供商的使用条款和相关法律法规。

BlueEagle AI Gateway is an AI model API access service provider designed to offer developers a convenient AI model calling experience. This service does not provide any AI models themselves — all AI model capabilities are owned by their respective official providers (OpenAI, Anthropic, Google, etc.). Users should comply with each model provider's terms of service and applicable laws.


🦅 蓝鹰AI网关 — 让顶级AI触手可及
BlueEagle AI Gateway — Making Top-Tier AI Accessible

Star

About

🦅 全球顶尖AI模型统一API网关 | 0.09x官方价 | 1:1充值 | 原生官方号池 | 一站式接入GPT/Claude/Gemini

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors