
Product
Socket Threat Intel Now Shows Which Malware Campaigns Were Blocked or Detected
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.
@ai-sdk/openai-compatible
Advanced tools
This package provides a foundation for implementing providers that expose an OpenAI-compatible API.
Deploying to Vercel? With Vercel's AI Gateway you can access hundreds of models from any provider — no additional packages, API keys, or extra cost. Get started with AI Gateway.
npm i ai @ai-sdk/openai-compatible
If you use coding agents such as Claude Code or Cursor, we highly recommend adding the AI SDK skill to your repository:
npx skills add vercel/ai
import { createOpenAICompatible } from '@ai-sdk/openai-compatible';
import { generateText } from 'ai';
const { text } = await generateText({
model: createOpenAICompatible({
baseURL: 'https://api.example.com/v1',
name: 'example',
apiKey: process.env.MY_API_KEY,
}).chatModel('meta-llama/Llama-3-70b-chat-hf'),
prompt: 'Write a vegetarian lasagna recipe for 4 people.',
});
See the OpenAI Compatible Provider documentation for more information.
FAQs
Unknown package
The npm package @ai-sdk/openai-compatible receives a total of 0 weekly downloads. As such, @ai-sdk/openai-compatible popularity was classified as not popular.
We found that @ai-sdk/openai-compatible demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.

Product
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.

Security News
Fixes for eMudhra and Brotli are out. Getting them everywhere they’re needed means tracking down bundled libraries, runtimes, and certificate stores.

Threat Research
/Security News
Socket uncovered secret-stealing workflows that ran in LiteLLM’s GitHub repository 11 days before the supply chain attack on PyPI and Docker.