Build with AI or code, deploy instantly. One platform with everything you need to make real apps live.
Platform
Everything you need to ship. Nothing you don’t.
From vibe coding your first app to serving millions of users, Netlify handles the infrastructure so you can focus on building. No DevOps required. No complex setup. No surprise bills when you scale.
Primitives
Ready to use building blocks.
Build APIs, store files, manage data, control performance. No backend setup required—just build and deploy.
Power AI apps with AI Gateway
Call OpenAI, Anthropic, or Gemini directly from your code without juggling keys or accounts. Every request is routed through one gateway, with usage tracking and safeguards included.
- Use AI without managing API keys
- Switch between 30+ models
- Monitor usage and costs in one place
Example: Generate alt text with OpenAI
import OpenAI from "openai";
export default async (req: Request) => {
if (req.method !== "POST") {
return new Response("Method not allowed", { status: 405 });
}
try {
const { description } = await req.json();
if (!description) {
return new Response("Missing description", { status: 400 });
}
const client = new OpenAI();
const res = await client.responses.create({
model: "gpt-5-mini",
input: [
{ role: "user", content: `Write concise alt text for: ${description}` },
],
});
return Response.json({ altText: res.output_text });
} catch {
return new Response("Server error", { status: 500 });
}
};
export const config = {
path: "/api/alt-text",
}; Start building on Netlify
Join millions of developers and teams bringing their ideas online.