Can't seem to enable reasoning in llama.cpp

📰 Reddit r/LocalLLaMA

Enable reasoning in LLaMA models using the correct parameters and prompt formatting

intermediate Published 11 Jun 2026
Action Steps
  1. Check the model's documentation to ensure it supports reasoning
  2. Use the correct parameters such as --chat-template-kwargs '{"enable_thinking":true}' to enable reasoning
  3. Verify the prompt formatting is correct, including the use of /think at the end of the prompt if required
  4. Test different reasoning budgets using the --reasoning-budget parameter to find the optimal value
  5. Consult the LLaMA community or official documentation for troubleshooting and support
Who Needs to Know This

Developers and researchers working with LLaMA models can benefit from understanding how to enable reasoning in these models to improve their performance and capabilities

Key Insight

💡 Enabling reasoning in LLaMA models requires careful parameter selection and prompt formatting

Share This
🤖 Get reasoning working in LLaMA models with the right params and prompt formatting! 📚

Key Takeaways

Enable reasoning in LLaMA models using the correct parameters and prompt formatting

Full Article

Hi, I'm trying to use some LLMs which I know support reasoning (TheDrummer Rocinante X 12B model) but I can't for the life of me to get it to work. I've tried using all these parameters: --chat-template-kwargs '{"enable_thinking":true}' --reasoning on --reasoning-budget -1 But to no avail. I've also tried adding /think at the end of the prompt, it does nothing. Any idea what I'm doing wrong? Thanks! <!-- S
Read full article → ← Back to Reads

Related Videos

5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
7 Claude Features Only 1% of People Know About
7 Claude Features Only 1% of People Know About
Conor Martin
Kimi K3 by Moonshot AI Surpassed Claude Fable 5
Kimi K3 by Moonshot AI Surpassed Claude Fable 5
Dr Mehrdad Arashpour
Get expert perspectives on any problem with Gemini Gems | Google AI Professional Certificate
Get expert perspectives on any problem with Gemini Gems | Google AI Professional Certificate
Google Career Certificates
Learn to use AI as your strategic thought partner | Google AI Professional Certificate
Learn to use AI as your strategic thought partner | Google AI Professional Certificate
Google Career Certificates
What Are Embeddings in AI? | When to Use Them & Why They Matter
What Are Embeddings in AI? | When to Use Them & Why They Matter
Pavithra’s Podcast