Build websites, apps and chatbots almost free: Kaggle, OpenCode and Qwen 3.6

Run Alibaba's open Qwen 3.6 model on Kaggle's free notebook GPUs, connect the free, open-source OpenCode coding agent to it, and describe what you want built. Use GLM through Z.ai's paid API only for the hardest tasks, because the latest GLM is too big for free GPUs. Kaggle is for building and learning, not for hosting.

Key takeaways

  • Qwen3.6-35B-A3B is open weights and built for agentic coding, with about 3B parameters active per token
  • Kaggle's free GPUs are T4 and P100 class, and each session stops after 12 hours
  • OpenCode is MIT-licensed and works with any OpenAI-compatible model endpoint
  • GLM-5.3-Flash has 320B parameters in total, so use its paid API for hard jobs only

The three parts

The brain: Qwen 3.6. Alibaba released Qwen3.6-35B-A3B as open weights in April 2026. It's a mixture-of-experts model with 35B parameters in total and about 3B active per token, and Alibaba reports 73.4 on SWE-bench Verified in its own testing. A Qwen3.6-27B model is also published.

The free power: Kaggle. Kaggle notebooks include free T4 and P100 class GPUs, with 16 GB on a T4. Sessions stop after 12 hours, and your weekly GPU quota shows in your account settings.

The builder: OpenCode. OpenCode is an MIT-licensed coding agent with a terminal app, a beta desktop app and editor extensions. It connects to Ollama and any OpenAI-compatible endpoint.

How the setup works

Create a Kaggle notebook and choose a GPU accelerator in its settings.

Load a compressed (4-bit) version of Qwen 3.6 with an inference server that exposes an OpenAI-compatible endpoint. By our rough estimate, the 35B-A3B model at 4-bit needs about 20 GB of GPU memory, which fits across two T4s if your notebook offers them. Otherwise, try the smaller 27B model.

Connect OpenCode on your laptop to that endpoint as a custom OpenAI-compatible provider. Install OpenCode with npm i -g opencode-ai@latest or the official install script.

Start in Plan mode so OpenCode asks before editing, then switch to Build mode. Run /init to create an AGENTS.md file with your project rules, and use /undo if a change goes wrong.

Describe the job: "Build a booking page for my yoga studio in Sydney with a contact form."

Publish the finished site on free static hosting, not on Kaggle.

Where GLM fits

Z.ai's newest model, GLM-5.3-Flash (August 2026), has 320B parameters in total and 18B active. That's far beyond free GPUs. Use GLM through Z.ai's paid API for the tasks Qwen struggles with, such as a large refactor or a tricky bug. OpenCode also offers a $10-a-month plan, OpenCode Go, that covers selected open-weight models.

Limits to know

Kaggle is built for notebooks and learning, not as a production server. Check Kaggle's terms before you connect outside tools to a notebook.

Never put client code, passwords or API keys in a Kaggle notebook.

A free setup suits prototypes, demos and learning. Client projects need proper hosting, security and review.

Who it suits: students, freelancers and small teams prototyping simple sites, internal tools or chatbots. Who should skip it: anyone handling client data or needing an always-on service.

Frequently asked questions

Trending question: Can I run an LLM on Kaggle for free?

Yes, within limits. Kaggle notebooks include free T4 and P100 class GPUs, so a compressed open model like Qwen 3.6 can run there. Sessions stop after 12 hours, and there's a weekly GPU quota.

Trending question: Is OpenCode free to use?

The OpenCode software is free and open source under the MIT licence. You pay only for the model you connect, which is nothing if you run an open model on free GPUs.

Can I run GLM on Kaggle?

Not the latest version. GLM-5.3-Flash has 320B parameters in total, far more than Kaggle's free GPUs can hold. Use Z.ai's paid API instead.

Can I host my chatbot on Kaggle?

No. Kaggle sessions stop after 12 hours and aren't meant for hosting. Use it to build and test, then deploy elsewhere.
 

  • bm
    Writen by Anirban Das
logo