---
title: "DeepSeek V4.1 Flash now available in AI Gateway"
description: "Access DeepSeek V4.1 Flash through OpenRouter on Netlify AI Gateway with zero configuration. No API keys required."
source: "https://www.netlify.com/changelog/deepseek-v4-1-flash-ai-gateway/"
last_updated: "2026-09-16T05:13:06.000Z"
---
DeepSeek V4.1 Flash is now available through OpenRouter on Netlify’s AI Gateway with zero configuration required.

Use the OpenRouter SDK directly in your Netlify Functions without managing API keys or authentication. AI Gateway handles everything automatically. Here’s an example using DeepSeek V4.1 Flash:

```
import { OpenRouter } from '@openrouter/sdk';
export default async () => {    const client = new OpenRouter();
    const response = await client.chat.send({        chatRequest: {            model: 'deepseek/deepseek-v4.1-flash',            messages: [{ role: 'user', content: 'How can AI improve my coding?' }],            maxTokens: 400,        },    });
    return Response.json(response);};
```

DeepSeek V4.1 Flash is available across Background Functions, Scheduled Functions, and Edge Functions. You get automatic access to Netlify’s rate limiting and authentication infrastructure.

Learn more in the [AI Gateway documentation](https://docs.netlify.com/build/ai-gateway/overview/) and [OpenRouter documentation](https://openrouter.ai/docs/quickstart).