Skip to content
PluginStats

@opencoredev/loginwithchatgpt-ai weekly downloads statistics

By opencoredev · npm · AI SDKs

Vercel AI SDK provider for Login with ChatGPT with proxy/direct modes, model discovery, streaming, tools, and generateText/streamText.

View on npm Fresh · Oct 28, 2026

@opencoredev/loginwithchatgpt-ai has 254 recorded weekly downloads on npm, ranking #1587 of 2,644 tracked listings.

Weekly downloads
254
Official API · Oct 26, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#1587
Among tracked npm listings

About @opencoredev/loginwithchatgpt-ai

@opencoredev/loginwithchatgpt-ai

Vercel AI SDK provider for Login with ChatGPT.

Use createChatGPTProxyProvider() in browsers and app-server routes. createChatGPT() is for headless/server-only flows where you intentionally manage token custody yourself.

Browser proxy mode

import { createChatGPTProxyProvider } from "@opencoredev/loginwithchatgpt-ai";
import { streamText } from "ai";

const chatgpt = createChatGPTProxyProvider({ basePath: "/api/chatgpt" });
const models = await chatgpt.listModels();
const model = models.includes("gpt-5.5")
  ? "gpt-5.5"
  : models[0];

if (!model) throw new Error("No ChatGPT models were returned for this account.");

const result = streamText({
  model: chatgpt(model),
  prompt,
});

The proxy provider sends requests to your server handler. In browser code it uses the session cookie; in server routes, pass auth.proxyFetch(request) so tokens stay inside the handler:

const chatgpt = createChatGPTProxyProvider({
  fetch: auth.proxyFetch(request),
});

Direct token mode

import { createChatGPT } from "@opencoredev/loginwithchatgpt-ai";
import { streamText } from "ai";

const chatgpt = createChatGPT({
  credentials: tokens,
  onRefresh: saveTokens,
});

const models = await chatgpt.listModels();
const model = models.includes("gpt-5.5")
  ? "gpt-5.5"
  : models[0];

if (!model) throw new Error("No ChatGPT models were returned for this account.");

const result = streamText({
  model: chatgpt(model),
  prompt,
});

Direct token mode is an escape hatch for CLIs, headless apps, or migrations. Normal web apps should keep using the proxy provider.

To request Codex Fast tier through the browser proxy, pass the SDK header:

const result = streamText({
  model: chatgpt("gpt-5.5"),
  prompt,
  headers: {
    "x-login-with-chatgpt-service-tier": "fast",
  },
});

Provider shape

chatgpt(modelId);
chatgpt.responses(modelId);
await chatgpt.listModels();
chatgpt.openai;

Peer dependencies: ai@^7 and @ai-sdk/openai@^4.

Description from the npm listing.

  • chatgpt
  • openai
  • ai-sdk
  • vercel
  • codex
  • provider
  • streaming

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@opencoredev/loginwithchatgpt-ai weekly downloads on npm, last 90 days: 254 weekly downloads as of Oct 26, 2026.@opencoredev/loginwithchatgpt-aiWeekly downloads on npm · Last 90 days254downloads / week220230240250260270280Jul 28Aug 12Aug 27Sep 11Sep 26Oct 11Oct 26downloads / weekOct 26, 2026 – Oct 26, 2026 · 1 observations · Updated Oct 26, 2026pluginstats.com
@opencoredev/loginwithchatgpt-ai weekly downloads on npm, last 90 days: 254 weekly downloads as of Oct 26, 2026.

7/30/90-day growth

@opencoredev/loginwithchatgpt-ai weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.@opencoredev/loginwithchatgpt-aiWeekly downloads growth on npm254downloads / week now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 26, 2026pluginstats.com
@opencoredev/loginwithchatgpt-ai weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

@opencoredev/loginwithchatgpt-ai npm ranking history: currently #1587 (by weekly downloads).@opencoredev/loginwithchatgpt-ainpm ranking · by weekly downloads · Last 90 days#1587current rank#1585#1586#1587#1588#1589Jul 30Aug 14Aug 29Sep 13Sep 28Oct 13Oct 28rankOct 28, 2026 – Oct 28, 2026 · 1 observations · Updated Oct 26, 2026pluginstats.com
@opencoredev/loginwithchatgpt-ai npm ranking history: currently #1587 (by weekly downloads).

Listing placement

All npm2,642 listings · 133 pages · 1,322 shown · page 96, #17 (overall #1,917)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs292 listings · 15 pages · page 13, #14 (overall #254)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (1)
Recent weekly downloads observations for @opencoredev/loginwithchatgpt-ai
Date (UTC)Weekly downloadsChange vs. previous
254—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@opencoredev/loginwithchatgpt-ai. First seen Oct 28, 2026; last successful collection Oct 28, 2026. See the methodology.