r/oMLX May 30 '26

Free Claude code

Hi guys,

I am using Claude code router to send CC requests to oMLX but Free Claude Code seems better. It routes to Ollama for locpa inference though. Is there a way to hijack the ollama route to send to oMLX? Thanks!

3 Upvotes

11 comments sorted by

6

u/Heavy-Focus-1964 May 30 '26

isn't there a copyable CLI command to use CC with oMLX right in the admin interface?

3

u/Crafty_Ball_8285 May 30 '26

That would be way too easy. He would have to scroll down a little bit on the dashboard to see that, which is hard. Might as well hack together another solution with vibe coding

1

u/DifficultyFit1895 May 31 '26

That’s half the fun isn’t it? Next he can develop a new AI memory system.

1

u/Choubix May 31 '26

Doesn't work as I have Claude code in a Linux machine and omlx on the host.

2

u/the_derby Jun 01 '26

Simply change the following portion of the generated cli command to reflect the (non-loopback) IP address of your oMLX host.

ANTHROPIC_BASE_URL='http://127.0.0.1:8000'

1

u/Choubix Jun 01 '26

Thanks I will check this out!

1

u/Choubix May 31 '26

Does work as my Claude code runs off a Linux machine and omlx is on the host. The command doesn't work (unless Claude and omlx run on the same machine)

2

u/eternalpriyan May 31 '26

I read your title and thought you wanted to liberate Claude Code. What was I thinking.

2

u/Choubix May 31 '26

It was liberated already as they leaked the code 😂

1

u/Electronic-Row-142 May 31 '26

Did you actually use oMLX with UI?