Skip to content

Add missing NanoGPT models (kimi-k2.5:thinking and others) #11787

Closed as not planned

Description

@ngmisl

Summary

The NanoGPT provider is missing several models that are available via the NanoGPT API, including the popular moonshotai/kimi-k2.5:thinking model.

Current behavior

opencode models nano-gpt shows a limited set of models. Running a direct API call to NanoGPT reveals many more available models:

curl -s "https://nano-gpt.com/api/v1/models" -H "Authorization: Bearer $KEY" | jq -r '.data[].id' | grep kimi

Returns:

  • moonshotai/kimi-k2.5:thinking ← missing from opencode
  • moonshotai/kimi-k2.5 ← missing
  • moonshotai/kimi-k2.5-original:thinking ← missing
  • moonshotai/kimi-k2-thinking ← available
  • moonshotai/kimi-k2-instruct ← available

Expected behavior

All models available from the NanoGPT API should be accessible in opencode, or there should be a way to configure custom models.

Environment

  • opencode version: 1.1.48
  • OS: Linux

Suggestion

Consider dynamically fetching available models from the NanoGPT /v1/models endpoint rather than maintaining a hardcoded list, similar to how the LOCAL_ENDPOINT provider works.

Activity

  1. github-actions commented on Feb 2, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. jonaspm commented on Mar 4, 2026

    @jonaspm

    +1 for dynamic fetching of available models, maybe cache then locally and allow to manually update

  3. lainwir3d commented on Mar 10, 2026

    @lainwir3d

    Agree, latest GLM not available too

  4. assigned and unassigned on Apr 26, 2026
  5. nosut commented on Jun 18, 2026

    @nosut

    GLM 5.2 not showing even after a model refresh.

  6. 7heMech commented on Jul 14, 2026

    @7heMech

    Yep, missing GLM

  7. 7heMech commented on Jul 14, 2026

    @7heMech

    I think you can do GLM Latest to use it.

    GLM 5.2 not showing even after a model refresh.

  8. jonaspm commented on Jul 14, 2026

    @jonaspm

    This is related to anomalyco/models.dev#2891

  9. github-actions commented on Sep 14, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

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