What free Ai platform code rhino script?

I want to use Ai to code rhino script or python. Which platform do it and accurate, I tried Xai,chatgpt,there have some bugs to need solve

Until AI gains actual understanding the tools mentioned will always create buggy code.

I tried Xai to write autolisp(small function), have a nice result

Simple code won’t be a problem, there are enough samples out there that it can do a prettery good job. But code that needs proper reasoning using SDKs for which there aren’t that many examples and there is a need to find something ‘new’… that is where the problems start.

Claude from Anthropic works well with Python for Grasshopper.

Google Gemini has its moments, but it is firmly convinced that Grasshopper has a “timer” function and really does not know how the Grasshopper solve cycle functions.

well, all free AI i have used are capable of writing code for Rhino (copilot, chat gpt which are both based on open ai, and gemini from google), i tried python and when you feedback the error lines it will adapt the code, its a bit of a trial and error but eventually and sometimes even straight out of the box you will get something useful.

grasshopper also seems to work, at least in informing you how to solve something maybe some things dont work but if you name the issues it will always adapt and find a different or an actual solution, at least with the stuff i tried it with.