Skip navigation
GLM 4.6 in Claude Code to build a python app
0:00 / 0:52

GLM 4.6 in Claude Code to build a python app

Melvin Vivas

@donvito22K followers

Visit on X
255 likesDownloadOriginal post

21,834 views

GLM 4.6 in Claude Code to build a python app Took me around 3 mins to make this python app with a Streamlit web ui and llamacpp python bindings The app lets you run an inference via a simple chat interface plus configurable params 👇 (video 4x speed)

24 Comments

Comments from the original post on X (Twitter)

  • Melvin Vivas's profile picture

    @donvito

    you can get any GLM coding plan using my link starts at $3/month

    3 likes

  • Hank Yeomans's profile picture

    @HankYeomans

    @streamlit Is there a reason we’d use GLM through CC interface vs let’s say, opencode?

    1 like

  • Melvin Vivas's profile picture

    @donvito

    @streamlit it’s not the same harness. if opencode works for you then it’s fine

    1 like

  • Hank Yeomans's profile picture

    @HankYeomans

    @streamlit No I’m asking because I dont know, since you might have tried already. Not because I think one is better.

    1 like

  • Melvin Vivas's profile picture

    @donvito

    @streamlit i feel claude code is better and it’s free anyway. only diff is you can switch models in opencode

  • jazzzz's profile picture

    @sbayitapp

    @streamlit I found it worked better on OpenCode

    1 like

  • JDizzy of course's profile picture

    @the_real_jdizzy

    @streamlit I don’t get this. Is @cerebras using a different variation of the model

    1 like

  • Melvin Vivas's profile picture

    @donvito

    @streamlit @cerebras not sure what they did in cerebras but it seems different. some say it’s fast but not as good

    1 like

  • JDizzy of course's profile picture

    @the_real_jdizzy

    @streamlit @cerebras Interesting Where are you subscribing to for the model? I’ll try that

  • Aditya shinde's profile picture

    @aditya__shinde

    @streamlit Currently glm4.6 doesn’t support input images. Is there any way to pass image so that i can pass ui mocks or sketches for reference?

    1 like

  • Melvin Vivas's profile picture

    @donvito

    @streamlit mcp

  • Aditya shinde's profile picture

    @aditya__shinde

    @streamlit if i use Vision MCP, first input will go to glm 4.5v then it goes to glm 4.6 or will i get the direct code from glm 4.5v itself?

  • Hassan's profile picture

    @hassandev22

    @streamlit how do you calculate tokens used? can you give statusline script

    1 like

  • Melvin Vivas's profile picture

    @donvito

    @streamlit you dont need it when you’re using the glm coding plan

  • gootecks's profile picture

    @gootecks

    @streamlit have you tried minimax m2 in claude code?

    1 like

  • Melvin Vivas's profile picture

    @donvito

    @streamlit no i dont have an account. $10 is just high for me to just test it and I haven’t seen examples of it just people talking about it in X

  • Dhruv's profile picture

    @Dhruv14588676

    @streamlit can they build a AI image generator which runs on local and you can give any huggingface model for text to image

    1 like

  • Melvin Vivas's profile picture

    @donvito

    @streamlit if you have a gpu why not

  • Dr G Hodl's profile picture

    @DrGhodl

    @streamlit Impressive speed! I might give that a try later.

  • murad's profile picture

    @devmuradahmed

    @streamlit Honestly, building a functional Python app in minutes shows how AI is rewriting what “rapid development” even means.