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

Open
opened 2026-02-16 18:09:42 -05:00 by yindo · 1 comment
Owner

Originally created by @ngmisl on GitHub (Feb 2, 2026).

Originally assigned to: @thdxr on GitHub.

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:thinkingmissing from opencode
  • moonshotai/kimi-k2.5missing
  • moonshotai/kimi-k2.5-original:thinkingmissing
  • 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.

Originally created by @ngmisl on GitHub (Feb 2, 2026). Originally assigned to: @thdxr on GitHub. ## 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: ```bash 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.
Author
Owner

@github-actions[bot] commented on GitHub (Feb 2, 2026):

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

  • #11128: [FEATURE]: nano-gpt provider - support Kimi K2.5

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

@github-actions[bot] commented on GitHub (Feb 2, 2026): This issue might be a duplicate of existing issues. Please check: - #11128: [FEATURE]: nano-gpt provider - support Kimi K2.5 Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8330