{"id":51026564,"url":"https://github.com/gitstq/ai-gateway-blueeagle","last_synced_at":"2026-06-21T20:02:03.909Z","repository":{"id":365382008,"uuid":"1271851890","full_name":"gitstq/ai-gateway-blueeagle","owner":"gitstq","description":"🦅 BlueEagle AI Gateway - 全球AI模型统一API网关 | 0.09x极致性价比 | 1:1充值 | 100%原生官方号池 | Universal API Gateway for GPT/Claude/Gemini","archived":false,"fork":false,"pushed_at":"2026-06-17T04:24:06.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-17T06:19:01.553Z","etag":null,"topics":["ai-gateway","ai-proxy","api-gateway","blueeagle","claude-api","cost-effective","gemini-api","llm-gateway","openai-compatible","openai-proxy"],"latest_commit_sha":null,"homepage":"https://ahg.codes","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gitstq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-17T04:22:57.000Z","updated_at":"2026-06-17T04:23:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gitstq/ai-gateway-blueeagle","commit_stats":null,"previous_names":["gitstq/ai-gateway-blueeagle"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gitstq/ai-gateway-blueeagle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitstq%2Fai-gateway-blueeagle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitstq%2Fai-gateway-blueeagle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitstq%2Fai-gateway-blueeagle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitstq%2Fai-gateway-blueeagle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitstq","download_url":"https://codeload.github.com/gitstq/ai-gateway-blueeagle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitstq%2Fai-gateway-blueeagle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34623906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-gateway","ai-proxy","api-gateway","blueeagle","claude-api","cost-effective","gemini-api","llm-gateway","openai-compatible","openai-proxy"],"created_at":"2026-06-21T20:02:03.202Z","updated_at":"2026-06-21T20:02:03.904Z","avatar_url":"https://github.com/gitstq.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/⭐%20Stars-0.09x%20Cost-brightgreen?style=flat-square\" alt=\"0.09x Cost\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/💰%201%3A1%20Recharge-1%20CNY%3D%241%20USD-blue?style=flat-square\" alt=\"1:1 Recharge\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/🔒%20Native%20Pool-100%25%20Official-green?style=flat-square\" alt=\"Native Pool\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/🔄%20Auto%20Failover-%3C1ms-red?style=flat-square\" alt=\"Auto Failover\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/🔌%20OpenAI%20Compatible-100%25%20Drop--in-success?style=flat-square\" alt=\"OpenAI Compatible\"/\u003e\n  \u003cbr/\u003e\n  \u003ca href=\"https://ahg.codes\"\u003e\u003cimg src=\"https://img.shields.io/badge/🌐%20Website-ahg.codes-8A2BE2?style=flat-square\" alt=\"Website\"/\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/github/license/blueeagle-ai-gateway?style=flat-square\" alt=\"License\"/\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003e\n  🦅 蓝鹰AI网关 \u0026nbsp;|\u0026nbsp; BlueEagle AI Gateway\n\u003c/h1\u003e\n\n\u003ch3 align=\"center\"\u003e\n  全球顶尖大模型统一API网关\u003cbr/\u003e\n  \u003cem\u003eUniversal API Gateway for World-Class AI Models\u003c/em\u003e\n\u003c/h3\u003e\n\n\u003ch4 align=\"center\"\u003e\n  🔥 \u003cstrong\u003e9% 的价格，100% 的原生体验\u003c/strong\u003e 🔥\u003cbr/\u003e\n  \u003cem\u003e9% of the Cost, 100% Native Experience\u003c/em\u003e\n\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://ahg.codes\"\u003e\u003cstrong\u003e🌐 立即访问官网 → ahg.codes\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## 📖 项目简介 | Introduction\n\n**蓝鹰AI网关 (BlueEagle AI Gateway)** 是面向开发者的全球顶尖AI模型统一接入平台。通过 **单一API** 即可调用 OpenAI、Anthropic、Google 等主流大模型，无需管理多个账号和API Key。\n\n\u003e **核心承诺**：100%原生官方号池，无掺假、无共享、无二次中转。您支付的就是官方原生的服务。\n\n**BlueEagle AI Gateway** is a unified access platform for world-class AI models. Access OpenAI, Anthropic, Google, and more through a **single API** — no need to manage multiple accounts and API keys.\n\n\u003e **Core Promise**: 100% native official accounts pool — no tampering, no sharing, no secondary relay. You pay for genuine, native services.\n\n---\n\n## ✨ 核心优势 | Key Advantages\n\n\u003ctable\u003e\n\u003ctr\u003e\n  \u003ctd align=\"center\" width=\"25%\"\u003e\n    \u003ch3\u003e💰 极致性价比\u003c/h3\u003e\n    \u003ch1\u003e\u003cstrong\u003e0.09x\u003c/strong\u003e\u003c/h1\u003e\n    \u003cp\u003e仅为官方定价的\u003cstrong\u003e9%\u003c/strong\u003e\u003cbr/\u003e业界最低倍率\u003c/p\u003e\n  \u003c/td\u003e\n  \u003ctd align=\"center\" width=\"25%\"\u003e\n    \u003ch3\u003e🔄 1:1 充值\u003c/h3\u003e\n    \u003ch1\u003e\u003cstrong\u003e1:1\u003c/strong\u003e\u003c/h1\u003e\n    \u003cp\u003e充1元 = 1美元额度\u003cbr/\u003e不打折、不缩水\u003c/p\u003e\n  \u003c/td\u003e\n  \u003ctd align=\"center\" width=\"25%\"\u003e\n    \u003ch3\u003e🛡️ 原生号池\u003c/h3\u003e\n    \u003ch1\u003e\u003cstrong\u003e100%\u003c/strong\u003e\u003c/h1\u003e\n    \u003cp\u003e官方原生账号\u003cbr/\u003e无掺假 · 无中转\u003c/p\u003e\n  \u003c/td\u003e\n  \u003ctd align=\"center\" width=\"25%\"\u003e\n    \u003ch3\u003e⚡ 智能容灾\u003c/h3\u003e\n    \u003ch1\u003e\u003cstrong\u003e\u0026lt;1ms\u003c/strong\u003e\u003c/h1\u003e\n    \u003cp\u003e毫秒级自动切换\u003cbr/\u003e多账号负载均衡\u003c/p\u003e\n  \u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n| 优势 | 详情 |\n|------|------|\n| 🚀 **零代码迁移** | 完全兼容 OpenAI 接口规范，只需修改 `base_url` 即可 |\n| 🆓 **免费测试** | 注册即送测试额度，无需预充值即可体验 |\n| 🔐 **额度永久有效** | 按量计费，用多少付多少，余额永不清零 |\n| 🌍 **全球节点** | 智能路由，低延迟访问全球AI模型 |\n| 💳 **灵活支付** | 支持支付宝、微信支付等多种支付方式 |\n\n---\n\n## 📋 支持模型 | Supported Models\n\n### ✅ 已支持 | Currently Supported\n\n| 厂商 | 模型系列 | 状态 |\n|------|----------|:----:|\n| \u003cimg src=\"https://img.shields.io/badge/OpenAI-412991?style=flat-square\u0026logo=openai\u0026logoColor=white\" height=\"20\"/\u003e | GPT-4o, GPT-4o-mini, GPT-4, GPT-3.5, o1, o3 全系列 | ✅ |\n| \u003cimg src=\"https://img.shields.io/badge/Anthropic-Claude-D97757?style=flat-square\u0026logo=anthropic\u0026logoColor=white\" height=\"20\"/\u003e | Claude 4, Claude 3.5 Sonnet, Claude 3 Opus, Claude 3 Haiku 全系列 | ✅ |\n| \u003cimg src=\"https://img.shields.io/badge/Google-Gemini-4285F4?style=flat-square\u0026logo=google\u0026logoColor=white\" height=\"20\"/\u003e | Gemini 2.5 Pro, Gemini 2.0 Flash, Gemini 1.5 Pro 全系列 | ✅ |\n| 🚀 **Antigravity** | Antigravity 全系列 | ✅ |\n\n### 🔜 即将支持 | Coming Soon\n\n| 厂商 | 模型系列 | 预计时间 |\n|------|----------|:--------:|\n| DeepSeek | DeepSeek-V3, DeepSeek-R1 | 即将上线 |\n| 通义千问 | Qwen 全系列 | 即将上线 |\n| Meta Llama | Llama 3, Llama 4 系列 | 即将上线 |\n\n\u003e 📌 **最新模型列表请访问官网查看：** [https://ahg.codes](https://ahg.codes)\n\n---\n\n## 🚀 快速开始 | Quick Start\n\n### 前置条件 | Prerequisites\n\n1. 注册账号：访问 [https://ahg.codes](https://ahg.codes) 注册\n2. 获取 API Key：登录后在控制台生成\n3. 支持免费测试额度，注册即送\n\n### 🔹 cURL 示例\n\n```bash\ncurl https://ahg.codes/v1/chat/completions \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\n  -d '{\n    \"model\": \"gpt-4o\",\n    \"messages\": [\n      {\"role\": \"system\", \"content\": \"You are a helpful assistant.\"},\n      {\"role\": \"user\", \"content\": \"Hello! What is the capital of France?\"}\n    ]\n  }'\n```\n\n### 🔹 Python 示例\n\n```python\nfrom openai import OpenAI\n\nclient = OpenAI(\n    api_key=\"YOUR_API_KEY\",\n    base_url=\"https://ahg.codes/v1\"  # 只需修改这里！\n)\n\nresponse = client.chat.completions.create(\n    model=\"gpt-4o\",\n    messages=[\n        {\"role\": \"system\", \"content\": \"You are a helpful assistant.\"},\n        {\"role\": \"user\", \"content\": \"Explain quantum computing in simple terms.\"}\n    ]\n)\n\nprint(response.choices[0].message.content)\n```\n\n### 🔹 Node.js 示例\n\n```javascript\nimport OpenAI from 'openai';\n\nconst client = new OpenAI({\n  apiKey: 'YOUR_API_KEY',\n  baseURL: 'https://ahg.codes/v1'  // 只需修改这里！\n});\n\nasync function main() {\n  const response = await client.chat.completions.create({\n    model: 'claude-3-5-sonnet-20241022',\n    messages: [\n      { role: 'user', content: 'Write a haiku about artificial intelligence.' }\n    ]\n  });\n  console.log(response.choices[0].message.content);\n}\n\nmain();\n```\n\n\u003e 💡 **更多示例代码详见 [`examples/`](./examples/) 目录**\n\n---\n\n## 💰 充值与计费 | Pricing \u0026 Billing\n\n### 价格体系 | Pricing Structure\n\n| 项目 | 说明 |\n|------|------|\n| 💵 **充值比例** | **1:1** — 充值 1 元人民币 = 1 美元官方额度 |\n| 📉 **消耗倍率** | **0.09x** — 仅为官方定价的 9% |\n| 🔄 **计费方式** | 按量计费，用多少付多少 |\n| ♾️ **额度有效期** | 永久有效，**不清零** |\n\n### 费用计算示例 | Cost Calculation Examples\n\n| 模型 | 官方价格 (每1M输入Token) | 蓝鹰价格 (每1M输入Token) | 节省 |\n|:----|:------------------------:|:------------------------:|:----:|\n| GPT-4o | $2.50 | **$0.225** | **91%** |\n| Claude 3.5 Sonnet | $3.00 | **$0.27** | **91%** |\n| Gemini 2.0 Flash | $0.10 | **$0.009** | **91%** |\n| GPT-4o-mini | $0.15 | **$0.0135** | **91%** |\n\n\u003e **公式**: 蓝鹰价格 = 官方价格 × 0.09\n\u003e\n\u003e **示例**: 充值 100 元 → 获得 $100 额度 → 可使用 GPT-4o 处理约 444M 输入Token\n\n---\n\n## ⚔️ 竞品对比 | Comparison\n\n| 对比维度 | 🦅 **蓝鹰AI网关** | 其他中转服务 | 官方直连 |\n|:---------|:-----------------:|:------------:|:--------:|\n| 💰 **价格倍率** | **0.09x** | 0.3x ~ 0.8x | 1.0x |\n| 🔄 **充值比例** | **1:1 (1元=$1)** | 浮动汇率 | — |\n| 🛡️ **号池质量** | **100%原生官方号** | 共享号/二次中转 | 原生 |\n| ⚡ **故障切换** | **毫秒级自动切换** | 手动/分钟级 | 无 |\n| 🔌 **接口兼容** | **100% OpenAI兼容** | 部分兼容 | 各厂商不同 |\n| 🆓 **免费试用** | **✅ 注册即送** | 部分支持 | ❌ |\n| ♾️ **额度有效期** | **永久有效** | 有时限 | 按账号 |\n\n---\n\n## 📂 项目结构 | Project Structure\n\n```\nblueeagle-ai-gateway/\n├── README.md              # 项目说明 (本文件)\n├── LICENSE                # 开源许可证\n├── .gitignore             # Git 忽略规则\n└── examples/              # 示例代码\n    ├── python/\n    │   ├── chat_completion.py   # Python 对话示例\n    │   └── requirements.txt     # Python 依赖\n    ├── nodejs/\n    │   ├── chat.js              # Node.js 对话示例\n    │   └── package.json         # Node.js 依赖\n    └── curl/\n        └── examples.sh          # cURL 命令行示例\n```\n\n---\n\n## 📞 联系与支持 | Contact \u0026 Support\n\n| 渠道 | 方式 |\n|:-----|:-----|\n| 🌐 **官方网站** | [https://ahg.codes](https://ahg.codes) |\n| 📧 **商务合作** | 访问官网联系客服 |\n| 💬 **在线支持** | 官网右下角在线客服 |\n| 📖 **API文档** | 官网控制台查看完整API文档 |\n\n---\n\n## ⚠️ 免责声明 | Disclaimer\n\n1. **蓝鹰AI网关** 是一个第三方API聚合服务，通过官方合法渠道接入各大AI模型厂商的API服务。\n2. 本服务不提供任何模型的破解、盗用或非法访问。\n3. 用户使用本服务应遵守相关AI模型厂商的使用条款和法律法规。\n4. 所有AI模型生成的内容不代表本平台立场，用户需自行对使用行为负责。\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003e🦅 BlueEagle AI Gateway — 让每个开发者都用得起顶级AI\u003c/strong\u003e\u003cbr/\u003e\n  \u003cem\u003eMaking Top-Tier AI Accessible to Every Developer\u003c/em\u003e\n  \u003cbr/\u003e\u003cbr/\u003e\n  \u003ca href=\"https://ahg.codes\"\u003e\u003cstrong\u003e🌐 ahg.codes\u003c/strong\u003e\u003c/a\u003e\n  \u003cbr/\u003e\u003cbr/\u003e\n  \u003csub\u003e© 2026 BlueEagle AI Gateway. All rights reserved.\u003c/sub\u003e\n\u003c/p\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitstq%2Fai-gateway-blueeagle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitstq%2Fai-gateway-blueeagle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitstq%2Fai-gateway-blueeagle/lists"}