
Security News
OpenCode User Hit with Hostile Backlash After Reporting Free AI Loophole
An OpenCode user faced harassment after reporting a free AI usage loophole, drawing a bitter backlash in a GitHub thread that has since been deleted.
@ai-sdk/google
Advanced tools
The Google provider for the AI SDK contains language model support for the Google Generative AI APIs.
Deploying to Vercel? With Vercel's AI Gateway you can access Google (and hundreds of models from other providers) — no additional packages, API keys, or extra cost. Get started with AI Gateway.
npm i ai @ai-sdk/google
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 { google } from '@ai-sdk/google';
import { generateText } from 'ai';
const { text } = await generateText({
model: google('gemini-3.1-pro-preview'),
prompt: 'Write a vegetarian lasagna recipe for 4 people.',
});
See the Google Provider documentation for more information.
An AI SDK provider for OpenAI models. It offers a similar integration style and shared AI SDK features, but connects to OpenAI models and services rather than Google Gemini.
An AI SDK provider for Anthropic models, including Claude. Like the Google provider, it uses AI SDK interfaces for generation and streaming, while offering Anthropic-specific model capabilities.
Google’s JavaScript client for the Gemini API. It provides direct access to Google’s API, whereas the AI SDK provider fits Gemini into the AI SDK’s common interfaces and application patterns.
Google Cloud’s Node.js client for Vertex AI generative models. It is oriented toward Vertex AI and Google Cloud integrations; the AI SDK provider is designed to connect Google models to the AI SDK’s unified workflow.
FAQs
Unknown package
The npm package @ai-sdk/google receives a total of 10,143,716 weekly downloads. As such, @ai-sdk/google popularity was classified as popular.
We found that @ai-sdk/google 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.

Security News
An OpenCode user faced harassment after reporting a free AI usage loophole, drawing a bitter backlash in a GitHub thread that has since been deleted.

Threat Research
/Security News
319 browser extensions installed by 13.4 million users hijack searches, capture queries, and collect referral payments from Yahoo and Bing.

Threat Research
Malicious Firefox extensions mimic Phantom, Jupiter, and Bitget wallets to steal recovery phrases and private keys, with one fetching its payload remotely.