
你的Lovable应用有一个每月$600的问题
Lovable让构建AI应用毫不费力——直到API账单到来。以下是每个Lovable构建者需要看到的成本计算,以及在任何规模下保持AI成本平稳的修复方案。
你用Lovable在一个周末构建了一个AI应用。UI很精致,后端已连接,AI功能感觉像魔法。你在Twitter上发布了演示,获得了第一批一百个注册,开始收取$9.99/月。一切感觉运作良好。
然后OpenAI的发票到了。
第一个月$12。还行。第二个月$87——好吧,增长。第三个月$620。这比你整个Stripe收入还多。突然间感觉像突破的应用变成了负担。
Lovable做得出色的地方(以及它没有解决的问题)
Lovable解决了前端生成、后端脚手架、认证和部署。但它不处理运行时每个AI功能调用的成本。每次用户触发AI功能,你的应用都会向OpenAI API发请求。Lovable生成了这个调用的代码,但OpenAI把账单发给你。
没人给你看的成本计算
以一个客服助手为例。每次用户交互约1,200输入token和600输出token。
实际成本:基础API成本加上高级用户乘数、上下文增长和重试开销后,8K用户大约~$620/月。
修复方案:在你的应用数据上微调模型
路径从$620/月到不足$45/月:
- 导出API日志 作为训练数据
- 微调小模型(如Qwen 2.5 7B)使用LoRA
- 导出为GGUF格式
- 用Ollama在VPS上部署
| OpenAI API | 微调本地模型 | |
|---|---|---|
| 月AI成本 | ~$620 | $0(本地运行) |
| 基础设施 | 含在API定价中 | $30/月 VPS |
| 微调平台 | 无 | $14.50/月(Ertas) |
| 月总成本 | ~$620/月 | ~$44.50/月 |
| 20K用户时成本 | ~$1,240/月 | 仍然~$44.50/月 |
关键洞察:你的成本保持平稳。 无论你有5K还是50K用户,你都在为VPS和微调平台付费,而非按交互或token付费。
$14.50/月的Ertas。$30/月的VPS。每token $0。永远。
Ship AI that runs on your users' devices.
Ertas early bird pricing starts at $14.50/mo — locked in for life. Plans for builders and agencies.
延伸 阅读
Ship AI that runs on your users' devices.
Early bird pricing starts at $14.50/mo — locked in for life. Plans for builders and agencies.
Keep reading

Bolt.new Apps and the OpenAI Cost Cliff: What Happens at Scale
Bolt.new makes it easy to add AI features. Here's exactly what happens to your OpenAI bill as users grow — and how to replace it with a fine-tuned local model at flat cost.

Replit App AI Costs Exploding? Replace OpenAI with a Fine-Tuned Local Model
Replit's always-on deployment and easy AI integration create a specific API cost problem. Here's how to replace OpenAI with a fine-tuned local model and cut costs to flat rate.

Fine-Tune a Support Bot for Your Lovable App (No API Costs in Production)
Build an AI support bot that actually knows your product — trained on your docs, your tickets, your tone. Then run it locally for zero ongoing API costs.