Who it is forA developer building a text-based agent harness who needs a self-hosted model that supports tool use and coding tasks.
The problemHosted model APIs may not fit a project that needs local control over the model and its serving settings.
The outcomeA running local endpoint at http://127.0.0.1:8000 that answers chat requests under the served name neohorse-1-4B.
What you need first
- A machine with enough GPU memory for the 4B or 9B BF16 weights, or a quantized GGUF or MLX build for smaller hardware
- Python with pip available
- Disk space for the downloaded checkpoint from Hugging Face or ModelScope
Steps
- Download NeoHorse-1-4B from Hugging Face or ModelScope to a local directory that contains config.json, tokenizer files, and weights.
- Run
pip install -U vllm - Set MODEL_PATH to that directory, then run
vllm serve "$MODEL_PATH" --served-model-name neohorse-1-4B --host 0.0.0.0 --port 8000 --max-model-len 262144 --reasoning-parser qwen3 --enable-auto-tool-choice --tool-call-parser qwen3_coder(inferred, check the README) - Run
pip install requests - Run the chat example in the README's Send a Request section against http://127.0.0.1:8000 and check that it returns a reply.
Prompt for your agent
In the TokenRhythm/NeoHorse repo, follow the vLLM steps in the Deployment section to serve the NeoHorse-1-4B checkpoint at <model-directory> on port 8000 with served name neohorse-1-4B. Return the chat reply text for the prompt <test-prompt>. Verify that the server log shows the model loaded without errors before sending the request.
Caveat. The README says the 262,144-token setting is a configured limit and actual capacity depends on GPU memory, so you may need to lower --max-model-len.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for TokenRhythm/NeoHorse and "Serve NeoHorse-1 locally for agent tool calls"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer