samestrin/llm-interface

A simple NPM interface for seamlessly interacting with 36 Large Language Model (LLM) providers, including OpenAI, Anthropic, Google Gemini, Cohere, Hugging Face Inference, NVIDIA AI, Mistral AI, AI21 Studio, LLaMA.CPP, and Ollama, and hundreds of models.

59
/ 100
Established

This is a tool for developers building applications that use large language models (LLMs). It helps them connect their Node.js applications to many different LLM providers like OpenAI, Anthropic, and Google Gemini with a single, consistent interface. Developers input their prompts and desired LLM provider, and the tool returns the LLM's response, handling communication and potential errors in between. This is designed for software developers and engineers who are integrating AI into their products.

120 stars. Used by 1 other package. Available on npm.

Use this if you are a Node.js developer building an application that needs to interact with multiple Large Language Model providers and you want a unified, simplified way to manage those connections.

Not ideal if you are not a developer, or if you only need to use a single LLM provider and prefer to use their native SDK.

AI-development Node.js-development API-integration LLM-orchestration backend-development
Maintenance 10 / 25
Adoption 11 / 25
Maturity 25 / 25
Community 13 / 25

How are scores calculated?

Stars

120

Forks

13

Language

JavaScript

License

MIT

Last pushed

Mar 08, 2026

Commits (30d)

0

Dependencies

5

Reverse dependents

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/samestrin/llm-interface"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.