Cloudflare Workers AI provides embedding models that run on Cloudflare’s edge network. This guide shows you how to configure Meilisearch with Cloudflare Workers AI embeddings using the REST embedder.Documentation Index
Fetch the complete documentation index at: https://www.meilisearch.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
- A Meilisearch project
- A Cloudflare account with access to Workers AI
- Your Cloudflare account ID and API key
Available models
| Model | Dimensions | Notes |
|---|---|---|
@cf/baai/bge-small-en-v1.5 | 384 | Fastest, English only |
@cf/baai/bge-base-en-v1.5 | 768 | Balanced, English only |
@cf/baai/bge-large-en-v1.5 | 1024 | Highest quality BGE, English only |
@cf/google/embeddinggemma-300m | 768 | Google’s compact embedding model |
@cf/qwen/qwen3-embedding-0.6b | 1024 | Qwen3’s lightweight embedding model |
Configure the embedder
Update your index settings with the Cloudflare Workers AI embedder configuration:<CLOUDFLARE_API_KEY> with your Cloudflare API key and <ACCOUNT_ID> with your Cloudflare account ID. The model name is part of the URL path. Adjust dimensions to match the model you choose.
Send this configuration to Meilisearch:
Test the search
Next steps
- Document template best practices to optimize which fields are embedded
- Custom hybrid ranking to tune the balance between keyword and semantic results
- Embedder settings reference for all configuration options