{"id":51026555,"url":"https://github.com/gitstq/ahg-ai-gateway","last_synced_at":"2026-06-21T20:02:03.139Z","repository":{"id":366401292,"uuid":"1246037320","full_name":"gitstq/ahg-ai-gateway","owner":"gitstq","description":"蓝鹰AI网关 BlueEagle - 全球顶尖大模型统一API网关 | 0.09x倍率 | 1:1充值 | GPT-4o/Claude-4/Gemini-2.5 | OpenAI兼容 | 免费测试额度","archived":false,"fork":false,"pushed_at":"2026-06-21T16:05:50.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-21T18:06:20.057Z","etag":null,"topics":["ai-gateway","ai-models","anthropic","api-proxy","chatgpt","claude-4","claude-api","deepseek","gemini-api","gpt-4","gpt-4o","llm","llm-proxy","openai","openai-api"],"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-05-21T20:09:51.000Z","updated_at":"2026-06-21T16:05:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gitstq/ahg-ai-gateway","commit_stats":null,"previous_names":["gitstq/ahg-ai-gateway"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/gitstq/ahg-ai-gateway","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitstq%2Fahg-ai-gateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitstq%2Fahg-ai-gateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitstq%2Fahg-ai-gateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitstq%2Fahg-ai-gateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitstq","download_url":"https://codeload.github.com/gitstq/ahg-ai-gateway/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitstq%2Fahg-ai-gateway/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-models","anthropic","api-proxy","chatgpt","claude-4","claude-api","deepseek","gemini-api","gpt-4","gpt-4o","llm","llm-proxy","openai","openai-api"],"created_at":"2026-06-21T20:02:02.338Z","updated_at":"2026-06-21T20:02:03.130Z","avatar_url":"https://github.com/gitstq.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n[![Stars](https://img.shields.io/github/stars/blueeagle-ai/BlueEagle-AI-Gateway?style=social)](https://github.com/blueeagle-ai/BlueEagle-AI-Gateway)\n[![Price](https://img.shields.io/badge/price-0.09x-blue?style=flat-square\u0026logo=money)](https://ahg.codes)\n[![Recharge](https://img.shields.io/badge/recharge-1:1-green?style=flat-square\u0026logo=cashapp)](https://ahg.codes)\n[![Native](https://img.shields.io/badge/native-official%20pool-orange?style=flat-square\u0026logo=shield)](https://ahg.codes)\n[![OpenAI Compatible](https://img.shields.io/badge/OpenAI-Compatible-412991?style=flat-square\u0026logo=openai)](https://ahg.codes)\n\n# 🦅 蓝鹰AI网关 | BlueEagle AI Gateway\n\n### **全球顶尖大模型统一API网关 · 一站式接入所有主流AI模型**\n\n**One API to Rule Them All — 一个API，统御所有大模型**\n\n[🌐 官方网站](https://ahg.codes) · [💰 立即充值](https://ahg.codes) · [🚀 免费测试](https://ahg.codes)\n\n\u003c/div\u003e\n\n---\n\n## 📖 简介 | Introduction\n\n**蓝鹰AI网关（BlueEagle AI Gateway）** 是全球领先的AI大模型统一API接入平台。我们提供**100%原生官方号池**，支持一键接入 OpenAI、Claude、Gemini 等全球顶尖大模型，**完全兼容OpenAI接口规范**，零代码迁移成本。\n\n\u003e 💡 **核心优势**：充值比例 **1:1**（充1元=1美元额度），消耗倍率仅 **0.09x**（官方定价的9%），额度永久有效、不清零。\n\n**BlueEagle AI Gateway** is a world-leading unified API platform for AI large models. We provide **100% native official account pools**, supporting one-click access to top global models like OpenAI, Claude, and Gemini — **fully compatible with OpenAI API specifications** with zero migration cost.\n\n\u003e 💡 **Key Advantage**: Recharge ratio **1:1** (1 CNY = 1 USD credit), consumption rate only **0.09x** (9% of official pricing), credits never expire.\n\n---\n\n## ✨ 核心优势 | Key Features\n\n| 特性 | 说明 | Feature | Description |\n|------|------|---------|-------------|\n| 🔥 **极致性价比** | 消耗仅官方9%，1元=1美元额度 | **Ultimate Cost Efficiency** | Only 9% of official pricing, 1 CNY = 1 USD credit |\n| 🛡️ **原生官方号池** | 100%官方账号，无掺假、无共享、无二次中转 | **Native Official Pool** | 100% official accounts, no mixing, no sharing, no secondary relay |\n| ⚡ **智能负载均衡** | 多账号毫秒级自动故障切换 | **Smart Load Balancing** | Multi-account auto failover in milliseconds |\n| 🔄 **OpenAI兼容** | 完全兼容OpenAI接口，零代码迁移 | **OpenAI Compatible** | Fully compatible with OpenAI API, zero code migration |\n| 🎁 **免费测试** | 注册即送测试额度 | **Free Trial** | Free testing credits upon registration |\n| ♾️ **永久有效** | 额度不清零，用多少付多少 | **Never Expires** | Credits never expire, pay-as-you-go |\n\n### 💰 价格对比示例 | Pricing Example\n\n调用 **GPT-4o** 模型，官方价格 $5/1M tokens：\n\n| 平台 | 实际成本（1M tokens）| 节省比例 |\n|------|---------------------|---------|\n| OpenAI 官方 | $5.00 | — |\n| 蓝鹰AI网关 | **$0.45** | **91%** |\n\n\u003e 充值100元 = 获得100美元额度，实际可用价值 = 100 / 0.09 ≈ **1111美元等值调用量**\n\n---\n\n## 📋 支持模型 | Supported Models\n\n| 厂商 | 模型系列 | 状态 | Provider | Model Series | Status |\n|------|---------|------|----------|-------------|--------|\n| OpenAI | GPT-4o, GPT-4o-mini, GPT-4-Turbo, GPT-3.5-Turbo | ✅ 已支持 | OpenAI | GPT-4o, GPT-4o-mini, GPT-4-Turbo, GPT-3.5-Turbo | ✅ Supported |\n| Anthropic | Claude 3.5 Sonnet, Claude 3 Opus, Claude 3 Haiku | ✅ 已支持 | Anthropic | Claude 3.5 Sonnet, Claude 3 Opus, Claude 3 Haiku | ✅ Supported |\n| Google | Gemini 1.5 Pro, Gemini 1.5 Flash, Gemini Ultra | ✅ 已支持 | Google | Gemini 1.5 Pro, Gemini 1.5 Flash, Gemini Ultra | ✅ Supported |\n| Antigravity | 全系列 | ✅ 已支持 | Antigravity | Full Series | ✅ Supported |\n| DeepSeek | DeepSeek-V3, DeepSeek-R1 | 🚧 即将支持 | DeepSeek | DeepSeek-V3, DeepSeek-R1 | 🚧 Coming Soon |\n| 通义千问 | Qwen-Max, Qwen-Plus, Qwen-Turbo | 🚧 即将支持 | Qwen | Qwen-Max, Qwen-Plus, Qwen-Turbo | 🚧 Coming Soon |\n| Meta | Llama 3, Llama 3.1 | 🚧 即将支持 | Meta | Llama 3, Llama 3.1 | 🚧 Coming Soon |\n\n---\n\n## 🚀 快速开始 | Quick Start\n\n### 1. 获取API Key\n\n访问 [ahg.codes](https://ahg.codes) 注册账号，在控制台获取您的 API Key。\n\nVisit [ahg.codes](https://ahg.codes) to register and get your API Key from the dashboard.\n\n### 2. 修改 base_url\n\n将您的请求地址改为：`https://ahg.codes/v1`\n\nChange your request base URL to: `https://ahg.codes/v1`\n\n### 3. 开始调用\n\n#### cURL 示例 | cURL Example\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, BlueEagle!\"}\n    ]\n  }'\n```\n\n#### Python 示例 | Python Example\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\": \"Hello, BlueEagle!\"}\n    ]\n)\n\nprint(response.choices[0].message.content)\n```\n\n#### Node.js 示例 | Node.js Example\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: 'gpt-4o',\n    messages: [\n      { role: 'system', content: 'You are a helpful assistant.' },\n      { role: 'user', content: 'Hello, BlueEagle!' }\n    ]\n  });\n  console.log(response.choices[0].message.content);\n}\n\nmain();\n```\n\n---\n\n## 💰 充值与计费 | Recharge \u0026 Billing\n\n### 计费规则\n\n- **充值比例**：1元人民币 = 1美元官方额度\n- **消耗倍率**：0.09x（仅为官方定价的9%）\n- **计费方式**：按量计费，用多少扣多少\n- **额度有效期**：**永久有效，不清零**\n\n### 充值示例\n\n| 充值金额 | 获得额度 | 实际等值调用量 | Recharge Amount | Credits Received | Equivalent Value |\n|---------|---------|--------------|-----------------|------------------|------------------|\n| ¥10 | $10 | ~$111 | ¥10 | $10 | ~$111 |\n| ¥50 | $50 | ~$556 | ¥50 | $50 | ~$556 |\n| ¥100 | $100 | ~$1,111 | ¥100 | $100 | ~$1,111 |\n| ¥500 | $500 | ~$5,556 | ¥500 | $500 | ~$5,556 |\n\n\u003e 计算公式：实际等值调用量 = 额度 / 0.09\n\n---\n\n## ⚔️ 竞品对比 | Competitor Comparison\n\n| 特性 | 蓝鹰AI网关 | 其他中转站A | 其他中转站B | OpenAI官方 |\n|------|-----------|-----------|-----------|-----------|\n| 消耗倍率 | **0.09x** | 0.15x | 0.2x | 1.0x |\n| 充值比例 | **1:1** | 1:0.8 | 1:0.7 | — |\n| 原生号池 | ✅ 100% | ❌ 共享池 | ❌ 混合池 | ✅ |\n| 额度有效期 | **永久** | 1年 | 6个月 | — |\n| 免费测试 | ✅ | ❌ | ❌ | ✅ |\n| 负载均衡 | ✅ 智能 | ❌ | ❌ | — |\n| 故障切换 | ✅ 毫秒级 | ❌ | ❌ | — |\n| Claude支持 | ✅ | ✅ | ❌ | ❌ |\n| Gemini支持 | ✅ | ❌ | ✅ | ❌ |\n\n---\n\n## 📞 联系与支持 | Contact \u0026 Support\n\n- 🌐 **官方网站**: [https://ahg.codes](https://ahg.codes)\n- 💬 **在线客服**: 请访问官网右下角客服窗口\n- 📧 **商务合作**: 请通过官网联系表单提交\n- 🐦 **更新动态**: 关注本仓库获取最新功能更新\n\n---\n\n## ⚠️ 免责声明 | Disclaimer\n\n1. 蓝鹰AI网关仅作为AI模型的API接入服务平台，不对模型生成内容负责。\n2. 用户应遵守各AI厂商的使用条款和相关法律法规。\n3. 价格信息可能随市场调整，请以官网实时信息为准。\n4. 本服务仅供合法用途，禁止用于任何违法违规场景。\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n**Made with ❤️ by BlueEagle Team**\n\n[🌐 ahg.codes](https://ahg.codes) · [⭐ Star this repo](https://github.com/blueeagle-ai/BlueEagle-AI-Gateway)\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitstq%2Fahg-ai-gateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitstq%2Fahg-ai-gateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitstq%2Fahg-ai-gateway/lists"}