Australian company Canva reduced the cost of using AI to review images by 85%. The company switched from paying for model access by token count to hourly GPU leasing and deployed its own model based on Alibaba’s open Qwen3.5–4B architecture. At the same time, engineers reduced image processing latency.
Why Canva needed its own model
Canva reviews hundreds of thousands of images every day for its public library. Each image is evaluated against more than 30 quality and content criteria. Users of the service can use these images free of charge and without licensing fees in their design projects.
As the library expanded, so did the cost of reviewing new content with AI. To reduce those expenses, Canva developed its own model and trained it on labeled images, including examples of subjective violations of visual quality criteria.
How the optimization worked
The solution is based on the open Qwen3.5–4B architecture. During fine-tuning, the specialists applied LoRA to all linear layers, as well as QLoRA with four-bit storage for frozen weights.
The model’s response follows a predefined structure. Of the 190 output tokens, 157 are used for the JSON format and the names of the checks, leaving 33 tokens for the model’s decisions. Instead of generating tokens sequentially, the engineers implemented blockwise token verification in vLLM using a template in which the expected answers are predefined as false.
Results on Nvidia L40S GPUs
After the optimization, the median image processing latency fell from 3.5 seconds to 240 milliseconds. The p99 metric dropped from 4.6 seconds to 0.52 seconds. With 32 concurrent requests and blocks of 32 tokens, the new approach was 3.7 times faster than the previous decoder.
Canva senior machine learning engineer Sachin Abeywardana reported savings of $500,000 in large language model-related costs after the company switched to its own Qwen3.5–4B model, trained and deployed in-house.
The role of GPU leasing
A significant share of the savings came from switching to hourly GPU leasing instead of paying for model access based on token volume. Based on the figures provided, Canva’s image review costs can be estimated to have fallen from approximately $600,000 to $90,000.
The company also optimized the hardware setup used to run the model. For some tasks, Canva used GPUs based on the Lovelace architecture instead of newer and more expensive Blackwell-series accelerators. At the same time, the company remains a major customer of the AWS cloud platform.
Canva previously also announced that it would cut or relocate 22% of its employees as part of its cost-saving measures.
Read more about the technical implementation in Canva’s article.