Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

Configure Groq+Kimi K2 #325

Description

@luke-pritch

I see a lot of people on X using Groq+Kimi K2+Opencode, I am trying out opencode for the first time but I am struggling to get the models to appear in my selection view. I dont have access to the supported models on groq to use Kimi K2. Why? I must be doing something wrong in my config but I don't know what.

Here is my full config:

~/.opencode.json

{
  "data": {
    "directory": ".opencode"
  },
  "providers": {
    "groq": {
      "apiKey": "****",
      "disabled": false
    }
  },
  "agents": {
    "coder": {
      "model": "kimi-k2-instruct",
      "maxTokens": 50000,
      "reasoningEffort": ""
    },
    "task": {
      "model": "kimi-k2-instruct",
      "maxTokens": 5000,
      "reasoningEffort": ""
    },
    "title": {
      "model": "kimi-k2-instruct",
      "maxTokens": 80,
      "reasoningEffort": ""
    }
  },
  "debug": true,
  "tui": {
    "theme": "opencode"
  },
  "shell": {
    "path": "/bin/zsh",
    "args": [
      "-l"
    ]
  },
  "autoCompact": true
}

Here is my available models:

Image

Which is the same model availability from the README

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions