[FEATURE]: Add support for mainland China version of siliconflow #3585

Closed
opened 2026-02-16 17:40:45 -05:00 by yindo · 5 comments
Owner

Originally created by @leisure462 on GitHub (Dec 16, 2025).

Originally assigned to: @rekram1-node on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

The default baseurl for siliconflow in the software is: https://api.siliconflow.com/v1, while the Chinese mainland version of siliconflow uses: https://api.siliconflow.cn/v1. Most Chinese users use the Chinese version of siliconflow as their model provider, and since China is a major provider of open source models, the user experience for Chinese users should be taken into consideration

Originally created by @leisure462 on GitHub (Dec 16, 2025). Originally assigned to: @rekram1-node on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request The default baseurl for siliconflow in the software is: https://api.siliconflow.com/v1, while the Chinese mainland version of siliconflow uses: https://api.siliconflow.cn/v1. Most Chinese users use the Chinese version of siliconflow as their model provider, and since China is a major provider of open source models, the user experience for Chinese users should be taken into consideration
yindo added the discussion label 2026-02-16 17:40:45 -05:00
yindo closed this issue 2026-02-16 17:40:45 -05:00
Author
Owner

@rekram1-node commented on GitHub (Dec 16, 2025):

sounds good

@rekram1-node commented on GitHub (Dec 16, 2025): sounds good
Author
Owner

@leisure462 commented on GitHub (Dec 16, 2025):

Sounds good

Please add this feature, thank you

@leisure462 commented on GitHub (Dec 16, 2025): > Sounds good Please add this feature, thank you
Author
Owner

@rekram1-node commented on GitHub (Dec 16, 2025):

yeah we should, just so u are aware or anyone else all the models come from:

models.dev

This is a centralized list and api for models and their capabilities we source all our stuff from there, I think there are several providers we have both a .com and .cn versions

If you or anyone else wants to make a pr to that to do this feel free it shouldnt be too hard

I think this is literally just copy silicon flow and make the cn version

ill try rq

@rekram1-node commented on GitHub (Dec 16, 2025): yeah we should, just so u are aware or anyone else all the models come from: models.dev This is a centralized list and api for models and their capabilities we source all our stuff from there, I think there are several providers we have both a .com and .cn versions If you or anyone else wants to make a pr to that to do this feel free it shouldnt be too hard I think this is literally just copy silicon flow and make the cn version ill try rq
Author
Owner

@rekram1-node commented on GitHub (Dec 17, 2025):

should be there now:
https://models.dev/?search=siliconflow+%28china%29

If u wanna see it in opencode ur model list refreshes occasionally, to force refresh do:

opencode models --refresh

@rekram1-node commented on GitHub (Dec 17, 2025): should be there now: https://models.dev/?search=siliconflow+%28china%29 If u wanna see it in opencode ur model list refreshes occasionally, to force refresh do: opencode models --refresh
Author
Owner

@leisure462 commented on GitHub (Dec 18, 2025):

Thank you for your answer

@leisure462 commented on GitHub (Dec 18, 2025): Thank you for your answer
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3585