Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Stars Cost Ratio Native OpenAI Compatible

🦅 蓝鹰AI网关 | BlueEagle AI Gateway

一站式全球顶尖大模型API网关 | Your Unified Gateway to World's Top AI Models

🔥 充1元 = 1美元额度 · 消耗仅0.09x · 原生官方号池 · 零代码迁移

🌐 官方网站 · 💰 立即充值 · 🚀 免费测试


📖 简介 | Introduction

蓝鹰AI网关(BlueEagle AI Gateway) 是全球顶尖大模型的统一API接入平台。我们提供 100%原生官方号池,无任何掺假、共享或二次中转,让您以 官方定价9%的成本 享受与官方完全一致的服务质量。

通过蓝鹰,您只需修改一行 base_url,即可零代码迁移现有应用,一站式接入 OpenAI GPT、Claude、Gemini 等全系列主流AI模型。

BlueEagle AI Gateway is a unified API gateway for world's top AI models. We provide 100% native official API pools with zero adulteration, sharing, or secondary relay. Enjoy identical service quality at only 9% of official pricing.

Migrate your existing applications with zero code changes — just update one base_url.


✨ 核心优势 | Core Advantages

优势 详情 Advantage Details
💰 极致性价比 消耗倍率仅 0.09x,官方$1的调用成本仅需 ¥0.09 Ultra Cost-Effective Consumption rate 0.09x — $1 official cost = ¥0.09
🔄 1:1充值比例 充1元人民币 = 1美元官方额度,无隐藏费用 1:1 Deposit Ratio ¥1 = $1 official quota, zero hidden fees
🏛️ 原生官方号池 100%原生官方API,无掺假、无共享账号、无二次中转 Native Official Pool 100% native official APIs, no sharing, no relay
智能负载均衡 多账号毫秒级自动故障切换,保障99.9%可用性 Smart Load Balancing Multi-account auto failover in milliseconds
🛠️ 零代码迁移 完全兼容OpenAI接口规范,修改base_url即可使用 Zero-Code Migration Fully OpenAI-compatible, just change base_url
🎁 免费测试 注册即送测试额度,先体验后付费 Free Trial Free test quota upon registration
♾️ 永久有效 额度永不过期,不清零,按需使用 Never Expires Quota never expires, pay-as-you-go

📋 支持模型 | Supported Models

厂商 模型系列 状态 Provider Model Series Status
OpenAI GPT-4o / GPT-4 Turbo / GPT-3.5 Turbo / o1 / o3-mini ✅ 已支持 OpenAI GPT-4o / GPT-4 Turbo / GPT-3.5 Turbo / o1 / o3-mini ✅ Supported
Anthropic Claude 3.5 Sonnet / Claude 3 Opus / Claude 3 Haiku ✅ 已支持 Anthropic Claude 3.5 Sonnet / Claude 3 Opus / Claude 3 Haiku ✅ Supported
Google Gemini 1.5 Pro / Gemini 1.5 Flash / Gemini Ultra ✅ 已支持 Google Gemini 1.5 Pro / Gemini 1.5 Flash / Gemini Ultra ✅ Supported
Antigravity Antigravity 全系列 ✅ 已支持 Antigravity Antigravity Series ✅ Supported
DeepSeek DeepSeek-V3 / DeepSeek-R1 / DeepSeek-Coder 🚧 即将上线 DeepSeek DeepSeek-V3 / DeepSeek-R1 / DeepSeek-Coder 🚧 Coming Soon
阿里巴巴 通义千问 Qwen-Max / Qwen-Plus / Qwen-Turbo 🚧 即将上线 Alibaba Qwen-Max / Qwen-Plus / Qwen-Turbo 🚧 Coming Soon
Meta Llama 3 / Llama 3.1 全系列 🚧 即将上线 Meta Llama 3 / Llama 3.1 Series 🚧 Coming Soon

📌 所有模型均通过原生官方API直连,确保最高质量与最低延迟。

All models connect directly via native official APIs for highest quality and lowest latency.


🚀 快速开始 | Quick Start

基础配置 | Base Configuration

Base URL: https://ahg.codes/v1
API Key:  在控制台获取 | Get from dashboard

cURL 示例 | cURL Example

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!"}]
  }'

Python 示例 | Python Example

from openai import OpenAI

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

response = client.chat.completions.create(
    model="gpt-4o",
    messages=[{"role": "user", "content": "Hello, BlueEagle!"}]
)

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

Node.js 示例 | Node.js Example

import OpenAI from 'openai';

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

async function main() {
  const response = await client.chat.completions.create({
    model: 'gpt-4o',
    messages: [{ role: 'user', content: 'Hello, BlueEagle!' }]
  });
  console.log(response.choices[0].message.content);
}

main();

切换模型 | Switch Models

只需修改 model 参数,无需更改其他代码:

# GPT-4o
model="gpt-4o"

# Claude 3.5 Sonnet
model="claude-3-5-sonnet-20241022"

# Gemini 1.5 Pro
model="gemini-1.5-pro-latest"

🔗 更多示例请查看 examples 目录。

More examples in the examples directory.


💰 充值与计费 | Pricing

计费规则 | Billing Rules

项目 说明 Item Description
充值比例 1:1(充1元 = 1美元额度) Deposit Ratio 1:1 (¥1 = $1 quota)
消耗倍率 0.09x(仅为官方定价的9%) Consumption Rate 0.09x (9% of official price)
计费方式 按量计费,用多少扣多少 Billing Mode Pay-as-you-go
额度有效期 永久有效,永不清零 Quota Validity Never expires
最低充值 无限制 Minimum Deposit No limit

成本对比示例 | Cost Comparison Example

假设您每月调用 GPT-4o 消耗 $100 官方额度:

渠道 实际成本 节省
OpenAI 官方 ¥720+(按汇率7.2计算)
其他中转站(0.5x) ¥360 50%
蓝鹰AI网关(0.09x) ¥9 98.7%

💡 同样$100额度,蓝鹰仅需¥9,节省超过98%!

For the same $100 quota, BlueEagle costs only ¥9 — save over 98%!

获取API Key | Get API Key

  1. 访问 https://ahg.codes 注册账号
  2. 进入控制台获取 API Key
  3. 充值后即可开始使用

⚔️ 竞品对比 | Competitor Comparison

特性 蓝鹰AI网关 其他中转站A 其他中转站B OpenAI官方
消耗倍率 0.09x 0.3x~0.5x 0.5x~1.0x 1.0x
充值比例 1:1 1:0.8 1:0.7
原生号池 ✅ 100%原生 ⚠️ 部分共享 ❌ 二次中转 ✅ 官方
负载均衡 ✅ 智能多账号 ❌ 单账号 ❌ 单账号 ✅ 官方
自动故障切换 ✅ 毫秒级 ❌ 无 ❌ 无 ✅ 官方
免费测试 ✅ 注册即送 ❌ 无 ⚠️ 少量 ✅ $5试用
额度有效期 ♾️ 永久 ⏳ 有期限 ⏳ 有期限 ♾️ 永久
Claude/Gemini ✅ 全支持 ⚠️ 部分 ❌ 不支持 ❌ 需单独申请

🏆 蓝鹰AI网关以0.09x倍率和1:1充值比例,在性价比和原生质量上全面领先。

BlueEagle AI Gateway leads in both cost-effectiveness and native quality with 0.09x rate and 1:1 deposit ratio.


📞 联系与支持 | Contact & Support

渠道 链接/方式 Channel Link/Method
🌐 官方网站 https://ahg.codes Official Website https://ahg.codes
💬 在线客服 官网右下角在线客服 Live Chat Bottom-right corner on website
📧 邮件支持 support@ahg.codes Email support@ahg.codes
🐙 GitHub Issues 提交Issue GitHub Issues Submit Issue

⚠️ 免责声明 | Disclaimer

  1. 蓝鹰AI网关仅作为API中转服务提供商,不对各AI模型厂商的服务内容、质量、可用性做出任何担保。
  2. 用户在使用本服务时应遵守各AI模型厂商的服务条款及相关法律法规。
  3. 禁止将本服务用于任何违法、违规或侵犯他人权益的用途。
  4. 本仓库仅用于项目宣传和技术展示,最终服务条款以官方网站 https://ahg.codes 为准。
  1. BlueEagle AI Gateway serves solely as an API relay service provider and makes no warranties regarding the content, quality, or availability of any AI model vendor's services.
  2. Users must comply with the terms of service of respective AI model vendors and applicable laws.
  3. Any illegal, non-compliant, or rights-infringing use is strictly prohibited.
  4. This repository is for promotional and technical demonstration purposes only. Final terms of service are governed by the official website https://ahg.codes.

🦅 蓝鹰AI网关 — 让顶尖AI触手可及,让成本不再是瓶颈

🦅 BlueEagle AI Gateway — World's Top AI Within Reach, Cost No Longer a Barrier

⬆ 回到顶部

About

蓝鹰AI网关 - 全球顶尖大模型统一API网关 | BlueEagle AI Gateway

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors