{"repo":"axium-lab/llm-mock","free":true,"listed":false,"github":"https://github.com/axium-lab/llm-mock","clone":"git clone https://github.com/axium-lab/llm-mock.git","description":"Self-hosted OpenAI-compatible mock server — test your LLM integrations without exposing your API key. By Axium.","language":"TypeScript","stars":21,"topics":["integration-testing","llm","mock-server","openai","openai-api","sse","testing"],"license":"MIT","category":"ai-agents","readme_excerpt":"llm-mock A drop-in mock of LLM provider APIs for integration tests and open source projects. Change the baseURL , keep your code. Testing an app built on an LLM SDK usually means paying for real API calls in CI, or leaking a key into a place it should never be. llm-mock removes that choice: a tiny local server that speaks each provider's contract — same endpoints, same response shapes, same errors, same SSE streaming — with deterministic replies and no real key. No mocking libraries, no request interception, no changes to your application code. The official SDKs talk to llm-mock exactly as they talk to the real API — that compatibility is what the test suite verifies, with those SDKs as the clients. ⚡ Zero install — a free hosted instance runs at api.llm-mock.dev . Point your SDK there and start in seconds; no download, no signup. 📖 Full API reference at llm-mock.dev — every endpoint, header, error shape and quirk, one page per provider. Why - Faithful, not a stub. Responses match each provider's real shapes, validated in CI against the official openai , @anthropic-ai/sdk and @google/genai SDKs. - Deterministic. Same request, same bytes: ids are content hashes, timestamps derive from them, embeddings are hash-seeded unit vectors. Snapshot-test friendly. - Stateless, always. No store, no cleanup, no ordering between tests. It behaves identically on a laptop, in CI, or behind a load balancer — even for files and batches, whose ids carry their own metadata. - Controllable. Need","default_branch":null,"files":null,"tree":[],"storefront":"/r/axium-lab","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/axium-lab/llm-mock/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}