Open-source llm-mock server fakes OpenAI, Anthropic, Gemini and Azure APIs so CI tests never need a real key

OkSkirt1039 · reddit · 2026-11-22

A developer open-sourced llm-mock, a server that speaks the real wire formats of major LLM APIs so you keep the official SDK and only change the base URL — no real API key in CI, no drifting hand-written mocks.

Highlights:

Built with Bun + TypeScript, MIT licensed, with a Docker image and a free hosted instance at api.llm-mock.dev. Positioned for testing the plumbing around models (retries, streaming parsers, tool-call handling, error handling), not prompt quality evaluation.

Original post →

More from coding & agent

coding & agent channel →