If you weren't aware, most AI providers follow the same API format as OpenAI. This means that you are able to override the base URL of an OpenAI agent in Xano with the model host of your choice, such as XAI or Mistral.
How to configure your agent:
Within the settings panel of the agent, first select OpenAI as the host, then update the base url to your provider of choice, also set the "Compatibility" to compatible.
Make sure to set the Model to one compatible with your selected host and add your API key from that host also.
For example for XAI you can update the base url to:https://api.x.ai/v1/
You can get an API key here - https://console.x.ai/
Example Models:
grok-4
grok-3-mini
grok-3-fast
For Mistral:https://api.mistral.ai/v1
You can get an API key here - https://console.mistral.ai/
Example Models:
codestral-latest
mistral-medium
Additional mistral model info: https://docs.mistral.ai/getting-started/models/models_overview/
For OpenRouterhttps://openrouter.ai/api/v1
You can get an API key here - https://openrouter.ai/
OpenRouter gives you access to a very large range of models from various hosting providers:
Models - https://openrouter.ai/models
Have fun building agents with whatever model you want!