TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: ServerlessAI – Build, scale, and monetize AI apps without back end

86 点作者 HeavenFox7 个月前
Hello HN,<p>I’ve always loved building frontend-only apps—those you can prototype over a weekend, host for free on GitHub Pages, and scale to millions of users. Unfortunately, AI-enabled apps complicate things, as exposing your OpenAI key to the world is obviously a no-go. This also means mobile developers often have to run their own servers.<p>That’s why I built ServerlessAI, an API gateway that lets you securely call multiple AI providers directly from client side using OpenAI-compatible APIs. You can authenticate users through any identity provider, like Google or Apple, and set per-user request or spending quotas. You can also define an allowlist for endpoints and models. To monetize, you can apply different quotas for various user tiers.<p>To start, I recommend checking out our tutorials, where we walk you through building a complete, deployment-ready AI app in 5 minutes. We’ve got tutorials for React, Next.js, and iOS: <a href="https:&#x2F;&#x2F;serverlessai.dev&#x2F;docs&#x2F;tutorials&#x2F;" rel="nofollow">https:&#x2F;&#x2F;serverlessai.dev&#x2F;docs&#x2F;tutorials&#x2F;</a><p>Our long term vision is to offer the best toolkit for AI developers at every stage of their project’s lifecycle. If OpenAI &#x2F; Anthropic &#x2F; etc are AWS, we want to be the Supabase &#x2F; Upstash &#x2F; etc. We are building optional out-of-box tools for authentication and payment management, so you can roll out your prototype faster. In the future, we want to provide the best prompt engineering tools for fine-tuning, A&#x2F;B testing, and backtesting, as well as the best observability tools.<p>We’d love to hear your feedback. Thanks for stopping by!

13 条评论

jrm47 个月前
So, I&#x27;ll be honest, I don&#x27;t understand this market. I get that one can be profitable selling shovels during the gold rush, sure. But I have trouble understanding who is knowledgeable&#x2F;dedicated enough to try to get their AI app going, but would pay to abstract&#x2F;outsource this part of the chain.<p>(I suppose, relately, I have trouble understanding why anyone would just sort of presume OpenAI would be forever the best backend here as well?)
评论 #41768218 未加载
评论 #41770194 未加载
评论 #41768776 未加载
评论 #41769110 未加载
评论 #41769617 未加载
ukuina7 个月前
This is cool, congrats on launching!<p>How is it different from Puter AI, which offers auth + free inference?<p><a href="https:&#x2F;&#x2F;docs.puter.com&#x2F;AI&#x2F;chat&#x2F;" rel="nofollow">https:&#x2F;&#x2F;docs.puter.com&#x2F;AI&#x2F;chat&#x2F;</a>
评论 #41768370 未加载
评论 #41766844 未加载
jedberg7 个月前
Hey, not sure where you&#x27;re running your backend for this, but this is the perfect use case for my company&#x27;s product (check out my profile if you&#x27;re interested). We make a serverless compute platform that doesn&#x27;t charge for wait time, so it would be signifigantly cheaper than EC2 or AWS Lambda for example.
echoangle7 个月前
Are we seriously calling someone else’s server „serverless“? Serverless would be local compute for me, not calling an API I’m paying someone else for.
评论 #41780837 未加载
friendly_chap7 个月前
Hah! Nice idea! I built something with a similar mindset but instead of calling cloud AI providers my aim is to provide a self-hostable complete AI platform: <a href="https:&#x2F;&#x2F;github.com&#x2F;singulatron&#x2F;singulatron">https:&#x2F;&#x2F;github.com&#x2F;singulatron&#x2F;singulatron</a><p>I know that might sound like putting the server back to serverless. But I would say it&#x27;s being your own serverless provider - once you have the platform installed on your servers you can build frontend-only AI apps on top.<p>Hope you don&#x27;t mind the self-plug. Your approach definitely a ton of advantages when starting out (no infra to manage etc).
sf-wy7 个月前
Great idea! I like the ergonomics of this for the developer-side, it&#x27;s easy to add and puts the onus on the developer to have a robust auth system that avoids users creating 1000s of accounts so they can get unlimited LLM access.<p>One challenge on frontend-only apps is if the prompt is proprietary then this will be exposed unless you will then offer prompt templating or prompt mapping on your side i.e. the frontend says prompt: Template_123 and then this maps to the actual prompt somehow. Prompting is important still and maybe for a while so having the internals externally available could be sensitive.
评论 #41766193 未加载
评论 #41766583 未加载
davidashe7 个月前
AI plus serverless…without blockchain??
sgarland7 个月前
&gt; Focus on What Matters<p>I really wish companies and people would stop saying things like this. “Focus on what’s important,” “focus on product,” etc. It’s frankly insulting to the admittedly small percentage of tech who deeply understand and care about the infrastructure that makes all of this magic possible.<p>If someone isn’t managing servers, your serverless magic will not work. If someone isn’t managing DBs, your product will not work. There is no getting around this problem; at some level, someone has to know how computers actually work, and to defend them against the abuses levied by people who neither know nor care to learn.
评论 #41772711 未加载
stroupwaffle7 个月前
Please hire a real artist those graphics on the home page are disturbing.
crooked-v7 个月前
So what&#x27;s supposed to make this service better than OpenRouter (<a href="https:&#x2F;&#x2F;openrouter.ai" rel="nofollow">https:&#x2F;&#x2F;openrouter.ai</a>), which has an extensive list of available models with transparent pricing for all of them?
评论 #41769938 未加载
jdmoreira7 个月前
This is a great idea. You should market to app devs as well.<p>I would also build this on top of firebase marketplace: <a href="https:&#x2F;&#x2F;extensions.dev" rel="nofollow">https:&#x2F;&#x2F;extensions.dev</a>
评论 #41766741 未加载
madamelic7 个月前
To potentially save you some headache, take a look at serverless.com and weigh the likelihood they come after you about that name if you are planning on making this a business.<p>(And yes, I hate their name too. I don&#x27;t honestly know how defendable an entire technology term actually is. It also results in terrible Googling.)
评论 #41768196 未加载
CuriouslyC7 个月前
If you don&#x27;t want to pay for this service, keytrustee.org does this for free.