Skip to content

gitstq/BlueEagle-API-Gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

BlueEagle Price Exchange Native

🦅 蓝鹰AI网关 | BlueEagle AI Gateway

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

One Gateway, All Models. 9% Cost, 100% Performance.

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


🌍 多语言 | Multi-Language


简体中文

📌 项目简介

蓝鹰AI网关是面向开发者和企业的一站式AI大模型API聚合平台。我们提供全球顶尖大模型的统一接入接口,让您无需分别对接各家厂商,即可通过单一API密钥调用OpenAI GPT、Anthropic Claude、Google Gemini等全部主流模型。

🔑 核心公式官方能力 × 0.09价格 × 1分钟接入 = 蓝鹰体验

✨ 核心优势

优势 说明 对比行业
💰 0.09x 极致低价 仅为官方定价的9%,行业底价 通常为0.5x-0.8x
💱 1:1 充值比例 充1元人民币 = 1美元官方额度 通常为1:0.7或更低
🏆 100%原生号池 官方直签账号,无掺假、无共享、无二次中转 大量平台使用共享/转售账号
⚖️ 智能负载均衡 多账号毫秒级自动调度与故障切换 单点故障风险
🔄 完全兼容OpenAI 标准接口规范,零代码迁移成本 需适配不同接口
🎁 注册即送测试额度 免费体验全部模型能力 多数平台需先充值
⏱️ 额度永久有效 按量计费,不清零、不过期 常见月清零/年清零

📋 支持模型列表

厂商 模型系列 状态
OpenAI GPT-4o, GPT-4o-mini, GPT-4-Turbo, GPT-4, GPT-3.5-Turbo 全系列 ✅ 已支持
Anthropic Claude 3.5 Sonnet, Claude 3 Opus, Claude 3 Sonnet, Claude 3 Haiku 全系列 ✅ 已支持
Google Gemini 1.5 Pro, Gemini 1.5 Flash, Gemini Ultra 全系列 ✅ 已支持
Antigravity 全系列模型 ✅ 已支持
DeepSeek DeepSeek-V3, DeepSeek-Coder 🚧 即将上线
阿里巴巴 通义千问 Qwen 全系列 🚧 即将上线
Meta Llama 3 全系列 🚧 即将上线

🚀 快速开始

1. 获取API密钥

访问 ahg.codes 注册账号,即刻获得API Key。

2. 修改Base URL

将您的应用中的 OpenAI Base URL 替换为:

https://ahg.codes/v1

3. 开始调用

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

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, BlueEagle!"}]
)

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',
});

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

main();

💡 提示:只需修改 base_urlapi_key,其余代码与官方OpenAI SDK完全一致,零学习成本!

💰 充值与计费说明

计费公式

实际费用 = 官方定价 × 0.09 × 汇率(USD→RMB)

示例对比

操作 官方价格 (USD) 蓝鹰价格 (RMB) 节省比例
GPT-4o 输入 1M tokens $5.00 ¥3.15 节省93.7%
GPT-4o 输出 1M tokens $15.00 ¥9.45 节省93.7%
Claude 3.5 Sonnet 输入 1M tokens $3.00 ¥1.89 节省93.7%

充值方式

  • 充值比例:1:1(充1元 = 1美元额度)
  • 计费方式:按量计费,用多少扣多少
  • 额度有效期:永久有效,不清零、不过期

⚔️ 竞品对比

特性 蓝鹰AI网关 其他中转平台A 其他中转平台B 官方直连
价格倍率 0.09x 🏆 0.5x 0.7x 1.0x
充值比例 1:1 🏆 1:0.8 1:0.7 -
原生号池 ✅ 100%官方 ❌ 共享账号 ❌ 转售账号 ✅ 官方
负载均衡 ✅ 智能多账号 ❌ 单点 ❌ 单点 -
自动故障切换 ✅ 毫秒级 ❌ 无 ❌ 手动 -
免费测试 ✅ 注册即送 ❌ 需先充值 ❌ 需先充值 ✅ 有限额度
兼容OpenAI ✅ 100% ⚠️ 部分 ⚠️ 部分 ✅ 原生

📞 联系与支持

  • 🌐 官方网站https://ahg.codes
  • 💬 客服支持:请通过官网右下角在线客服联系我们
  • 📧 商务合作:请通过官网提交合作申请

English

📌 Introduction

BlueEagle AI Gateway is a one-stop AI large model API aggregation platform for developers and enterprises. We provide unified access to the world's top AI models, allowing you to call OpenAI GPT, Anthropic Claude, Google Gemini, and all other mainstream models through a single API key.

🔑 Core Formula: Official Capability × 0.09 Price × 1-Minute Integration = BlueEagle Experience

✨ Key Advantages

Advantage Description Industry Comparison
💰 0.09x Ultra-Low Price Only 9% of official pricing, industry bottom price Usually 0.5x-0.8x
💱 1:1 Recharge Ratio ¥1 = $1 official quota Usually 1:0.7 or lower
🏆 100% Native Official Pool Official direct accounts, no mixing, no sharing, no secondary relay Many platforms use shared/resold accounts
⚖️ Intelligent Load Balancing Multi-account millisecond auto-scheduling & failover Single point of failure risk
🔄 Full OpenAI Compatibility Standard API spec, zero migration cost Requires adapting different APIs
🎁 Free Test Credits Experience all models upon registration Most platforms require pre-payment
⏱️ Credits Never Expire Pay-as-you-go, no clearing, no expiration Common monthly/yearly clearing

📋 Supported Models

Provider Model Series Status
OpenAI GPT-4o, GPT-4o-mini, GPT-4-Turbo, GPT-4, GPT-3.5-Turbo Full Series ✅ Supported
Anthropic Claude 3.5 Sonnet, Claude 3 Opus, Claude 3 Sonnet, Claude 3 Haiku Full Series ✅ Supported
Google Gemini 1.5 Pro, Gemini 1.5 Flash, Gemini Ultra Full Series ✅ Supported
Antigravity Full Series ✅ Supported
DeepSeek DeepSeek-V3, DeepSeek-Coder 🚧 Coming Soon
Alibaba Tongyi Qianwen Qwen Full Series 🚧 Coming Soon
Meta Llama 3 Full Series 🚧 Coming Soon

🚀 Quick Start

1. Get API Key

Visit ahg.codes to register and get your API Key instantly.

2. Change Base URL

Replace the OpenAI Base URL in your application with:

https://ahg.codes/v1

3. Start Calling

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 Example:

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, BlueEagle!"}]
)

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

Node.js Example:

import OpenAI from 'openai';

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

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

main();

💡 Tip: Just change base_url and api_key. Everything else is 100% compatible with the official OpenAI SDK!

💰 Pricing & Billing

Billing Formula

Actual Cost = Official Price × 0.09 × Exchange Rate(USD→RMB)

Comparison Example

Operation Official Price (USD) BlueEagle Price (RMB) Savings
GPT-4o Input 1M tokens $5.00 ¥3.15 Save 93.7%
GPT-4o Output 1M tokens $15.00 ¥9.45 Save 93.7%
Claude 3.5 Sonnet Input 1M tokens $3.00 ¥1.89 Save 93.7%

Recharge Methods

  • Recharge Ratio: 1:1 (¥1 = $1 quota)
  • Billing: Pay-as-you-go
  • Quota Validity: Permanent, never expires, never cleared

⚔️ Competitor Comparison

Feature BlueEagle AI Gateway Platform A Platform B Official Direct
Price Multiplier 0.09x 🏆 0.5x 0.7x 1.0x
Recharge Ratio 1:1 🏆 1:0.8 1:0.7 -
Native Official Pool ✅ 100% Official ❌ Shared ❌ Resold ✅ Official
Load Balancing ✅ Smart Multi-Account ❌ Single Point ❌ Single Point -
Auto Failover ✅ Millisecond-level ❌ None ❌ Manual -
Free Testing ✅ Credits on Register ❌ Pre-payment ❌ Pre-payment ✅ Limited
OpenAI Compatible ✅ 100% ⚠️ Partial ⚠️ Partial ✅ Native

📞 Contact & Support

  • 🌐 Official Website: https://ahg.codes
  • 💬 Customer Support: Contact us via the live chat on the website
  • 📧 Business Cooperation: Submit via the website

⚠️ 免责声明 | Disclaimer

  1. 本仓库仅作为蓝鹰AI网关的宣传与文档用途,不包含任何核心服务代码。
  2. API服务由 ahg.codes 独立运营,本仓库仅为社区信息聚合。
  3. 使用API服务请遵守相关法律法规及各家模型提供商的使用条款。
  4. 价格信息可能随市场调整,请以官网实时显示为准。
  5. This repository is for promotional and documentation purposes only.
  6. The API service is independently operated by ahg.codes.
  7. Please comply with relevant laws and each model provider's terms of service.
  8. Pricing may be adjusted according to market conditions; please refer to the official website for real-time information.

Made with ❤️ by BlueEagle Team

🌐 ahg.codes

About

蓝鹰AI网关 | BlueEagle AI Gateway - 全球顶尖大模型统一API网关,0.09x低价,1:1充值,100%原生官方号池

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors