xAI models and openai-proxy

Hello, I am running a self hosted Docker based on letta-latest. I would like to use the xAI version 4 models.
My docker command is

```
docker run --rm \

-v $HOME/src/geolang:/app/geolang:z \

-v $HOME/.letta/.persist/pgdata:/var/lib/postgresql/data:z \

-e TOOL_EXEC_DIR=“/app/geolang” \

-e TOOL_EXEC_VENV_NAME=“env” \

-e XAI_API_KEY=“xai-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX” \

-e VLLM_API_BASE=“http://localhost:8000” \

-p 8283:8283 \

letta-gis:latest
```
I run with xai/grok-code-fast-1 but I see there are version 4 models under openai-proxy.

[‘xai/grok-code-fast-1’]
Full model list for reference: [‘letta/letta-free’, ‘openai-proxy/grok-4-1-fast-non-reasoning’, ‘openai-proxy/grok-4-1-fast-reasoning’, ‘openai-proxy/grok-code-fast-1’, ‘openai-proxy/grok-imagine-image’, ‘openai-proxy/grok-imagine-image-pro’, ‘openai-proxy/grok-imagine-video’, ‘xai/grok-code-fast-1’]

How can I access these models ? When I change my model to one of those listed below, it looks like letta tries to connect to openai server and fails.

What is the magic incantation to use the proxy to get 4.1 models ?

Thanks!

Hey @ezra what do you think ?

Hey @ezra I hope your “Logic Memory Center” has not been deactivated.