Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

0.09x Rate 1:1 Recharge Official Pool Free Trial OpenAI Compatible

🦅 蓝鹰AI网关 | BlueEagle AI Gateway

全球顶尖大模型统一API网关 — 一站式接入所有主流AI模型
The Unified API Gateway for World-Class AI Models

🌐 官方网站 Official Site · 🔑 立即注册 Sign Up · 📖 快速开始 Quick Start

0.09x 超低倍率 | 1:1 充值比例 | 原生官方号池 | 零代码迁移
Ultra-low 0.09x rate | 1:1 recharge | 100% official pool | Zero-code migration


📖 项目简介 | About

蓝鹰AI网关是一个面向开发者和企业的高质量AI大模型API中转服务。通过统一的标准OpenAI兼容接口,您可以无缝接入OpenAI GPT全系列、Anthropic Claude全系列、Google Gemini全系列等全球顶尖大模型。

BlueEagle AI Gateway is a premium AI model API relay service for developers and enterprises. Through a unified OpenAI-compatible interface, you can seamlessly access the world's top AI models including OpenAI GPT, Anthropic Claude, and Google Gemini.

💡 核心亮点:充值比例 1:1(充1元=1美元官方额度),消耗倍率仅 0.09x(仅为官方定价的9%),额度永久有效、用多少付多少、不清零!

💡 Core Highlight: 1:1 recharge ratio (¥1 = $1 official credit), only 0.09x consumption rate (just 9% of official pricing), credits never expire!


✨ 核心优势 | Key Advantages

特性 Feature 说明 Details
💰 0.09x 超低倍率 仅为官方定价的9%,极致性价比。GPT-4o每百万Token仅需约$0.72
💵 1:1 充值比例 充1元人民币 = 1美元官方额度,无汇率损耗
🏦 100%原生官方号池 无掺假、无共享、无二次中转,确保响应质量与速度
🔄 智能负载均衡 多账号智能分发 + 毫秒级自动故障切换,99.9%可用性
🔌 零代码迁移 完全兼容OpenAI接口规范,仅需修改 base_url 即可接入
🎁 免费测试额度 注册即送测试额度,零成本体验全部模型
♾️ 额度永不过期 按量计费,用多少付多少,余额永久有效
🚀 即将支持更多模型 DeepSeek、通义千问、Llama 3 等即将上线

📋 支持模型 | Supported Models

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

📌 持续更新中,访问 https://ahg.codes 查看最新模型列表


🚀 快速开始 | Quick Start

1. 获取API密钥 | Get Your API Key

访问 https://ahg.codes 注册账号,在控制台获取您的专属API Key。注册即送免费测试额度!

Visit https://ahg.codes to sign up and get your API key from the dashboard. Free trial credits included!

2. 配置Base URL | Configure Base URL

https://ahg.codes/v1

3. 调用示例 | Code Examples

🐍 Python 示例

from openai import OpenAI

client = OpenAI(
    api_key="your-api-key-here",  # 替换为您的API密钥
    base_url="https://ahg.codes/v1"  # 蓝鹰AI网关地址
)

response = client.chat.completions.create(
    model="gpt-4o",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Hello! What can you do?"}
    ],
    max_tokens=1024
)

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

🌐 cURL 示例

curl https://ahg.codes/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer your-api-key-here" \
  -d '{
    "model": "gpt-4o",
    "messages": [
      {"role": "system", "content": "You are a helpful assistant."},
      {"role": "user", "content": "Hello! What can you do?"}
    ],
    "max_tokens": 1024
  }'

🟢 Node.js 示例

import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'your-api-key-here',
  baseURL: 'https://ahg.codes/v1'
});

async function main() {
  const response = await client.chat.completions.create({
    model: 'gpt-4o',
    messages: [
      { role: 'system', content: 'You are a helpful assistant.' },
      { role: 'user', content: 'Hello! What can you do?' }
    ],
    max_tokens: 1024
  });

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

main();

💡 迁移提示:如果您已经在使用OpenAI SDK,只需将 base_url 改为 https://ahg.codes/v1,将 api_key 改为蓝鹰AI网关的密钥即可,其他代码无需任何修改!

💡 Migration Tip: If you're already using the OpenAI SDK, just change base_url to https://ahg.codes/v1 and update your api_key. No other code changes needed!


💰 充值与计费 | Pricing & Billing

计费说明 | How It Works

项目 Item 说明 Details
充值比例 1元人民币 = 1美元官方额度(1:1)
消耗倍率 0.09x(仅按官方价格的9%扣费)
计费方式 按量计费,用多少扣多少
额度有效期 永久有效,不清零
最低充值 访问官网查看最新充值方案

💡 费用示例 | Cost Example

GPT-4o 为例(官方价格:输入 $2.5/百万Token,输出 $10/百万Token):

使用量 Usage 官方费用 Official Cost 蓝鹰费用 BlueEagle Cost 节省 Savings
100万输入Token $2.50 $0.225 91%
100万输出Token $10.00 $0.90 91%
日常对话(约1万Token) $0.025 $0.002 91%

🎉 通过蓝鹰AI网关,您只需支付官方价格的 9%,即可获得完全相同的原生模型响应!

🎉 With BlueEagle, you pay only 9% of official pricing for identical native model responses!


⚔️ 竞品对比 | Comparison

对比维度 Dimension 蓝鹰AI网关 BlueEagle 其他中转站 Others 官方直连 Official
消耗倍率 0.09x 0.5x - 1.5x 1x
充值比例 1:1 1:5 ~ 1:10 按美元计费
号池质量 100%原生官方 混合/共享/掺假 官方
故障切换 毫秒级自动 手动/无
兼容性 OpenAI原生兼容 部分兼容 原生
免费测试 ✅ 注册即送 ❌ 通常无 ✅ 有限额度
额度过期 永不过期 30天-90天 按月计费
支持模型数 持续扩展中 有限 全部

🛠️ 高级功能 | Advanced Features

流式响应 | Streaming Response

from openai import OpenAI

client = OpenAI(
    api_key="your-api-key-here",
    base_url="https://ahg.codes/v1"
)

stream = client.chat.completions.create(
    model="gpt-4o",
    messages=[{"role": "user", "content": "Tell me a story"}],
    stream=True
)

for chunk in stream:
    if chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="")

多模型切换 | Multi-Model Switching

# 一行代码切换模型,无需修改其他配置
models = ["gpt-4o", "claude-4-sonnet", "gemini-2.5-pro"]

for model in models:
    response = client.chat.completions.create(
        model=model,
        messages=[{"role": "user", "content": "Hello!"}]
    )
    print(f"{model}: {response.choices[0].message.content[:50]}...")

Embedding 支持 | Embedding Support

response = client.embeddings.create(
    model="text-embedding-3-large",
    input="Hello world"
)
print(response.data[0].embedding[:5])

📞 联系与支持 | Contact & Support

  • 🌐 官方网站 Website: https://ahg.codes
  • 📧 邮箱 Email: 通过官网联系
  • 💬 社区 Community: 通过官网加入交流群

🚀 立即注册,免费体验全球顶尖AI模型! https://ahg.codes

🚀 Sign up now and experience the world's best AI models for free! https://ahg.codes


⚠️ 免责声明 | Disclaimer

本项目为API中转服务的宣传与使用说明仓库。蓝鹰AI网关仅提供API转发服务,所有AI模型的输出内容由各模型提供方(OpenAI、Anthropic、Google等)负责。用户需遵守各模型提供方的使用条款,不得将服务用于任何违法违规用途。

This repository serves as promotional and usage documentation for the API relay service. BlueEagle AI Gateway only provides API forwarding services; all AI model output content is the responsibility of respective model providers (OpenAI, Anthropic, Google, etc.). Users must comply with the terms of service of each model provider and must not use the service for any illegal purposes.


Built with ❤️ by BlueEagle Team | 蓝鹰团队
© 2024-2025 BlueEagle AI Gateway. All rights reserved.

Official Site

About

🦅 蓝鹰AI网关 | BlueEagle AI Gateway - 0.09x超低倍率AI大模型API中转站 | Unified API Gateway for GPT-4o, Claude 4, Gemini 2.5 | 1:1充值 | 100%原生官方号池 | Cheapest AI API Proxy

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors