opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Does it support compatibility with OpenAI

Open dashixin opened this issue 1 month ago • 2 comments

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

Hello, how can I configure a model compatible with the Open AI format in openCode without customizing the baseUrl and API key?

dashixin avatar Dec 15 '25 15:12 dashixin

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

  • #930: Make using any model with any provider easier - discusses simplifying how to configure OpenAI-compatible providers without manual JSON editing
  • #1298: Getting an issue integrating a custom provider - related issue with custom OpenAI-compatible provider configuration
  • #1669: How to configure a local large model - discusses configuration of models from OpenAI-compatible providers

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

github-actions[bot] avatar Dec 15 '25 15:12 github-actions[bot]

so you have an openai compatible model and you dont want to set baseurl, so your model is on openai?

I dont think im following

rekram1-node avatar Dec 15 '25 15:12 rekram1-node