Gehrig

Netlify AI Gateway - Use AI models without managing keys or billing

by
Netlify AI Gateway makes it easier to build AI features while you’re vibe coding. Instead of pausing to create provider accounts, manage API keys, or set up billing, AI Gateway securely handles credentials and usage for you. You can call the latest models from OpenAI, Anthropic, and Google Gemini directly from your Netlify project. It’s a faster path from experimenting with AI to something ready to run in production.

Add a comment

Replies

Best
Gehrig
Maker
📌
Hey Product Hunt 👋 I’m on the Netlify team, we built AI Gateway after seeing how often you're on a roll vibe coding and then account setup derails everything. When you’re moving fast adding AI usually means stopping to create provider accounts, set up API keys, and think about billing earlier than you want to. That friction breaks momentum. AI Gateway removes that setup layer and makes ongoing management simple when you're ready to scale. Credentials and usage are handled automatically and securely, so you can call models from OpenAI, Anthropic, or Google Gemini directly from your Netlify project and stay focused on the feature you’re building. To make it easy to try, every account starts with 300 free credits, so you can experiment without upfront setup or cost. I’d love to hear: • Where does building with AI slow you down the most today? • What’s the first AI feature you've tried to build? Happy to answer questions or go deeper on how this works.
Anton Loss

Very interesting! 🚀

So, an "ANTHROPIC_API_KEY" is created specifically for your user and then shared with your app via env?

How do you rotate those keys if you don't have a dedicated UI to manage them?

Sean Roberts

@avloss Hey! Netlify team member here! With AI Gateway, we provide opaque keys that work with AI Gateway directly. These are extremely short-lived keys. When requests are made, we validate and exchange them for proper inference keys. All of that to say, there's no UI to manage these keys because we handle everything for you. We rotate the end result keys on our side over time. This means you create software using the provider SDK's and we handle everything else.

Philippe Serhal

@avloss Short-lived tokens for each provider are automatically generated on the fly and injected into your Netlify serverless functions and edge functions as needed. These are only valid for the lifetime of the function execution, have only the minimal permissions needed, are owned and managed by Netlify yet are fully attributable to your specific account and site for billing and usage purposes. Let me know if you have any other questions!

Alex Cloudstar

been on Netlify for years for static stuff. AI Gateway sounds... actually useful tbh. no more juggling API keys/envs across projects is nice. curious about added latency and what the rate limits + logs look like. might try it on a weekend toy.

Philippe Serhal

@alexcloudstar There's effectively no added latency, since the "gateway" is within Netlify's edge network, right where your serverless or edge function is running.

Rate limits are documented here: https://docs.netlify.com/build/ai-gateway/overview/#rate-limits.

AI usage monitoring is documented here: https://docs.netlify.com/manage/accounts-and-billing/billing/billing-for-credit-based-plans/monitor-usage-for-credit-based-plans/.

KP

@alexcloudstar love to hear it. Share with us your weekend toy when it's ready :) [tag us on socials @netlify]

Nahrin Jalal

@alexcloudstar Please do share your experience with us once you've tried it out!

Saul Fleischman

We've needed this. I was working on something similar, now can sideline it. Good job!

Gehrig

@osakasaul thanks! Let us know how it works for you, or if you run into any feedback.

KP

Hey Product Hunt 👋

I'm KP, head of Community at Netlify and today we're so stoked to bring AI Gateway to this community.

Imagine you're a builder with an idea and you're vibe coding. You think "this needs an AI feature" - maybe smart suggestions, content generation, or image analysis.

But AI-powered apps need to call models. That means managing API keys, handling credentials, routing between providers. It's operational overhead that slows down both initial development and ongoing iteration. You're in flow, building something cool, and then... account setup. Key management. Billing configuration.

Your momentum? Dead.

Well, thats where AI Gateway comes in handy.

How it works:

One line of code gives you access to OpenAI, Anthropic, and Google Gemini. No provider accounts. No key juggling. No billing surprises upfront.

Switch between models by changing one parameter. Want to test Claude vs GPT-4 for your use case? Change the model name. We handle routing, credentials, and billing automatically.

See it in action:

Our CEO Matt Biilmann vibe coded this demo app using Netlify Agent Runners → https://gpt-image-of-the-day.netlify.app/ It generates a new AI image daily. The whole thing - AI integration included - was built in flow without stopping to set up provider accounts.

We also did a Community Drop livestream yesterday walking through the feature → https://x.com/netlify/status/2001336595421561309

Try it yourself:

Every account starts with 300 free credits. Build your first AI feature without pulling out a credit card.

I'm here all day with Gehrig and the team. Would love to hear from you. Drop your questions and thoughts below 👇

Hugh Durkin

As a Netlify user since 2017, I'm super happy this is now live! This'll enable anyone to build rich, AI-powered applications for internal and external use cases. Super excited to see what everyone builds 🚀

KP

@hughbeme Thanks for being a customer and now coming over to build the next chapter with us :)

Domitrius

@hughbeme Wouldn't be here without the Hugh Durkin's of the world! We appreciate you Hugh

Ash

Incredibly handy to have the most powerful models able to be integrated into your app all in one place and without leaving my Netlify workspace.
No more switching and swapping API keys and managing the set up.

Attended the Netlify Community Drop session and was impressed just how fast KP and Dom showed the new features and demonstrated how to build an AI ready app in minutes! Eager to update my current workflows now and track everything with a single view and build my ideas even faster.

KP

@ashamplifies Thank you for being part of our stream yesterday and asking great Qs. Means a lot.

If we ever do a vibe coding meetup in Leeds, you're the man for it!

Kshitij Mishra

The model switching part is underrated. Testing Claude vs GPT without refactoring is huge.

Domitrius

@kshitij_mishra4 Agreed! I've been taking Tanstack's AI SDK for a spin with it and it's been a perfect pairing when wanting to have multiple models at once!

Nahrin Jalal

@kshitij_mishra4 Couldn't agree more! That had been the slowest part of building with AI for me up until this point.

Cruise Chen

Founders need to focus on their business and Netlify free them out from api management and billing control etc! Great product!

Nahrin Jalal

@cruise_chen Thanks! Please share do share your experience with us once you've tried out AI Gateway.

Pavel Tseluyko

I've recently faced a spam problem on my agency's website: we were getting a 10-20 fake requests a day with time interval from valid emails but with random names, etc. It would a nice add-on for the AI Gateway in the future to actually prevent sending these requests. I have a Make automation to route these leads to Pipedrive/Slack/Sendgrid, and I would love to limit these requests even before they enter the webhook and trigger the automation.

KP

@pasha_tseluyko Thanks for sharing this improvement suggestion. I'll pass it along to our product team.

Gehrig

Hey Pavel, nice use case; this video may be helpful–Sean uses AI to summarize form fills, you could follow a similar pattern to grade quality and pass those that reach a set threshold to your downstream tools. With how cheap these models are getting that would be sweet to take that noise away. Hope that helps!

123
Next
Last