Chatgpt.js

Developer Tools

Free

Added on Oct 17,2023

thumbnail

Description

ChatGPT.js is a powerful, open-source client-side JavaScript library for ChatGPT.

It is a powerful JavaScript library that allows for super easy interaction with the ChatGPT DOM:

Feature-rich

Object-oriented

Easy-to-use

Lightweight (yet optimally performant)

 

Use Cases:

Website Chatbots: Developers can use ChatGPT.js to create AI-powered chatbots for websites, providing users with instant responses to their queries.

Customer Support: Businesses can use ChatGPT.js to create virtual customer support agents that can assist users with common questions and issues.

Interactive Experiences: ChatGPT.js can be used to create interactive experiences on websites, such as storytelling, gaming, and virtual assistants.

Feedback Collection: Websites can use ChatGPT.js to collect feedback from users in a conversational manner, helping businesses improve their products and services.

By the PowerfulAI.tools Editorial Team · Updated 20 October 2026 · Researched with AI assistance and checked against the official Chatgpt.js website · How we review tools

Chatgpt.js Key Features

  • JavaScript library plus a command-line interface for sending prompts to AI models
  • Installs from npm as @kudoai/chatgpt.js or loads from the jsDelivr CDN
  • Can be pulled into Greasemonkey userscripts with an @require line
  • Can be bundled into a Chrome extension as a web accessible resource
  • Supports OpenRouter and Google AI as providers, each with its own API key

Chatgpt.js Pricing

Chatgpt.js is listed as free to use. Check Chatgpt.js's website for any usage limits or paid upgrades.

Pricing checked against the official Chatgpt.js website in October 2026. Prices can change, so confirm before you buy.

Who is Chatgpt.js best for?

JavaScript developers who build userscripts, browser extensions or command-line tools and want a small library for sending prompts to AI models.

Things to know before using Chatgpt.js

  • The GitHub repository was archived on 10 Aug 2026 and is read-only
  • Development has moved to gitlab.com/kudoai/chatgpt-js
  • OpenRouter and Google AI providers each need an API key set as an environment variable

Chatgpt.js FAQs

What licence does chatgpt.js use?

The README badge shows the MIT licence.

Does it still drive the ChatGPT website?

The current README lists OpenRouter and Google AI as its supported providers, rather than the ChatGPT web page. Check the GitLab repository for the latest behaviour.

Chatgpt.js Alternatives

Popular alternatives to Chatgpt.js include Pollinations, NemoClaw and Agnes AI. Compare their pricing and what each is best for below.

ToolPricingBest for
Pollinations Freemium Developers and hobby builders who want a single API for adding AI images, audio and text to their websites, bots and app...
NemoClaw Free Developers and platform teams who want to run always-on AI agents on NVIDIA hardware under policy-based security control...
Agnes AI Freemium Developers building AI-powered apps who want access to several models through one API.
OrcaRouter Freemium Developers and teams who want to balance AI quality and cost across many models.
DiagramGPT Free Developers and students who need to sketch system designs and workflows quickly by describing them in words.
  • dev tools
  • library
  • ChatGPT
  • code less
  • developer tool
  • open source
  • no-code
  • low-code
  • JavaScript
  • java

Chatgpt.js Reviews

What do you think about Chatgpt.js?

Leave a review for the community

No Review Found

Alternative Tools

Orpheus
Orpheus logo
Orpheus
DEVELOPER TOOLS

Free Trial

Orpheus is a dashboard for people who run several Claude subscriptions and many Claude Code agents. It shows usage and r...
Plango
Plango logo
Plango
DEVELOPER TOOLS

Freemium

Plango is an AI-era security app for Mac and Windows that sets the rules AI agents have to follow on your computer and s...
ScanMySaaS
ScanMySaaS logo
ScanMySaaS
DEVELOPER TOOLS

Freemium

ScanMySaaS is a SaaS security scanner that checks deployed web apps and GitHub repositories for common security issues b...
Beltic
Beltic logo
Beltic
DEVELOPER TOOLS

Contact for pricing

Beltic is an AI-native, real-time verification platform that helps businesses understand and control the AI agent traffi...
Shipyard
Shipyard logo
Shipyard
DEVELOPER TOOLS

Free Trial

Shipyard is a local CLI and MCP server for Claude Code, Codex and Cursor that automates the setup work needed to launch ...
OpenVorld
OpenVorld logo
OpenVorld
DEVELOPER TOOLS

Free

OpenVorld is a local-first, open-source for AI agents that shows your agents at work in a living pixel-art world. Every ...
Easy MCP AI
Easy MCP AI logo
Easy MCP AI
DEVELOPER TOOLS

Free

Easy MCP AI is a free WordPress plugin that turns a WordPress site into an MCP server, so AI assistants such as Claude, ...
General Compute
General Compute logo
General Compute
DEVELOPER TOOLS

Contact for pricing

General Compute is an AI inference cloud built on alternative chips, designed to deliver very fast token generation for ...
Volcano
Volcano logo
Volcano
DEVELOPER TOOLS

Freemium

Volcano is an agent cloud from Kong where you can build, host and run AI agents and apps. You deploy from the coding age...
Currents
Currents logo
Currents
DEVELOPER TOOLS

Free Trial

Currents is a Playwright dashboard and test orchestration platform that helps teams debug failures, catch flaky tests an...