http://127.0.0.1:11434 points at Reason’s servers, not yours. Give the server a public https address, for example with a Cloudflare Tunnel:
/v1. Leave the other fields blank. Reason lists the server’s models when you save.
- For vLLM, LM Studio or a server behind an SSH tunnel, point
cloudflaredat its local port. - Agent prompts run past 20,000 tokens. Raise the server’s context window, because Ollama’s default silently cuts off the rest.
- Ollama only answers requests addressed to
localhost, which is why the tunnel needs--http-host-header. - Anyone with the address can use the server. If that matters, put a proxy that checks a key in front of it and enter that key in Reason.
- A
trycloudflare.comaddress changes whenevercloudflaredrestarts. To enter the new address, use Replace key on the Custom connection. A named tunnel keeps the same address. - Small models struggle with tool calls. If one makes up a tool result, start a new session instead of following up.

