piyook/llm-mock
A local mock LLM server for early front end development work
This is a local server that simulates the responses of large language models (LLMs) like OpenAI's ChatGPT. It takes typical LLM requests and provides realistic-looking text or mock embeddings, allowing front-end developers to build and test AI applications without connecting to real, costly LLM services. It's ideal for anyone developing user interfaces or features that interact with AI.
Use this if you are a front-end developer, QA engineer, or AI application developer building an application that uses LLMs and you need a fast, free, and consistent way to test your UI and integrations locally without hitting actual LLM APIs.
Not ideal if you need to test the actual reasoning, factual accuracy, or advanced capabilities of a real LLM, or if you are developing the LLM itself.
Stars
7
Forks
2
Language
TypeScript
License
MIT
Category
Last pushed
Mar 06, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/piyook/llm-mock"
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.