AI frameworks

OpenAI TypeScript / JS SDK

Access 500+ AI Models in Node.js, React, or Express with Eden AI and OpenAI SDK

x

Overview

The OpenAI TypeScript and JavaScript SDK is the standard tool for calling large language models in the JavaScript ecosystem. Integrating with Eden AI makes it even easier: simply change one line (baseURL), and your existing code will automatically route through Eden AI’s gateway, giving you access to GPT-4, Claude, Gemini, Llama, Cohere Command, and hundreds of other models.

Whether you're working with Node.js, Express, Next.js, or just regular browser JS, you won’t need to change your types, streaming logic, or error handling, just let Eden AI does the routing.

How it works

To get started, create an account on Eden AI and connect it to your TypeScript or JavaScript project. With this integration you can:

  • Access models from OpenAI, Anthropic, Google and more without changing your existing code structure
  • Stream responses in real time, ideal for building chat interfaces and interactive tools
  • Use it with any JavaScript framework ) Node.js, Express, Next.js or plain browser scripts
  • Monitor usage and spending across all providers from a single Eden AI dashboard

Link to the plugin 🔗

Other AI Integrations

Use the OpenAI Python SDK you already know to access 500+ AI models

AI frameworks

Access multiple LLMs & Embeddings and enhance your application with advanced AI capabilities

AI frameworks
let’s start

Start building with Eden AI

A single interface to integrate the best AI technologies into your products.