# google-gemini/deprecated-generative-ai-js

This SDK is now deprecated, use the new unified Google GenAI SDK.

Repository: https://github.com/google-gemini/deprecated-generative-ai-js
Canonical: https://ross.abutalabs.com/products/deprecated-generative-ai-js
Homepage: https://github.com/googleapis/js-genai
Language: TypeScript
License: Apache-2.0
License Family: permissive
Archived: true
Last push: 2025-12-02T17:12:14+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 55, release rhythm 40, longevity 71
- inputs: {"age_days": 1003, "days_push": 274, "days_rel": 491, "gap_med": 5, "n_releases_24m": 10}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1237, forks 320 (observed 2026-08-28T04:04:05.307745+00:00)

## What it is
The deprecated Google AI JavaScript/TypeScript SDK for the Gemini API, now in limited maintenance with support ending November 30, 2025. Users should migrate to the unified Google Gen AI SDK (googleapis/js-genai).

## Use cases
- call the Gemini API from JavaScript
- generate text with Gemini models in Node.js
- maintain an existing app using the old Google AI JS SDK
- plan migration from deprecated generative-ai-js to the new GenAI SDK
- chat with Gemini from a TypeScript backend

## When to choose
- you have an existing codebase already built on this SDK and need critical bug fixes before migrating
- you need a short-term stability window while planning your migration

## When to avoid
- you are starting a new project - use the unified Google Gen AI SDK (googleapis/js-genai) instead
- you need new features, latest model support, or long-term support
- your project will still be running after November 30, 2025

## Facets
- artifact type: library
- maturity: maintenance
- function: sdk, llm-inference, http-client
- domain: large-language-models, artificial-intelligence, developer-tools
- platform: cross-platform
- tags: gemini-api, deprecated, google-ai, legacy-sdk, generative-ai, nodejs, javascript, typescript

## Member repositories
- google-gemini/deprecated-generative-ai-js (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:05.307745+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:21:52.452705+00:00, confidence not recorded.
  - readme: https://github.com/google-gemini/deprecated-generative-ai-js (fetched 2026-08-28T04:04:05.307745+00:00, sha 3cc6c973ea38)
  - homepage: https://github.com/googleapis/js-genai (fetched 2026-08-29T12:21:01.860337+00:00, sha 3679111d896f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
