Skip to content

Improve Cloudflare AI aliases and model list#804

Open
DEYLNN wants to merge 6 commits intodecolua:masterfrom
DEYLNN:feature/cloudflare-provider
Open

Improve Cloudflare AI aliases and model list#804
DEYLNN wants to merge 6 commits intodecolua:masterfrom
DEYLNN:feature/cloudflare-provider

Conversation

@DEYLNN
Copy link
Copy Markdown
Contributor

@DEYLNN DEYLNN commented Apr 28, 2026

Summary

Improves the upstream cloudflare-ai provider by adding convenient aliases, expanding the model list, and adding the provider icon asset that matches the upstream provider ID.

Upstream already includes the base cloudflare-ai provider, plus Azure and Blackbox icons. This PR is adjusted to build on the upstream implementation instead of adding a duplicate provider.

Changes

  • Keep the upstream provider ID: cloudflare-ai
  • Add routing aliases:
    • cfcloudflare-ai
    • cloudflarecloudflare-ai
  • Expand the Cloudflare AI model list with more available @cf/... models
  • Add Cloudflare to the dashboard free-tier provider metadata with:
    • website link
    • API token URL
    • note about required Account ID
    • hasProviderSpecificData: true
  • Add provider icon asset matching the upstream provider ID:
    • public/providers/cloudflare-ai.png
  • Reuse upstream's generic {accountId} provider-specific data handling

Usage

Both formats work after this change:

9router/cf/@cf/moonshotai/kimi-k2.6
9router/cloudflare/@cf/moonshotai/kimi-k2.6

They resolve to the upstream provider:

cloudflare-ai

Why

The official upstream implementation already added the core Cloudflare provider, so this PR avoids duplicate provider IDs and focuses on improving usability:

  • shorter model route alias (cf)
  • compatibility alias (cloudflare)
  • more model presets
  • dashboard icon compatibility for cloudflare-ai
  • better dashboard discoverability in free-tier providers

Note: Azure and Blackbox provider icons are already present upstream, so this PR only adds the missing Cloudflare AI icon asset.

@DEYLNN DEYLNN changed the title Add Cloudflare Workers AI provider support Improve Cloudflare Workers AI aliases and model list Apr 28, 2026
@DEYLNN DEYLNN changed the title Improve Cloudflare Workers AI aliases and model list Improve Cloudflare AI aliases and model list Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants