Description
ChatMock is a local server that lets chat apps and coding tools use Codex models through an OpenAI-compatible API and an Ollama-compatible API. It runs at 127.0.0.1:8000 by default, and OpenAI-compatible apps use http://127.0.0.1:8000/v1 as their base URL. The README includes setup steps for Raycast, which connects through its Ollama settings and syncs the models, and for Terax, which is added as an OpenAI-compatible provider. Models are discovered automatically from the ChatGPT account you sign in with, and the README lists models such as gpt-5.5 and gpt-5.4 among those commonly available. The server supports tool and function calling, structured outputs through a JSON schema, vision and image input, and thinking summaries through think tags. It can be installed with Homebrew, with pipx or pip, or run in Docker, which is documented in a separate file. Because it uses your own ChatGPT sign-in, the models you get depend on what that account can access.…
Highlights
- OpenAI-compatible and Ollama-compatible API
- Works with Raycast and Terax
- Tool calling and JSON schema outputs
- Vision and image input
- Install with Homebrew, pip or Docker
Ratings & Reviews
No ratings yet
Be the first to rate ChatMock.
People also visit
ChatMock FAQ
What is ChatMock?
A local server that lets chat apps and coding tools use Codex models through an OpenAI-compatible or Ollama-compatible API.
How do I install it?
The README covers Homebrew, pipx or pip, and Docker. The Docker setup is in a separate file.
Which models can I use?
It discovers the models available to the ChatGPT account you sign in with, so the list depends on that account.
What base URL do I enter in an app?
The server runs at http://127.0.0.1:8000 by default. Use http://127.0.0.1:8000/v1 as the base URL for OpenAI-compatible apps.
Does it support images and tools?
Yes. It supports vision input and tool or function calling.
What are the best ChatMock alternatives?
Popular alternatives to ChatMock include Chat, TRAE-Ollama-Bridge and Chatgpt. See all ChatMock alternatives
