[FEATURE]: Use Responses api for providers that support it #7579

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

Originally created by @joshrad-dev on GitHub (Jan 25, 2026).

Originally assigned to: @thdxr 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

Now that openresponses.org is out and adopted by many providers (including Huggingface, LM Studio, OpenRouter), I think it would be beneficial if these providers used the v1/responses api rather than the chat/completions API. From my testing, it seems as though its as simple as setting the npm field to be @ai-sdk/openai rather than @ai-sdk/openai-compatible and it will default to responses as documented here. Also, might be helpful to change the docs for setting up LM Studio to use the openai provider rather than openai-compatible. Not sure if this is a change that needs to take place here or on the models.dev repo but I thought I'd put it here.

Originally created by @joshrad-dev on GitHub (Jan 25, 2026). Originally assigned to: @thdxr 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 Now that [openresponses.org](openresponses.org) is out and adopted by many providers (including Huggingface, LM Studio, OpenRouter), I think it would be beneficial if these providers used the v1/responses api rather than the chat/completions API. From my testing, it seems as though its as simple as setting the npm field to be @ai-sdk/openai rather than @ai-sdk/openai-compatible and it will default to responses as documented [here.](https://ai-sdk.dev/providers/ai-sdk-providers/openai#:~:text=Since%20AI%20SDK%205%2C%20the%20OpenAI%20responses%20API%20is%20called%20by%20default%20(unless%20you%20specify%20e.g.%20%27openai.chat%27)) Also, might be helpful to change the docs for setting up LM Studio to use the openai provider rather than openai-compatible. Not sure if this is a change that needs to take place here or on the models.dev repo but I thought I'd put it here.
yindo added the discussiondocs labels 2026-02-16 18:07:38 -05:00
Author
Owner

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

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

  • #9628: Directly requests enabling Responses API in openai compatible provider - same feature request
  • #7793: Discusses the API compatibility issue between OpenAI provider (Responses API) and OpenAI-compatible providers (LM Studio, Ollama) that only support Chat Completions
  • #7180: Azure OpenAI requires switching from /chat/completions to /v1/responses endpoint
  • #1555: Requests LM Studio as a built-in provider with proper setup documentation
  • #7524: Scaleway explicitly requires Responses API (/v1/responses) for tool-calling support
  • #3890: Requests support for /v1/responses endpoint for xAI providers

Issues #9628 and #7793 appear to be the strongest duplicates as they directly address the same feature request and underlying problem.

Feel free to ignore if this doesn't address your specific case.

@github-actions[bot] commented on GitHub (Jan 25, 2026): This issue might be a duplicate of existing issues. Please check: - #9628: Directly requests enabling Responses API in openai compatible provider - same feature request - #7793: Discusses the API compatibility issue between OpenAI provider (Responses API) and OpenAI-compatible providers (LM Studio, Ollama) that only support Chat Completions - #7180: Azure OpenAI requires switching from /chat/completions to /v1/responses endpoint - #1555: Requests LM Studio as a built-in provider with proper setup documentation - #7524: Scaleway explicitly requires Responses API (/v1/responses) for tool-calling support - #3890: Requests support for /v1/responses endpoint for xAI providers Issues #9628 and #7793 appear to be the strongest duplicates as they directly address the same feature request and underlying problem. Feel free to ignore if this doesn't 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#7579