Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

🦅 蓝鹰AI网关 | BlueEagle AI Gateway

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

Price Ratio Cost Rate Official Pool Website

English | 中文


🇨🇳 中文介绍

🎯 为什么选择蓝鹰AI网关?

蓝鹰AI网关是全球开发者的AI模型统一接入平台,让您以极致性价比享受顶级AI能力。

核心优势 具体说明
💰 1:1充值比例 充值1元人民币 = 1美元官方额度,无汇率损失
🔥 0.09x消耗倍率 仅为官方定价的9%,成本降低91%
🛡️ 原生官方号池 100%官方账号,无掺假、无共享、无二次中转
智能负载均衡 多账号毫秒级自动故障切换,稳定性99.99%
🚀 零代码迁移 完全兼容OpenAI接口规范,一行代码即可切换
🎁 免费测试 注册即送测试额度,先体验后付费

📋 支持模型列表

厂商 模型系列 状态
OpenAI GPT-4o, GPT-4o-mini, GPT-4-Turbo, 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 1.0 Pro 全系列 ✅ 已上线
Antigravity 全系列模型 ✅ 已上线
DeepSeek DeepSeek-V2, DeepSeek-Coder 🚧 即将上线
阿里巴巴 通义千问 Qwen 全系列 🚧 即将上线
Meta Llama 3 全系列 🚧 即将上线

🚀 快速开始

1. 获取API密钥

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

2. 修改Base URL

将官方API地址替换为蓝鹰网关地址:

官方地址: https://api.openai.com/v1
蓝鹰网关: 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!"}]
  }'

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!"}]
)
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!' }]
});
console.log(response.choices[0].message.content);

💰 充值与计费说明

计费公式

实际费用 = 官方定价 × 0.09 × 美元汇率

费用对比示例

模型 官方价格(输入/输出) 蓝鹰价格 节省比例
GPT-4o $5 / $15 per 1M tokens ¥4.05 / ¥12.15 91%
GPT-4o-mini $0.15 / $0.6 per 1M tokens ¥0.12 / ¥0.49 91%
Claude 3.5 Sonnet $3 / $15 per 1M tokens ¥2.43 / ¥12.15 91%
Gemini 1.5 Pro $3.5 / $10.5 per 1M tokens ¥2.84 / ¥8.51 91%

💡 按量计费,用多少付多少,额度永久有效、不清零


⚔️ 竞品对比

特性 蓝鹰AI网关 其他中转站A 其他中转站B 官方直连
充值比例 1:1 1:0.8 1:0.9 -
消耗倍率 0.09x 0.15x 0.12x 1.0x
原生号池 ✅ 100% ❌ 共享池 ❌ 混合池
负载均衡 ✅ 智能 ❌ 单点 ⚠️ 简单 -
故障切换 ✅ 毫秒级 ❌ 无 ⚠️ 分钟级 -
免费测试 ✅ 有 ❌ 无 ⚠️ 限时
额度有效期 永久 1年 6个月 -

📞 联系与支持

  • 🌐 官网: https://ahg.codes
  • 💬 技术支持: 请通过官网工单系统联系
  • 📧 商务合作: 请通过官网联系页面提交

🇺🇸 English Introduction

🎯 Why BlueEagle AI Gateway?

BlueEagle AI Gateway is a unified AI model access platform for global developers, offering ultimate cost-effectiveness for top-tier AI capabilities.

Key Advantage Details
💰 1:1 Recharge Ratio ¥1 RMB = $1 USD official quota, no exchange loss
🔥 0.09x Cost Rate Only 9% of official pricing, 91% cost reduction
🛡️ Native Official Pool 100% official accounts, no fake, no sharing, no relay
Smart Load Balancing Multi-account millisecond auto-failover, 99.99% uptime
🚀 Zero-Code Migration Fully OpenAI-compatible, switch with one line of code
🎁 Free Testing Test quota upon registration, try before you pay

📋 Supported Models

Provider Model Series Status
OpenAI GPT-4o, GPT-4o-mini, GPT-4-Turbo, GPT-3.5-Turbo Full Series ✅ Available
Anthropic Claude 3.5 Sonnet, Claude 3 Opus, Claude 3 Sonnet, Claude 3 Haiku Full Series ✅ Available
Google Gemini 1.5 Pro, Gemini 1.5 Flash, Gemini 1.0 Pro Full Series ✅ Available
Antigravity Full Series ✅ Available
DeepSeek DeepSeek-V2, 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 https://ahg.codes to register and get your API Key.

2. Change Base URL

Replace the official API endpoint with BlueEagle Gateway:

Official: https://api.openai.com/v1
BlueEagle: 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!"}]
  }'

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

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

💰 Pricing & Billing

Billing Formula

Actual Cost = Official Price × 0.09 × USD Exchange Rate

Cost Comparison Example

Model Official Price (Input/Output) BlueEagle Price Savings
GPT-4o $5 / $15 per 1M tokens ¥4.05 / ¥12.15 91%
GPT-4o-mini $0.15 / $0.6 per 1M tokens ¥0.12 / ¥0.49 91%
Claude 3.5 Sonnet $3 / $15 per 1M tokens ¥2.43 / ¥12.15 91%
Gemini 1.5 Pro $3.5 / $10.5 per 1M tokens ¥2.84 / ¥8.51 91%

💡 Pay-as-you-go, quota never expires


⚔️ Competitor Comparison

Feature BlueEagle AI Gateway Competitor A Competitor B Official Direct
Recharge Ratio 1:1 1:0.8 1:0.9 -
Cost Rate 0.09x 0.15x 0.12x 1.0x
Native Pool ✅ 100% ❌ Shared ❌ Mixed
Load Balancing ✅ Smart ❌ Single ⚠️ Basic -
Failover ✅ Millisecond ❌ None ⚠️ Minutes -
Free Testing ✅ Yes ❌ No ⚠️ Limited
Quota Validity Forever 1 Year 6 Months -

📞 Contact & Support

  • 🌐 Website: https://ahg.codes
  • 💬 Technical Support: Please use the ticket system on our website
  • 📧 Business Cooperation: Please submit via the contact page on our website

⚠️ 免责声明 | Disclaimer

中文: 本服务仅供学习和研究使用。用户在使用过程中应遵守当地法律法规。我们不对因使用本服务而产生的任何直接或间接损失承担责任。API服务由第三方提供商提供,我们仅提供技术中转服务。

English: This service is for educational and research purposes only. Users should comply with local laws and regulations when using this service. We are not responsible for any direct or indirect losses resulting from the use of this service. API services are provided by third-party providers, and we only provide technical relay services.


Made with ❤️ by BlueEagle Team

🌐 https://ahg.codes

About

🦅 蓝鹰AI网关 - 全球顶尖大模型统一API网关 | 0.09x消耗倍率 | 1:1充值比例 | 原生官方号池

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors