How can I use other providers compatible with openai and select supported models myself? #7490

Open
opened 2026-02-16 18:07:20 -05:00 by yindo · 2 comments
Owner

Originally created by @Secret-Dumplings on GitHub (Jan 24, 2026).

Originally assigned to: @thdxr on GitHub.

Question

I hope you can tell me how to use a model provider compatible with OpenAI. If this feature is not available, I hope it can be added soon

Originally created by @Secret-Dumplings on GitHub (Jan 24, 2026). Originally assigned to: @thdxr on GitHub. ### Question I hope you can tell me how to use a model provider compatible with OpenAI. If this feature is not available, I hope it can be added soon
yindo added the docs label 2026-02-16 18:07:20 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 24, 2026):

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

  • #5564: Does it support compatibility with OpenAI - Similar question about configuring OpenAI-compatible models
  • #6134: Can users customize the relay API server and model? - Asks about custom API servers and models
  • #9746: I want to connect custom provider using other service provider for codex or claude code? - Also asks about using custom providers with specific models

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

@github-actions[bot] commented on GitHub (Jan 24, 2026): This issue might be a duplicate of existing issues. Please check: - #5564: Does it support compatibility with OpenAI - Similar question about configuring OpenAI-compatible models - #6134: Can users customize the relay API server and model? - Asks about custom API servers and models - #9746: I want to connect custom provider using other service provider for codex or claude code? - Also asks about using custom providers with specific models Feel free to ignore if none of these address your specific case.
Author
Owner

@00bx commented on GitHub (Jan 28, 2026):

if u mean building your own provider and using it in open code the provided repo can be usedul, which showcases a custom provider/proxy built in local to talks to web gemini pro and returns an open-ai compatible response to opencode and executes mcps and other necessary things to make open code understands as a normal api. https://github.com/00bx/gemini-web-proxy

@00bx commented on GitHub (Jan 28, 2026): if u mean building your own provider and using it in open code the provided repo can be usedul, which showcases a custom provider/proxy built in local to talks to web gemini pro and returns an open-ai compatible response to opencode and executes mcps and other necessary things to make open code understands as a normal api. https://github.com/00bx/gemini-web-proxy
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7490