[!NOTE]
Hugging Face Metadata: The automated metadata tag at the top of this page miscalculates this model as a 12B BF16/U8 model because the Hub parser cannot natively calculate the 32-expert MoE layout of Claude-OSS. The actual model size is 21B parameters running natively on MXFP4 microquantization.
Model description
Open-Source OpenAI model powered by Claude Fable 5 Agent
Highlights
Claude Fable 5: Fully Train model to Calude Fable 5 specific use case through parameter fine-tuning.
Agentic capabilities: Use the models’ native capabilities for function calling, web browsing, Python code execution, and Structured Outputs.
MXFP4 quantization: The models were post-trained with MXFP4 quantization of the MoE weights, making model run within 16GB of memory. All evals were performed with the same MXFP4 quantization.
Configurable reasoning effort: Easily adjust the reasoning effort (low, medium, high) based on your specific use case and latency needs.
Full chain-of-thought: Gain complete access to the model’s reasoning process, facilitating easier debugging and increased trust in outputs. It’s not intended to be shown to end users.
Inference examples
Transformers
You can use 0xCoder with Transformers. If you use the Transformers chat template, it will automatically apply the harmony response format. If you use model.generate directly, you need to apply the harmony format manually using the chat template or use our openai-harmony package.
To get started, install the necessary dependencies to setup your environment:
pip install -U transformers kernels torch
Once, setup you can proceed to run the model by running the snippet below:
vLLM recommends using uv for Python dependency management. You can use vLLM to spin up an OpenAI-compatible webserver. The following command will automatically download the model and start the server.
bash
1curl -X POST "http://localhost:8000/v1/chat/completions"\2 -H "Content-Type: application/json"\3 --data '{
4 "model": "Tesleum/0xCoder",
5 "messages": [
6 {
7 "role": "user",
8 "content": "What is the capital of France?"
9 }
10 ]
11 }'1213vllm serve "Tesleum/0xCoder"
Docker
docker model run hf.co/Tesleum/0xCoder
Ollama
To achieve better performance and quality, use vLLM instead
LM Studio
To achieve better performance and quality, use vLLM instead
Reasoning levels
You can adjust the reasoning level that suits your task across three levels:
Low: Fast responses for general dialogue.
Medium: Balanced speed and detail.
High: Deep and detailed analysis.
The reasoning level can be set in the system prompts, e.g., "Reasoning: high".