<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Categories on Ambertu</title><link>https://ambertu.com/categories/</link><description>Recent content in Categories on Ambertu</description><generator>Hugo</generator><language>zh-CN</language><copyright>2026 Ambertu · 粤ICP备18071259号</copyright><lastBuildDate>Fri, 04 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://ambertu.com/categories/index.xml" rel="self" type="application/rss+xml"/><item><title>AI 与大模型 API</title><link>https://ambertu.com/categories/ai-api/</link><pubDate>Fri, 04 Sep 2026 00:00:00 +0000</pubDate><guid>https://ambertu.com/categories/ai-api/</guid><description>自建大模型 API 中转站的完整实战：new-api 部署选型、SSE 流式响应排查、超时与重复计费、限流与真实 IP、证书自动化、数据库选型。全部基于真实生产环境的实测数据。</description><content:encoded><![CDATA[<p>自建大模型 API 中转站会遇到的问题，按它们实际出现的顺序排列：</p>
<p>先是<strong>部署形态</strong>——机器就这么大，裸二进制还是 Docker。
接着是<strong>反向代理</strong>——流式输出被缓冲、超时导致重复计费、限流被伪造 IP 绕过，
这三个坑都在同一份 nginx 配置里。
然后是<strong>运维</strong>——证书过期会让所有 SDK 客户端一起硬失败，比 500 难查得多。
最后是<strong>存储</strong>——用量日志表的无限增长，比数据库选型本身更容易在半年后咬你。</p>
]]></content:encoded></item></channel></rss>