Best Free LLMs for Coding & Software Engineering

Top zero-cost LLM APIs ranked by LiveBench Coding scores with live RPM/RPD limits.

Current #1 Free Pick — Coding
LiveBench Coding: 79.7Composite: 65.1Coding: 79.7BFCL: —Context: 262K
Quick-Connect Snippets & Agent Configs
Get Free API Key
@cf/zai-org/glm-5.2
Cloudflare Workers AI · Account default · 10,000 Neurons/day (~200 reqs)
Agents:SDKs:
{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "cloudflare": {
      "npm": "@ai-sdk/openai-compatible",
      "options": {
        "baseURL": "https://api.cloudflare.com/client/v4/accounts/<YOUR_CLOUDFLARE_ACCOUNT_ID>/ai/v1",
        "apiKey": "{env:CLOUDFLARE_API_TOKEN}"
      },
      "models": {
        "@cf/zai-org/glm-5.2": {}
      }
    }
  },
  "model": "cloudflare/@cf/zai-org/glm-5.2"
}

What is the best free LLM for coding right now?

Models below are ranked strictly by LiveBench Coding accuracy while verified live on free-tier APIs. Based on our latest 6-hour sync, GLM-5.2 ranks #1 for Coding.