We've updated the Workers AI text generation models to include context windows and limits definitions and changed our APIs to estimate and validate the number of tokens in the input prompt, not the number of characters. This update allows developers to use larger context windows when interacting with Workers AI mode...
Workers AI - Workers AI larger context windows
Cloudflare Developer Platform Changelog · 2025-02-24
Related items
Workers AI - Markdown conversion in Workers AI
Document conversion plays an important role when designing and developing AI applications and agents. Workers AI now provides the toMarkdown utility method that developers can use to for quick, easy, and convenient conversion and summary of documents in multiple formats to Markdown language. You can call this new to...
Workers - Better Windows support for Python Workers
Pywrangler , the CLI tool for managing Python Workers and packages, now supports Windows, allowing you to develop and deploy Python Workers from Windows environments. Previously, Pywrangler was only available on macOS and Linux. You can install and use Pywrangler on Windows the same way you would on other platforms....
Workflows, Workers - Workflow steps now expose retry attempt number via step context
Cloudflare Workflows allows you to configure specific retry logic for each step in your workflow execution. Now, you can access which retry attempt is currently executing for calls to step.do() : await step . do ( "my-step" , async ( ctx ) = { // ctx.attempt is 1 on first try, 2 on first retry, etc. console . log (...
Containers - Larger Container instance types
New instance types provide up to 4 vCPU, 12 GiB of memory, and 20 GB of disk per container instance. Instance Type vCPU Memory Disk lite 1/16 256 MiB 2 GB basic 1/4 1 GiB 4 GB standard-1 1/2 4 GiB 8 GB standard-2 1 6 GiB 12 GB standard-3 2 8 GiB 16 GB standard-4 4 12 GiB 20 GB The dev and standard instance types are...
Workers AI - New conversion options for Markdown Conversion
You can now customize how the Markdown Conversion service processes different file types by passing a conversionOptions object. Available options: Images : Set the language for AI-generated image descriptions HTML : Use CSS selectors to extract specific content, or provide a hostname to resolve relative links PDF :...
Workers AI - Launching FLUX.2 [dev] on Workers AI
We've partnered with Black Forest Labs (BFL) to bring their latest FLUX.2 [dev] model to Workers AI! This model excels in generating high-fidelity images with physical world grounding, multi-language support, and digital asset creation. You can also create specific super images with granular controls like JSON promp...