What models are supported on cloudflare AI gateway #8641

Closed
opened 2026-02-16 18:10:28 -05:00 by yindo · 3 comments
Owner

Originally created by @zhabiba24 on GitHub (Feb 5, 2026).

Originally assigned to: @thdxr on GitHub.

Question

Trying to support cloudflare more because I like their pay per crawl feature https://blog.cloudflare.com/introducing-pay-per-crawl/

However I can't use Qwen 2.5 coder instruct model since it gives 400s when working with opencode workers-ai/@cf/qwen/qwen2.5-coder-32b-instruct

Wonder if there are any cloudflare models that run on workers that opencode is recommended to work with?

Originally created by @zhabiba24 on GitHub (Feb 5, 2026). Originally assigned to: @thdxr on GitHub. ### Question Trying to support cloudflare more because I like their pay per crawl feature https://blog.cloudflare.com/introducing-pay-per-crawl/ However I can't use Qwen 2.5 coder instruct model since it gives 400s when working with opencode workers-ai/@cf/qwen/qwen2.5-coder-32b-instruct Wonder if there are any cloudflare models that run on workers that opencode is recommended to work with?
yindo closed this issue 2026-02-16 18:10:28 -05:00
Author
Owner

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

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

  • #10077: SDK SSE client ignores custom fetch - blocks containerized/sandboxed environments (Cloudflare Workers context)
  • #12102: Unable to connect Azure AI Foundry Serverless Models due to strict Provider/Model validation (similar provider/model compatibility issues)
  • #10226: OpenCode Web UI serves stale frontend from CDN (Cloudflare infrastructure-related)
  • #5235: Error using Cloudflare Workers AI models (same Cloudflare provider, model compatibility)
  • #2223: Cloudflare Workers AI models not appearing in interactive interface (Cloudflare models visibility issue)

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

@github-actions[bot] commented on GitHub (Feb 5, 2026): This issue might be a duplicate of existing issues. Please check: - #10077: SDK SSE client ignores custom fetch - blocks containerized/sandboxed environments (Cloudflare Workers context) - #12102: Unable to connect Azure AI Foundry Serverless Models due to strict Provider/Model validation (similar provider/model compatibility issues) - #10226: OpenCode Web UI serves stale frontend from CDN (Cloudflare infrastructure-related) - #5235: Error using Cloudflare Workers AI models (same Cloudflare provider, model compatibility) - #2223: Cloudflare Workers AI models not appearing in interactive interface (Cloudflare models visibility issue) Feel free to ignore if none of these address your specific case.
Author
Owner

@R44VC0RP commented on GitHub (Feb 6, 2026):

Can you share an export of your session when you try to use this model? opencode export > session.json

I assume you are connecting via the Cloudflare Workers AI provider right?

@R44VC0RP commented on GitHub (Feb 6, 2026): Can you share an export of your session when you try to use this model? `opencode export > session.json` I assume you are connecting via the `Cloudflare Workers AI` provider right?
Author
Owner

@zhabiba24 commented on GitHub (Feb 6, 2026):

Yep authenticated with workers-ai/@cf/qwen/qwen2.5-coder-32b-instruct as of today that's gone through fine! No more errors

@zhabiba24 commented on GitHub (Feb 6, 2026): Yep authenticated with `workers-ai/@cf/qwen/qwen2.5-coder-32b-instruct` as of today that's gone through fine! No more errors
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8641