Skip to content

gitstq/blueeagle-gateway-unified-ai-api-0.09x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦅 蓝鹰AI网关 | BlueEagle AI Gateway

全球顶尖大模型统一API网关 / The Unified API Gateway for World-Class AI Models

Pay 1 RMB → Get $1 Official Credit | Only 0.09x of Official Pricing

💡 一站式接入 OpenAI / Claude / Gemini 等所有主流AI模型,100%原生官方号池,零代码迁移

💡 One-stop access to OpenAI / Claude / Gemini and all mainstream AI models, 100% native official pool, zero-code migration

0.09x Pricing 1:1 Recharge Native Pool OpenAI Compatible Free Trial

🌐 官方网站 Official Website | 🚀 立即注册 Sign Up Now


📖 项目简介 / About

蓝鹰AI网关(BlueEagle AI Gateway)是一个面向全球开发者的高性价比AI大模型统一API网关服务。我们通过自建100%原生官方API号池,为开发者提供**仅为官方定价9%**的超低价格接入GPT-4o、Claude 3.5 Sonnet、Gemini等顶尖大模型。

核心公式:充值1元人民币 = 获得1美元官方API额度 × 仅消耗0.09倍率 = 实际成本约为官方的9%

BlueEagle AI Gateway is a cost-effective unified API gateway for world-class AI models. Through our self-built 100% native official API pool, developers can access GPT-4o, Claude 3.5 Sonnet, Gemini and other top models at only 9% of official pricing.

Core Formula: Recharge 1 RMB → Get $1 official API credit × Only 0.09x consumption rate = ~9% of official cost


✨ 核心优势 / Core Advantages

特性 Feature 详情 Details
💰 0.09x 超低倍率 仅为官方价格的9%,GPT-4o成本从$2.5/百万token降至约¥0.22/百万token
💱 1:1 充值比例 充1元人民币 = 1美元官方额度,汇率零损耗
🛡️ 100% 原生官方号池 无掺假、无共享、无二次中转,确保响应质量与官方完全一致
🔄 智能负载均衡 多账号自动调度 + 毫秒级故障切换,99.9%高可用保障
🔌 OpenAI 兼容 完全兼容OpenAI API格式,改一行base_url即可接入
🎁 免费测试 注册即送测试额度,零风险体验所有模型
永久有效 额度永不清零,用多少付多少,按量计费

📋 支持模型 / Supported Models

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

📌 持续更新中,欢迎访问官网查看最新模型列表 / Continuously updating, visit official site for latest model list


🚀 快速开始 / Quick Start

方式一: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!"}
    ],
    "temperature": 0.7
  }'

方式二:Python (OpenAI SDK)

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": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Hello, BlueEagle!"}
    ],
    temperature=0.7
)

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: 'system', content: 'You are a helpful assistant.' },
    { role: 'user', content: 'Hello, BlueEagle!' }
  ],
  temperature: 0.7
});

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

📖 更多示例请查看 examples/ 目录 / See examples/ for more examples


💰 充值与计费说明 / Pricing & Billing

计费公式 / Pricing Formula

实际成本 = 官方价格 × 0.09
Actual Cost = Official Price × 0.09

示例 / Examples

模型 Model 官方价格 Official 蓝鹰价格 BlueEagle 节省 Savings
GPT-4o (Input) $2.50 / 1M tokens ≈ ¥0.225 / 1M tokens 91%
GPT-4o (Output) $10.00 / 1M tokens ≈ ¥0.90 / 1M tokens 91%
Claude 3.5 Sonnet (Input) $3.00 / 1M tokens ≈ ¥0.27 / 1M tokens 91%
Claude 3.5 Sonnet (Output) $15.00 / 1M tokens ≈ ¥1.35 / 1M tokens 91%
Gemini 1.5 Pro (Input) $1.25 / 1M tokens ≈ ¥0.1125 / 1M tokens 91%

充值方式 / How to Recharge

  1. 访问官网注册账号 / Sign up at https://ahg.codes
  2. 获取API Key / Get your API key
  3. 充值即用,额度永不过期 / Recharge and use instantly, credits never expire

⚔️ 竞品对比 / Competitive Comparison

对比项 Feature 🦅 蓝鹰AI网关 BlueEagle OpenRouter OneAPI New API
消耗倍率 Rate 0.09x 1.0x+ 0.5x~1.0x 0.3x~0.8x
充值比例 Exchange 1 RMB = $1 1:1 (USD) 不透明 不透明
号池质量 Pool 100% 原生官方 混合 混合 混合
负载均衡 Balance ✅ 多账号智能 ✅ 基础 ❌ 无 ⚠️ 有限
故障切换 Failover ✅ 毫秒级 ⚠️ 基础 ❌ 无 ⚠️ 有限
免费测试 Free Trial ✅ 注册即送 ✅ 有 ⚠️ 不定 ⚠️ 不定
额度过期 Expire 永不过期 按计划 按计划 按计划

🔧 高级特性 / Advanced Features

流式响应 / Streaming

from openai import OpenAI

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

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

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

多模态 / Multimodal (Vision)

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": [
            {"type": "text", "text": "Describe this image"},
            {"type": "image_url", "image_url": {"url": "https://example.com/image.jpg"}}
        ]
    }]
)

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

📞 联系与支持 / Contact & Support

  • 🌐 官方网站 Website: https://ahg.codes
  • 📧 邮箱 Email: support@ahg.codes
  • 💬 社区 Community: 注册后获取专属技术支持群 / Get exclusive tech support group after registration

⚠️ 免责声明 / Disclaimer

本项目仅提供AI大模型API中转服务,不存储任何用户对话数据。用户需遵守相关法律法规,不得利用本服务从事违法违规活动。

This project only provides AI model API relay services and does not store any user conversation data. Users must comply with applicable laws and regulations and must not use this service for any illegal activities.


⭐ 如果觉得好用,请给个Star! / If you find this useful, please give us a Star! ⭐

🚀 立即使用 Start Now

About

🦅 蓝鹰AI网关 | 0.09x OpenAI/Claude/Gemini API Gateway | 1:1充值比例 | 100%原生官方号池 | 兼容OpenAI接口

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors