AI

Cloudflare launches new AI tools to help customers deploy and run models

Comment

Cloudflare headquarters in San Francisco
Image Credits: Michael Short/Bloomberg / Getty Images

Looking to cash in on the AI craze, Cloudflare, the cloud services provider, is launching a new collection of products and apps aimed at helping customers build, deploy and run AI models at the network edge.

One of the new offerings, Workers AI, lets customers access physically nearby GPUs hosted by Cloudflare partners to run AI models on a pay-as-you-go basis. Another, Vectorize, provides a vector database to store vector embeddings — mathematical representations of data — generated by models from Workers AI. A third, AI Gateway, is designed to provide metrics to enable customers to better manage the costs of running AI apps.

According to Cloudflare CEO Matthew Prince, the launch of the new AI-focused product suite was motivated by a strong desire from Cloudflare customers for a simpler, easier-to-use AI management solution — one with a focus on cost savings.

“The offerings already on the market are still very complicated — they require stitching together lots of new vendors, and it gets expensive fast,” Prince told TechCrunch in an email interview. “There’s also very little insight currently available on how you’re spending money on AI; observability is a big challenge as AI spend skyrockets. We can help simplify all of these aspects for developers.”

To this end, Workers AI attempts to ensure AI inference always happens on GPUs close to users (from a geographic standpoint) to deliver a low-latency, AI-powered end-user experience. Leveraging ONNX, the Microsoft-backed intermediary machine learning toolkit used to convert between different AI frameworks, Workers AI allows AI models to run wherever processing makes the most sense in terms of bandwidth, latency, connectivity, processing and localization constraints.

Workers AI users can choose models from a catalog to get started, including large language models (LLMs) like Meta’s Llama 2, automatic speech recognition models, image classifiers and sentiment analysis models. With Workers AI, data stays in the server region where it originally resided. And any data used for inference — e.g. prompts fed to an LLM or image-generating model — aren’t used to train current or future AI models.

“Ideally, inference should happen near the user for a low-latency user experience. However, devices don’t always have the compute capacity or battery power required to execute large models such as LLMs,” Prince said. “Meanwhile, traditional centralized clouds are often geographically too far from the end user. These centralized clouds are also mostly based in the U.S., making it complicated for businesses around the world that prefer not to (or legally cannot) send data out of its home country. Cloudflare provides the best place to solve both these problems.”

Workers AI already has a major vendor partner: AI startup Hugging Face. Hugging Face will optimize generative AI models to run on Workers AI, Cloudflare says, while Cloudflare will become the first serverless GPU partner for deploying Hugging Face models.

Databricks is another. Databricks says that it’ll work to bring AI inference to Workers AI through MLflow, the open source platform for managing machine learning workflows, and Databricks’ marketplace for software. Cloudflare will join the MLflow project as an active contributor, and Databricks will roll out MLflow capabilities to developers actively building on the Workers AI platform.

Vectorize targets a different segment of customers: those needing to store vector embeddings for AI models in a database. Vector embeddings, the building blocks of machine learning algorithms used by applications ranging from search to AI assistants, are representations of training data that are more compact while preserving what’s meaningful about the data.

Models in Workers AI can be used to generate embeddings that can then be stored in Vectorize. Or, customers can keep embeddings generated by third-party models from vendors such as OpenAI and Cohere.

Now, vector databases are hardly new. Startups like Pinecone host them, as do public cloud incumbents like AWS, Azure and Google Cloud. But Prince asserts that Vectorize benefits from Cloudflare’s global network, allowing queries of the database to happen closer to users — leading to reduced latency and inference time.

“As a developer, getting started with AI today requires access to — and management of — infrastructure that’s inaccessible to most,” Prince said. “We can help make it a simpler experience from the get-go … We’re able to add this technology to our existing network, allowing us to leverage our existing infrastructure and pass on better performance, as well as better cost.”

The last component of the AI suite, AI Gateway, provides observability features to assist with tracking AI traffic. For example, AI Gateway keeps tabs on the number of model inferencing requests as well as the duration of those requests, the number of users using a model and the overall cost of running an AI app.

In addition, AI Gateway offers capabilities to reduce costs, including caching and rate limiting. With caching, customers can cache responses from LLMs to common questions, minimizing (but presumably not entirely eliminating) the need for an LLM to generate a new response. Rate limiting confers more control over how apps scale by mitigating malicious actors and heavy traffic.

Prince makes the claim that, with AI Gateway, Cloudflare is one of the few providers of its size that lets developers and companies only pay for the compute they use. That’s not completely true — third-party tools like GPTCache can replicate AI Gateway’s caching functionality on other providers, and providers including Vercel deliver rate limiting as a service — but he also argues that Cloudflare’s approach is more streamlined than the competition’s.

We’ll have to see if that’s the case.

“Currently, customers are paying for a lot of idle compute in the form of virtual machines and GPUs that go unused,” Prince said. “We see an opportunity to abstract away a lot of the toil and complexity that’s associated with machine learning operations today, and service developers’ machine learning workflows through a holistic solution.”

More TechCrunch

Looking Glass makes trippy-looking mixed-reality screens that make things look 3D without the need of special glasses. Today, it launches a pair of new displays, including a 16-inch mode that…

Looking Glass launches new 3D displays

Replacing Sutskever is Jakub Pachocki, OpenAI’s director of research.

Ilya Sutskever, OpenAI co-founder and longtime chief scientist, departs

Intuitive Machines made history when it became the first private company to land a spacecraft on the moon, so it makes sense to adapt that tech for Mars.

Intuitive Machines wants to help NASA return samples from Mars

As Google revamps itself for the AI era, offering AI overviews within its search results, the company is introducing a new way to filter for just text-based links. With the…

Google adds ‘Web’ search filter for showing old-school text links as AI rolls out

Blue Origin’s New Shepard rocket will take a crew to suborbital space for the first time in nearly two years later this month, the company announced on Tuesday.  The NS-25…

Blue Origin to resume crewed New Shepard launches on May 19

This will enable developers to use the on-device model to power their own AI features.

Google is building its Gemini Nano AI model into Chrome on the desktop

It ran 110 minutes, but Google managed to reference AI a whopping 121 times during Google I/O 2024 (by its own count). CEO Sundar Pichai referenced the figure to wrap…

Google mentioned ‘AI’ 120+ times during its I/O keynote

Firebase Genkit is an open source framework that enables developers to quickly build AI into new and existing applications.

Google launches Firebase Genkit, a new open source framework for building AI-powered apps

In the coming months, Google says it will open up the Gemini Nano model to more developers.

Patreon and Grammarly are already experimenting with Gemini Nano, says Google

As part of the update, Reddit also launched a dedicated AMA tab within the web post composer.

Reddit introduces new tools for ‘Ask Me Anything,’ its Q&A feature

Here are quick hits of the biggest news from the keynote as they are announced.

Google I/O 2024: Here’s everything Google just announced

LearnLM is already powering features across Google products, including in YouTube, Google’s Gemini apps, Google Search and Google Classroom.

LearnLM is Google’s new family of AI models for education

The official launch comes almost a year after YouTube began experimenting with AI-generated quizzes on its mobile app. 

Google is bringing AI-generated quizzes to academic videos on YouTube

Around 550 employees across autonomous vehicle company Motional have been laid off, according to information taken from WARN notice filings and sources at the company.  Earlier this week, TechCrunch reported…

Motional cut about 550 employees, around 40%, in recent restructuring, sources say

The keynote kicks off at 10 a.m. PT on Tuesday and will offer glimpses into the latest versions of Android, Wear OS and Android TV.

Google I/O 2024: Watch all of the AI, Android reveals

Google Play has a new discovery feature for apps, new ways to acquire users, updates to Play Points, and other enhancements to developer-facing tools.

Google Play preps a new full-screen app discovery feature and adds more developer tools

Soon, Android users will be able to drag and drop AI-generated images directly into their Gmail, Google Messages and other apps.

Gemini on Android becomes more capable and works with Gmail, Messages, YouTube and more

Veo can capture different visual and cinematic styles, including shots of landscapes and timelapses, and make edits and adjustments to already-generated footage.

Google Veo, a serious swing at AI-generated video, debuts at Google I/O 2024

In addition to the body of the emails themselves, the feature will also be able to analyze attachments, like PDFs.

Gemini comes to Gmail to summarize, draft emails, and more

The summaries are created based on Gemini’s analysis of insights from Google Maps’ community of more than 300 million contributors.

Google is bringing Gemini capabilities to Google Maps Platform

Google says that over 100,000 developers already tried the service.

Project IDX, Google’s next-gen IDE, is now in open beta

The system effectively listens for “conversation patterns commonly associated with scams” in-real time. 

Google will use Gemini to detect scams during calls

The standard Gemma models were only available in 2 billion and 7 billion parameter versions, making this quite a step up.

Google announces Gemma 2, a 27B-parameter version of its open model, launching in June

This is a great example of a company using generative AI to open its software to more users.

Google TalkBack will use Gemini to describe images for blind people

Google’s Circle to Search feature will now be able to solve more complex problems across psychics and math word problems. 

Circle to Search is now a better homework helper

People can now search using a video they upload combined with a text query to get an AI overview of the answers they need.

Google experiments with using video to search, thanks to Gemini AI

A search results page based on generative AI as its ranking mechanism will have wide-reaching consequences for online publishers.

Google will soon start using GenAI to organize some search results pages

Google has built a custom Gemini model for search to combine real-time information, Google’s ranking, long context and multimodal features.

Google is adding more AI to its search results

At its Google I/O developer conference, Google on Tuesday announced the next generation of its Tensor Processing Units (TPU) AI chips.

Google’s next-gen TPUs promise a 4.7x performance boost

Google is upgrading Gemini, its AI-powered chatbot, with features aimed at making the experience more ambient and contextually useful.

Google’s Gemini updates: How Project Astra is powering some of I/O’s big reveals