AI News AI资讯 21h ago Updated 18h ago 更新于 18小时前 39

Show HN: 1endpoint – Cheaper access to AI models 展示 HN:1endpoint – 更便宜的 AI 模型访问

An AI API gateway aggregates 15+ LLM models (GLM, GPT, DeepSeek, Gemini, Qwen, Kimi, etc.) under a single compatible endpoint, eliminating the need for per-model integration changes Usage-based pricing starts at $0.0420 per 1M input tokens, with automatic prompt caching reducing costs significantly on repeated conversation turns (e.g., message 12 costs 3.7× less than without cache) The platform supports OpenAI-compatible endpoints (/chat/completions, /responses, /messages) and reports routing ov One API 提供多模型统一接入,支持 Chat Completions/Responses/Messages 等标准端点,无需重写集成代码即可切换模型 采用按 token 用量计费模式,输入价格从 $0.0420/1M tokens 起,配合 Prompt Caching 可显著降低重复对话成本 24 小时内路由 748.1M tokens、6505 次 API 请求,覆盖 GLM、GPT、DeepSeek、Gemini、Qwen 等主流模型 缓存命中时输入成本可降低 5 倍,长对话场景下单条消息成本随上下文增长而递减 提供推荐奖励机制(10% credits)和透明定价结构,支持 100

58
Hot 热度
55
Quality 质量
55
Impact 影响力

Analysis 深度分析

TL;DR

  • An AI API gateway aggregates 15+ LLM models (GLM, GPT, DeepSeek, Gemini, Qwen, Kimi, etc.) under a single compatible endpoint, eliminating the need for per-model integration changes
  • Usage-based pricing starts at $0.0420 per 1M input tokens, with automatic prompt caching reducing costs significantly on repeated conversation turns (e.g., message 12 costs 3.7× less than without cache)
  • The platform supports OpenAI-compatible endpoints (/chat/completions, /responses, /messages) and reports routing over 748M tokens and 6,505 API requests in a single 24-hour period
  • Prompt caching is a core cost-saving feature: cache hits are billed at up to 5× less than cache misses, with blended rates assuming a 70% cache hit ratio for comparison
  • A referral program offers 10% credit rewards for referred users who top up, and 1,000 credits equal $1 USD

Why It Matters

This represents the growing trend of AI API aggregation platforms that abstract away model-specific integration complexity, allowing developers to switch between models seamlessly while optimizing costs through intelligent caching. For practitioners, it demonstrates how prompt caching can dramatically reduce per-conversation costs in long-running chat applications, making multi-model orchestration economically viable at scale.

Technical Details

  • Multi-model catalog: Supports GLM 5.2/5.3, GPT-5.6 (Luna/Terra/Sol), DeepSeek V4 (Flash/Pro/Vision), Gemini 3.7 Flash, Qwen3.8, Kimi K3, MiniMax M3, Grok 4.6, Opus 5, and Fable 5 — spanning from budget flash models to premium reasoning models
  • API compatibility: OpenAI-compatible endpoints including POST /chat/completions, POST /responses, and POST /messages under a single base URL, enabling drop-in model swaps without code changes
  • Prompt caching mechanics: Every message in a conversation resend prior context; the gateway charges full price only for new tokens while caching previously seen tokens, with cache hits billed at up to 5× less than misses
  • Pricing structure: Input tokens range from $0.0420/M (GLM 5.2) to $1.5000/M (Fable 5); output tokens range from $0.0050/M to $0.1320/M depending on model; blended reference rates assume 70% cache hit and 25% output-to-input ratio
  • Credit system: Usage-based billing at 1,000 credits = $1 USD, with spend tracking and a 10% referral reward on topped-up credits

Industry Insight

  • The aggressive pricing floor ($0.0420/M input) signals intensifying commoditization of baseline LLM inference, pushing providers to compete on caching efficiency and model quality rather than raw token costs alone
  • Prompt caching as a default feature — not a premium add-on — is becoming table stakes for any serious API gateway; developers should architect conversations to maximize cache reuse (e.g., stable system prompts, minimal redundant context)
  • The multi-model aggregation model lowers the barrier for A/B testing and fallback routing, suggesting that production systems should treat model selection as a dynamic, cost-aware decision rather than a fixed architectural choice

TL;DR

  • One API 提供多模型统一接入,支持 Chat Completions/Responses/Messages 等标准端点,无需重写集成代码即可切换模型
  • 采用按 token 用量计费模式,输入价格从 $0.0420/1M tokens 起,配合 Prompt Caching 可显著降低重复对话成本
  • 24 小时内路由 748.1M tokens、6505 次 API 请求,覆盖 GLM、GPT、DeepSeek、Gemini、Qwen 等主流模型
  • 缓存命中时输入成本可降低 5 倍,长对话场景下单条消息成本随上下文增长而递减
  • 提供推荐奖励机制(10% credits)和透明定价结构,支持 1000 credits = $1 的预付费模式

为什么值得看

本文展示了 AI API 聚合服务如何通过统一接口、动态缓存和透明定价降低多模型集成成本,为开发者提供灵活且经济的模型调用方案。其缓存计费机制和用量数据对评估 API 服务性价比具有参考价值。

技术解析

  • 统一 API 架构:提供单一 Base URL(/api/v1)兼容 OpenAI 标准端点(Chat Completions、Responses、Messages),支持通过修改模型名称切换底层模型,无需调整请求代码。
  • Prompt Caching 计费逻辑:缓存命中时输入 token 按 1/5 价格计费,未命中则按全价。长对话中后续消息因历史上下文已缓存,单条消息成本随轮次增加而递减(示例中第 12 条消息成本为无缓存时的 1/3.7)。
  • 模型定价梯度:覆盖 15+ 模型,价格从 $0.0420(GLM-5.2)到 $1.5000(Fable-5)/1M 输入 token,输出价格约为输入的 2.5-6 倍,不同模型缓存命中率存在差异。
  • 用量监控与参考数据:页面展示 24 小时路由量(748.1M tokens)和请求数(6505),并提供“混合成本”参考计算(假设 70% 输入缓存命中、输出为输入 25%)。
  • 预付费与奖励机制:采用 credits 预付费模式(1000 credits = $1),推荐新用户充值可获得 10% credits 奖励,降低早期使用门槛。

行业启示

  • API 聚合服务成为降本关键路径:统一接口+多模型切换能力可显著减少企业集成维护成本,适合需要灵活选择模型或进行 A/B 测试的场景。
  • 缓存优化重塑长对话成本结构:Prompt Caching 技术使上下文累积场景的成本曲线从线性增长转为边际递减,建议开发者优先在长对话、多轮交互场景中部署此类服务。
  • 透明定价与用量数据增强采购决策:公开实时路由量和分层价格表有助于企业评估服务商负载能力与性价比,推动 API 市场向更透明的竞争方向发展。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

LLM 大模型 Open Source 开源 Product Launch 产品发布 Pricing Pricing