Run OpenAI-style Python in your browser.
Model Coder is an educational sandbox for learning basic OpenAI-style Python coding syntax. It lets you experiment with prompts, responses, streaming, and async patterns in a safe environment.
The app runs entirely in your browser using PyScript for Python execution and a local model.
Use the following parameters to connect to your local model:
https://local/openai
key123
local-llm
Prompts are filtered locally using a moderation word list. If a blocked term is detected,
the app returns: I'm sorry. I can't help with that..
To get started, select a sample from the dropdown or write your own code in the editor pane, then click the run button. Check the model status in the top left to see when the model is ready to use. Happy coding!