Claude Opus 4.5 now live in AI Gateway, plus latest Claude Code via Agent Runners

November 24, 2025

Anthropic’s Claude Opus 4.5 model is now available through Netlify’s AI Gateway with zero configuration required.

Use the Anthropic SDK directly in your Netlify Functions without managing API keys or authentication. The AI Gateway handles everything automatically. Here’s an example using the Claude Opus 4.5 model:

import Anthropic from "@anthropic-ai/sdk";
export default async () => {
const anthropic = new Anthropic();
const response = await anthropic.messages.create({
model: "claude-opus-4-5-20251101",
max_tokens: 4096,
messages: [
{
role: "user",
content: "Give me pros and cons of using claude-opus-4-5-20251120 over other models."
},
],
});
return new Response(JSON.stringify(response), {
headers: { "Content-Type": "application/json" }
});
}

Claude Opus 4.5 is available across Background Functions, Scheduled Functions, and Edge Functions. You get automatic access to Netlify’s caching, rate limiting, and authentication infrastructure.

Learn more in the AI Gateway documentation.

You can also access the newest Claude Code capabilities via Agent Runners, including expanded tool use and support for long-running agent workflows. Learn more in the Agent runner documentation.