# Vercel AI SDK

> Use the OpenAI-compatible provider of the 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` and tools work the same way.

## Next

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