# Vercel AI SDK

> Usa el proveedor compatible con OpenAI del AI SDK.


```js test
import { createOpenAICompatible } from '@ai-sdk/openai-compatible';
import { generateText } from 'ai';

const notholy = createOpenAICompatible({ name: 'notholy', baseURL: 'https://api.notholy.com/v1', apiKey: process.env.NOTHOLY_API_KEY });
const { text } = await generateText({ model: notholy('notholy-specter'), prompt: 'What is a KEV entry?' });
console.log(text);
```

`streamText` y las herramientas funcionan de la misma forma.

## Siguientes pasos

- [Streaming](/es/guides/streaming)
