Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

🦅 BlueEagle AI Gateway | 蓝鹰AI网关

One API, All Models. 0.09x Cost, 100% Native. 一个API,全部模型。0.09倍成本,100%原生。

Official Site Pricing Recharge Native Pool Free Trial OpenAI Compatible

English | 中文


中文

🔥 项目简介

蓝鹰AI网关是全球顶尖大模型统一API网关,让您通过一个API端点即可接入OpenAI GPT、Anthropic Claude、Google Gemini等所有主流AI模型。

核心亮点:仅需官方价格的9%即可使用顶级AI模型,充值比例1:1(充1元=1美元官方额度),额度永久有效、不清零。

🎯 为什么选择蓝鹰?

  • 💰 极致性价比:0.09x消耗倍率,花1块钱享受官方11块钱的模型额度
  • 🔒 100%原生官方号池:无掺假、无共享、无二次中转,响应速度与官方一致
  • 🚀 零代码迁移:完全兼容OpenAI接口规范,改一行base_url即可接入
  • 🎁 免费测试:注册即送测试额度,零风险体验

✨ 核心优势

特性 说明
💰 0.09x 超低倍率 仅为官方定价的9%,行业最低
💳 1:1 充值比例 充1元人民币 = 1美元官方额度
♾️ 额度永不过期 用多少付多少,余额永久有效
100%原生号池 纯官方账号,无掺假无共享
🔄 智能负载均衡 多账号自动分配,毫秒级故障切换
🔌 OpenAI兼容 零代码迁移,改一行base_url
🎁 免费测试额度 注册即送,零风险体验

📋 支持模型列表

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

🚀 快速开始

只需 3步 即可开始使用:

1️⃣ 注册获取API Key

访问 https://ahg.codes 注册账号,在控制台获取您的 API Key。

2️⃣ 选择您的调用方式

🐍 Python 示例
from openai import OpenAI

client = OpenAI(
    api_key="your-blueeagle-api-key",  # 替换为您的蓝鹰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="")

print()
🌐 cURL 示例
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, BlueEagle!"}
    ],
    "stream": true
  }'
🟢 Node.js 示例
import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'your-blueeagle-api-key',  // 替换为您的蓝鹰API Key
  baseURL: 'https://ahg.codes/v1'     // 蓝鹰网关地址
});

async function main() {
  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) {
    process.stdout.write(chunk.choices[0]?.delta?.content || '');
  }
  console.log();
}

main();

3️⃣ 开始调用,享受0.09x超低价格!

💡 迁移提示:如果您已有使用OpenAI SDK的项目,只需将 base_url 改为 https://ahg.codes/v1,将 api_key 替换为蓝鹰的Key即可,无需修改任何其他代码


💰 充值与计费说明

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

💡 费用对比示例

以调用 GPT-4o 为例(假设官方定价 $5/1M tokens):

平台 费用 节省
OpenAI 官方 $5.00 -
蓝鹰AI网关 $0.45 节省91%

🎉 充值10元人民币,即可获得相当于官方 $111 的 GPT-4o 调用额度!


⚔️ 竞品对比

特性 蓝鹰AI网关 OpenAI 官方 其他中转站
GPT-4o 价格 0.09x 1x 0.3x ~ 0.8x
充值比例 1:1 - 1:5 ~ 1:10
号池质量 100%原生官方 官方 混合/不确定
支持模型数 30+ 10+ 10~20
额度有效期 永不过期 按月 30~90天
故障切换 毫秒级自动 - 手动/无
免费测试 部分支持
OpenAI兼容 ✅ 完全兼容 - 部分兼容

📞 联系与支持

  • 🌐 官方网站https://ahg.codes
  • 📧 邮箱支持:通过官网联系
  • 💬 技术支持:注册后通过控制台提交工单

⚠️ 免责声明

本项目仅提供AI模型API聚合转发服务。用户需遵守当地法律法规,不得将本服务用于任何违法违规用途。我们保留随时调整服务内容和价格的权利。


English

🔥 Introduction

BlueEagle AI Gateway is a unified API gateway for the world's top AI models. Access OpenAI GPT, Anthropic Claude, Google Gemini and more through a single API endpoint.

Key Highlights: Use premium AI models at just 9% of official pricing with a 1:1 recharge ratio (1 CNY = 1 USD official credit). Credits never expire.

🎯 Why BlueEagle?

  • 💰 Unbeatable Pricing: 0.09x cost multiplier — spend $1 for what costs $11 on official
  • 🔒 100% Native Official Pool: No mixing, no sharing, no relay-on-relay. Official speed guaranteed
  • 🚀 Zero-Code Migration: Fully OpenAI-compatible. Change one line of base_url and you're done
  • 🎁 Free Trial: Sign up and get free credits to test with zero risk

✨ Core Advantages

Feature Description
💰 0.09x Ultra-Low Rate Only 9% of official pricing — industry lowest
💳 1:1 Recharge Ratio 1 CNY = 1 USD official credit
♾️ Credits Never Expire Pay-as-you-go, balance lasts forever
100% Native Pool Pure official accounts, no mixing or sharing
🔄 Smart Load Balancing Multi-account auto-distribution, millisecond failover
🔌 OpenAI Compatible Zero-code migration, change one base_url
🎁 Free Trial Credits Sign up and start testing immediately

📋 Supported Models

Provider Models Status
OpenAI GPT-4o, GPT-4o-mini, GPT-4-Turbo, GPT-4, GPT-3.5-Turbo, o1, o1-mini, o3-mini ✅ Supported
Anthropic Claude 4 Sonnet, Claude 4 Opus, Claude 3.5 Sonnet, Claude 3.5 Haiku, Claude 3 Opus ✅ Supported
Google Gemini 2.5 Pro, Gemini 2.5 Flash, Gemini 2.0 Flash, Gemini 1.5 Pro ✅ Supported
Antigravity Antigravity full series ✅ Supported
DeepSeek DeepSeek V3, DeepSeek R1 🔜 Coming Soon
Alibaba Qwen-Max, Qwen-Plus 🔜 Coming Soon
Meta Llama 3, Llama 3.1 🔜 Coming Soon

🚀 Quick Start

Get started in 3 easy steps:

1️⃣ Sign Up & Get Your API Key

Visit https://ahg.codes to create an account and get your API key from the dashboard.

2️⃣ Choose Your Integration Method

🐍 Python Example
from openai import OpenAI

client = OpenAI(
    api_key="your-blueeagle-api-key",  # Replace with your BlueEagle API Key
    base_url="https://ahg.codes/v1"     # BlueEagle Gateway endpoint
)

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="")

print()
🌐 cURL Example
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, BlueEagle!"}
    ],
    "stream": true
  }'
🟢 Node.js Example
import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'your-blueeagle-api-key',  // Replace with your BlueEagle API Key
  baseURL: 'https://ahg.codes/v1'     // BlueEagle Gateway endpoint
});

async function main() {
  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) {
    process.stdout.write(chunk.choices[0]?.delta?.content || '');
  }
  console.log();
}

main();

3️⃣ Start Building with 0.09x Pricing!

💡 Migration Tip: If you already have a project using the OpenAI SDK, simply change base_url to https://ahg.codes/v1 and replace api_key with your BlueEagle key. No other code changes needed.


💰 Pricing & Billing

Item Description
Recharge Ratio 1 CNY = 1 USD official credit (1:1)
Cost Multiplier 0.09x (only 9% of official pricing)
Billing Pay-as-you-go
Credit Validity Never expires
Minimum Recharge No minimum

💡 Cost Comparison Example

Using GPT-4o (assuming official price of $5/1M tokens):

Platform Cost Savings
OpenAI Official $5.00 -
BlueEagle AI Gateway $0.45 Save 91%

🎉 Recharge just 10 CNY and get the equivalent of $111 in official GPT-4o credits!


⚔️ Comparison

Feature BlueEagle OpenAI Official Other Relays
GPT-4o Price 0.09x 1x 0.3x ~ 0.8x
Recharge Ratio 1:1 - 1:5 ~ 1:10
Pool Quality 100% Native Official Mixed/Uncertain
Model Count 30+ 10+ 10~20
Credit Validity Never expires Monthly 30~90 days
Failover Auto (ms-level) - Manual/None
Free Trial Partial
OpenAI Compatible ✅ Full - Partial

📞 Contact & Support

  • 🌐 Official Website: https://ahg.codes
  • 📧 Email: Contact via official website
  • 💬 Tech Support: Submit tickets through dashboard after registration

⚠️ Disclaimer

This project provides AI model API aggregation and forwarding services only. Users must comply with local laws and regulations. We reserve the right to adjust service content and pricing at any time.


⭐ If you find BlueEagle useful, please give us a star! ⭐

Made with ❤️ by BlueEagle Team

About

BlueEagle AI Gateway - Unified OpenAI-compatible API for GPT-4o/Claude/Gemini at 0.09x cost. 1:1 recharge. 100% native pool. Free trial.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors