pezzolabs/UniLLM
🦄 Consume any LLM from any provider, using the OpenAI API
This project helps software developers integrate various large language models (LLMs) into their applications using a familiar OpenAI-like API. It takes requests and messages formatted for the OpenAI API and routes them to different LLM providers like OpenAI, Anthropic, or Azure, returning consistent chat completion responses. This is ideal for developers building applications that use LLMs.
No commits in the last 6 months. Available on npm.
Use this if you are a developer wanting to easily switch between different LLMs and providers without rewriting your application's code, while maintaining consistent response formats.
Not ideal if you are an end-user without programming experience, as this is a developer tool for integrating LLMs into software.
Stars
28
Forks
2
Language
TypeScript
License
MIT
Category
Last pushed
Oct 23, 2023
Commits (30d)
0
Dependencies
1
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/pezzolabs/UniLLM"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
lmstudio-ai/lmstudio-js
LM Studio TypeScript SDK
lmstudio-ai/lms
LM Studio CLI
samestrin/llm-interface
A simple NPM interface for seamlessly interacting with 36 Large Language Model (LLM) providers,...
nbonamy/multi-llm-ts
A Typescript library to use LLM providers APIs in a unified way.
token-js/token.js
Integrate 200+ LLMs with one TypeScript SDK using OpenAI's format.