Claude Haiku 4.5 is now available in the AI Gateway

October 16, 2025

Claude Haiku 4.5 is now available through Netlify’s AI Gateway — no extra setup required.

You can use the native Anthropic SDK without managing API keys or external accounts.

Here’s how to use it today in a Netlify Function with the Anthropic SDK:

import Anthropic from "@anthropic-ai/sdk";

export default async () => {
	const anthropic = new Anthropic();

	const response = await anthropic.messages.create({
		model: "claude-haiku-4-5-20251001",
		messages: [
			{
				role: "user",
				content: "Give me pros and cons of using claude-haiku-4-5-20251001 over other models."
			},
		],
	});
}

This is supported across Edge, Background, and Scheduled Functions and includes features like Rate-Limiting, access to Netlify’s advanced caching primitives, and many others.

Learn more in the AI Gateway docs.