AI frameworks

OpenAI TypeScript / JS SDK

Access around 1,000 AI models in Node.js, React, or Express with Eden AI and the 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

Build ApowerB agents on around 1,000 AI models through one API

AI frameworks

Build Symfony AI apps on around 1,000 AI models through one API

AI frameworks

Build Haystack pipelines and agents on around 1,000 AI models through one API

AI frameworks

Use the OpenAI Python SDK you already know to access around 1,000 AI models

AI frameworks
let’s start

Start building with Eden AI

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