Skip to content

LLMockMock LLM APIs for dev and testing

Point your OpenAI, Anthropic or Gemini SDK at a local server. Realistic replies, no API key, no cost, no network.

LLMock

Try it ​

bash
npm create llmock@latest my-project
cd my-project
npm install
npm run llmock:start

Then open http://localhost:8001 for the dashboard. Getting started walks you through your first request.

The LLMock dashboard

Using a coding agent?

Point it at llms.txt (also shipped in the npm package at node_modules/llmock/llms.txt): a compact reference to the CLI, config schema, response shapes and gotchas.

Released under the MIT License.