# Help understanding OpenRouter language models

**URL:** https://meta.discourse.org/t/help-understanding-openrouter-language-models/341663
**Category:** Support
**Created:** [December 10, 2024, 6:20pm UTC](https://meta.discourse.org/t/help-understanding-openrouter-language-models/341663 "2024-12-10T18:20:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [December 10, 2024, 6:20pm UTC](https://meta.discourse.org/t/help-understanding-openrouter-language-models/341663/1 "2024-12-10T18:20:36Z")

</div>

I was going to reply but think that I’m not supposed to be able to reply there? (Or maybe it was something else that I once replied to taht wasn’t supposed to and perhaps I no longer have special powers).

Continuing the discussion from [Configuring OpenRouter language models](https://meta.discourse.org/t/configuring-openrouter-language-models/341526):

> [@Configuring OpenRouter language models](https://meta.discourse.org/t/configuring-openrouter-language-models/341526/1):
>
> Some models on open router do not support native tools, in those cases you should disable native tools so you can still get XML based tools. Additionally performance varies so you should test if XML or native tools give you better results for a model.

Sorry. I still don’t understand, and I know a lot more about at least Discourse than at least most people this is for (but likely know less about AI?). This is the first mention of “XML tools in this topic..”

The OpenRouter tools are XML tools? Normal People don’t care that XML is referring to some underlying details of how the API works, but I’m curious.

And “Native tools” refers to configuring API keys for Anthropic and OpenAI? On the `/admin/plugins/discourse-ai/ai-llms` page? And these XML tools, like the Native Tools both allow you to create personas that use some of these LLMs, right?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [December 11, 2024, 8:20am UTC](https://meta.discourse.org/t/help-understanding-openrouter-language-models/341663/2 "2024-12-11T08:20:11Z")

</div>

Open Router has some models with native tool support and some models that lack native tool support. It is documented on each model.

Attempting to make native tool calls to these unsupported models will crash the call.

Luckily, Discourse implements its own tool system, so you end up having access to features that a model provider does not natively implement.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [December 11, 2024, 2:56pm UTC](https://meta.discourse.org/t/help-understanding-openrouter-language-models/341663/3 "2024-12-11T14:56:41Z")

</div>

Also worth mentioning the tools only affect Discourse AI Bot currently. For AI Helper, Summarize, Search, Automation we don’t use tools, so you can pick a model with or without support and it won’t matter there.
