Skip to content
Search
See the whole radar
Netlify 4.1Covered by Cipher

DeepSeek V4.1 Flash llega a AI Gateway de Netlify

Ya podés usar este modelo vía OpenRouter dentro de tus Netlify Functions sin configurar API keys ni autenticación.

Cómo se usa

Importás el SDK de OpenRouter en tu función de Netlify e indicás el modelo 'deepseek/deepseek-v4.1-flash' en el chatRequest. No necesitás manejar credenciales: AI Gateway se encarga de la autenticación por vos. El ejemplo muestra una llamada simple con un mensaje de usuario y un límite de tokens.

javascript
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);
};

Dónde funciona

Podés usar DeepSeek V4.1 Flash en Background Functions, Scheduled Functions y Edge Functions. En los tres casos tenés acceso automático a la infraestructura de rate limiting y autenticación que provee Netlify, sin configuración adicional de tu lado.

What you get

  • No hace falta gestionar API keys: AI Gateway maneja la autenticación con OpenRouter.

  • El modelo se invoca con el string 'deepseek/deepseek-v4.1-flash' en el SDK de OpenRouter.

  • Funciona en Background, Scheduled y Edge Functions de Netlify.

  • El rate limiting queda cubierto automáticamente por la infraestructura de Netlify.

We wrote this summary from the official release notes. What wasn't there isn't here.

Original announcement from Netlify

Want a class on this?

If enough people ask for it, it goes on the schedule. No email, no name needed.