Home / Guides / Kimi K3

Kimi K3 code review in GitHub Actions

Updated July 17, 2026 · applies to pgup-ai/jbot-review-action v0

Moonshot shipped Kimi K3 on July 16, 2026 — and it could review pull requests here the same day. No action update to wait for: J-Bot Review is an open-source (MIT) GitHub Action that reviews with whatever model your gateway carries, and OpenCode Go listed kimi-k3 at launch. One secret, one workflow file, and J-Bot adds $0 of its own.

Why day one works

Hosted reviewers put new models behind their own rollout, and some don't expose model choice at all. A bring-your-own-model reviewer has nothing to roll out — the moment your gateway lists an id, your PRs can use it. K3's id appeared on OpenCode Go on launch day; this page's setup was verified against it on July 17.

Setup in three steps

  1. Get the key. Subscribe to OpenCode Go ($10/month, $5 the first month) and create an API key. Save it as the repository secret OPENCODE_API_KEY (Settings → Secrets and variables → Actions).
  2. Commit the workflow. Add the file below as .github/workflows/jbot-review.yml — the model pin is the only Kimi-specific line.
  3. Open a pull request. K3 reads the full base…head diff and posts diff-anchored findings with a verdict; blocking findings are verified by a second session before they post, nits demoted.
.github/workflows/jbot-review.yml
name: J-Bot Code Review
on:
  pull_request: { types: [opened, reopened, ready_for_review, synchronize] }

concurrency:
  group: jbot-review-${{ github.event.pull_request.number }}
  cancel-in-progress: true

permissions:
  contents: read
  pull-requests: write
  issues: write        # PR reactions use the issues API
  checks: read

jobs:
  review:
    if: github.event.pull_request.draft == false
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7
        with: { fetch-depth: 0 }
      - uses: pgup-ai/jbot-review-action@v0
        with:
          provider: opencode-go
          model: kimi-k3          # verified working 2026-07-17
          opencode-api-key: ${{ secrets.OPENCODE_API_KEY }}
          github-token: ${{ secrets.GITHUB_TOKEN }}

What K3 review actually costs

Other roads to K3

Day one, on a real diff

Within an hour of wiring it up on July 17 we handed K3 a planted regression: a pagination helper where Math.ceil quietly became Math.floor behind a new zero-guard. It flagged the dropped last page with a concrete counterexample (total=10, perPage=3 → 4 pages, not 3) and judged the guard itself fine — the exact shape of finding you want posted on a PR, and nothing you'd mistake for a lint rule.

On Moonshot's own launch charts K3 leads Program Bench (77.8) and SWE Marathon (42.0) and posts 88.3 on Terminal-Bench 2.1 — while Moonshot's own assessment has it still trailing Claude Fable 5 and GPT-5.6 Sol overall. For review work specifically, the 1M-token context and cache-friendly pricing weigh as much as leaderboard position: big diffs fit whole, and repeat prompts get the $0.30 input rate.

Where the diff goes

FAQ

Is Kimi K3 free to use for PR review?

Not today. As of 2026-07-17 there is no free K3 endpoint anywhere — OpenCode Zen's free band doesn't carry it and OpenRouter has no :free variant. The flat-rate path is OpenCode Go ($10/month, $5 the first month); API rates are $3 per million input tokens ($0.30 on cache hits) and $15 per million output. Moonshot has promised open weights by July 27, 2026, and free third-party hosts usually follow weights.

What exactly do I set for provider and model?

provider: opencode-go with model: kimi-k3 — the pair verified working on launch-plus-one day (2026-07-17). On OpenRouter it's provider: openrouter with model: moonshotai/kimi-k3. If you prefix the model as provider/model, the prefix must match the provider you set.

Does K3 work with a Cline subscription?

Cline carried K3 from launch day as a pay-per-use provider. Cline Pass — the flat subscription — still lists Kimi K2.7 Code as its top included Kimi model on the published plan page (checked 2026-07-17). If your Pass plan shows K3 in its model list, provider: cline-pass drives it the same way; otherwise K3 in Cline bills per token.

When do K3's open weights land, and under what license?

Moonshot's launch post promises full weights by July 27, 2026. The license is unannounced — K2 shipped under a modified MIT, but don't assume it carries over. Expect cheaper and free third-party endpoints once weights are public; the cost notes on this page will be updated when that happens.

Related