whereismyai
Ollama Mock
Ollama Mock is a fake Ollama server that simulates API responses for testing without running local models.
Ollama Mock is a fake Ollama server designed for testing applications without the need to run actual AI models. It uses the same API and runs on the same port, allowing your existing code and the Ollama CLI to work without changes. The server provides deterministic and varied answers in realistic shapes, supporting features like thinking, tool calls, vision, JSON, embeddings, decisions, fill-in-the-middle, model sizes, and token speeds. It runs locally in your browser via WebAssembly or locally on your machine, listening on port 11434. It is built for developers who need to test AI integrations quickly in CI environments or local setups without hardware constraints. The project is open source and available on GitHub.
Ollama Mock at a glance
- Best for: Software engineer
- Runs on: Web, CLI, self-hosted, open source
- Pricing: Free
- Released: October 2026
- Category: AI coding tool
- Website: ollama-mock.kinduff.com
Key features
- Simulates the Ollama API
- Runs in the browser via WebAssembly
- Listens on the standard Ollama port
- Provides deterministic and varied answers
- Supports tool calls, vision, and JSON
- Includes support for embeddings and fill-in-the-middle
- Zero GPU or model download requirements
Use it for
- Testing AI applications without local models
- Running automated tests in CI environments
- Developing applications offline without a GPU
- Validating API requests and responses
Companions
Tools that articles about Ollama Mock recommend using with it, each with its job.
- Ollama — Built to work with Ollama.
- Open WebUI — Run AI on your own terms with complete data privacy and self-hosting control.
- AnythingLLM — Runs fully on-device with no accounts, API keys, or token limits required.
- LangChain — Framework for custom agents with memory and tools on local models.
- Chroma — Local vector database for embeddings and semantic search.
- Cline — Open source, any model, with approval on every step
Alternatives to Ollama Mock
- Ollaya — Run decision models locally with typed, calibrated answers in milliseconds.
- LLM Test Server — Script responses, streaming, and tool calls while inspecting every request.
- AirLLM — Runs massive 70B+ parameter models on small 4GB consumer GPUs.
- llmrun — Check which open models run on your specific GPU or Mac instantly.
- whichllm — Ranks models using real benchmarks and hardware fit instead of parameter count.
- LMDeploy — Accelerates inference with high-performance engines and quantization tools.
- WebLLM — Runs high-performance language models directly inside web browsers.
- RunThisLLM — Provides exact hardware and VRAM requirements for over 295 local AI models.
- VulnClaw — It uses LLM agents to autonomously execute end-to-end security testing loops.
- oMLX — It uses paged SSD KV caching to reduce agent TTFT to under 5 seconds.
- Llama Windows — It runs open models offline with zero configuration.
- llama-swap — It runs multiple local AI models with zero external dependencies.
All Ollama Mock alternatives