Zum Inhalt springen

Cloudflare AI Updates & Release Notes

Einträge
115
Quellen
1
Zuletzt aktualisiert

Folge Cloudflare AI, um die Release Notes in deinen Feed zu holen.

Cloudflare AI von Cloudflare

AI Gateway: Cache-Token-Kosten unterstützt

AI Gateway Custom Costs unterstützen jetzt Cache-Read- und Cache-Write-Token-Tarife, sodass benutzerdefinierte Kostenmetriken ausgehandelte Cache-Preise über Anbieter hinweg widerspiegeln können.

AI Gateway

AI Gateway custom costs now support cache-read and cache-write token rates. This lets custom cost metrics reflect negotiated cache pricing across providers.

Add per_cache_read_token or per_cache_write_token to the cf-aig-custom-cost header:

{
	"per_token_in": 0.000001,
	"per_token_out": 0.000002,
	"per_cache_read_token": 0.0000001,
	"per_cache_write_token": 0.0000005
}

Cache-token pricing activates when either cache rate is present. An omitted cache rate defaults to per_token_in. If both cache rates are omitted, AI Gateway preserves the existing input and output calculation.

Providers can include cache tokens within input tokens or report them separately. AI Gateway automatically accounts for these differences and prevents double-counting.

For more information, refer to Custom costs.

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Cursor Cloud Agents auf Cloudflare über selbst gehostete Maschinen ausführen

Mit Sandboxes und Cursor selbst gehosteten Maschinen können Sie Cursor Cloud Agents auf Cloudflare ausführen; jede Sitzung läuft in einer isolierten Umgebung auf Basis von Cloudflare Containers, während Cursor die Agent-Loop und Inferenz übernimmt und Cloudflare die Befehle, Dateibearbeitung und Repository-Operationen in Ihrer Infrastruktur ausführt.

Sandboxes

Cursor self-hosted machines ↗︎ let you run Cursor Cloud Agents on Cloudflare. Each assigned session runs in its own isolated environment backed by Cloudflare Containers.

Cursor Cloud Agents environment selector showing the cloudflare-pool self-hosted machine pool

Cursor hosts the agent loop, inference, and planning. Cloudflare runs commands, file edits, repository operations, and other tools inside infrastructure that you control. The open-source Cursor Cloudflare Workers template ↗︎ deploys the Worker, Durable Object namespace, container application, R2 bucket binding, and cron trigger used by the integration.

To get started, refer to Run Cursor Cloud Agents on Cloudflare via self-hosted machines.

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

AI Gateway konsolidiert Rechnungspositionen und vereinheitlicht Modellnamen

AI Gateway-Monatsrechnungen weisen nun einen Gesamtpreis pro Modell aus und verwenden einheitliche Modellnamen im Format provider/model.

AI Gateway

AI Gateway monthly usage invoices, issued at the beginning of each month for the previous month's usage, now show a single total cost for each model. These invoices no longer break out input and output token quantities and unit prices into separate line items. This change does not apply to invoices for AI Gateway credit purchases.

For example, an invoice that previously included these separate line items:

  • anthropic claude-haiku-4-5-20251001 Input Tokens: 40,000 tokens at $0.000001 ($0.04)
  • anthropic claude-haiku-4-5-20251001 Output Tokens: 24,000 tokens at $0.000005 ($0.12)

The updated invoice includes one line item: anthropic/claude-haiku-4.5: $0.16.

AI Gateway has also standardized model names across invoices and logs. Model variants that previously appeared with provider-specific version suffixes now use a consistent provider/model identifier.

For more information, refer to the Unified Billing documentation and AI Gateway logging documentation.

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Crawl-Endpoint beachtet die Content-Signals-Direktive use

Der /crawl-Endpoint beachtet nun die use-Direktive des Content-Signals-Standards und bietet den neuen Parameter contentUse (reference oder full), wobei Anfragen bei restriktiverer robots.txt mit einem 400-Fehler abgelehnt werden.

Browser Run

The /crawl endpoint now respects the use directive of the Content Signals ↗︎ standard, letting site owners express the maximum level at which their content may be used.

You can declare your intended level with the new contentUse parameter. Allowed values, from least to most permissive, are reference and full, and the default is full. If a target site's robots.txt sets a use level that is more restrictive than your declared contentUse, the crawl request is rejected with a 400 error.

curl -X POST 'https://api.cloudflare.com/client/v4/accounts/{account_id}/browser-rendering/crawl' \
  -H 'Authorization: Bearer <apiToken>' \
  -H 'Content-Type: application/json' \
  -d '{
    "url": "https://example.com",
    "contentUse": "reference",
    "formats": ["markdown"]
  }'

For more information, refer to Content Signals in the /crawl endpoint documentation.

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

AI Search unterstützt GLM-5.3 Flash

AI Search unterstützt jetzt das Modell @cf/zai-org/glm-5.3-flash für die Textgenerierung, das ein Kontextfenster von 1.048.576 Token hat und auf Workers AI läuft.

AI Search

AI Search now supports @cf/zai-org/glm-5.3-flash for text generation. The model has a 1,048,576-token context window and runs on Workers AI.

To configure the model for an AI Search instance, refer to Supported models.

{"@context":"https://schema.org","@type":"BlogPosting","@id":"https://developers.cloudflare.com/changelog/product-group/ai/#page","headline":"AI Changelog","url":"https://developers.cloudflare.com/changelog/product-group/ai/","inLanguage":"en","image":"https://developers.cloudflare.com/og-changelog.png","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availa…

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Workers OAuth Provider v1 mit Split-API und MCP-Support

Der Workers OAuth Provider ist jetzt in Version 1 verfügbar, mit getrennter API für Autorisierungs- und Ressourcenserver und vollständiger Unterstützung für die MCP-2026-07-28-Autorisierungsspezifikation.

Agents Workers

@cloudflare/workers-oauth-provider ↗︎ is now v1, with a new split API. One Worker acts as the authorization server: it signs users in and issues tokens. Your MCP server acts as the resource server, and can run in another Worker. It validates each token with the authorization server over a Service Binding, without crossing the public Internet.

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Grant only the required scopes when you connect, then authorize more on demand as your agent performs a task. When a tool call needs a scope you have not granted, the server returns an insufficient_scope challenge ↗︎ naming it, and your MCP client asks you to approve it. Scopes you already granted …

To start with the least access, choose Minimal on the consent page when you connect https://mcp.cloudflare.com/mcp. Refer to authorization in MCP.

Available now in all MCP clients that support step-up authorization.

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Agents SDK unterstützt Pi Harness mit der Klasse PiHarness (Beta)

Das Agents SDK bietet nun Unterstützung für Agenten mit dem Pi Harness über Pi 1.0, Pi Durable und die neue Klasse PiHarness, sodass die Arbeit langlaufender Agenten dauerhaft gespeichert wird; das Ganze ist Beta und die API wird sich wahrscheinlich ändern.

Built with Earendil ↗︎, this integration is our first step toward first-class support for third-party agent harnesses on Cloudflare.

Copy promptPrompt copied!

Deploy to Cloudflare

Beta

PiHarness is in beta. Pi Durable ↗︎ is a new, experimental package, and the PiHarness API will likely change as Pi Durable matures. …

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Clef und Clef-flash als Open Source unter Apache 2.0 und schnell im Hot Path

Beide Modelle laufen auf Workers AI und die Gewichte sind unter Apache 2.0 auf Hugging Face veröffentlicht; Clef ist laut Benchmarks median 2,5-mal und Clef-flash 13-mal schneller als Jev, zudem wird ein RL-Fine-Tuning-Service angekündigt.

We are also launching a reinforcement learning (RL) fine-tuning service to help you tune Clef for your own workloads. Sign up to work with us as a design partner ↗︎.

Built for the hot path

Clef is designed to be fast so decisions come back in milliseconds. Across our 43 benchmark runs, we achieved speeds where Clef is 2.5x faster than Jev at the median, and Clef-flash 13x faster.

Latency Clef Clef-flash Jev

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Clef-Latenzwerte und Benchmark-Ergebnisse (p95 238,6 ms)

Clef-flash erreicht ein p95 von 122,4 ms gegenüber 238,6 ms bei Clef und 536,0 ms bei Jev, und ein Clef-Modell erzielt in 7 von 10 Entscheidungsbenchmarks das beste Ergebnis.

Hosting on Workers AI adds to that speed. Requests run on GPUs across Cloudflare's network, running close to your users, so the network round trip stays short. You can put Clef directly in the request path of your agent, then hand off to an LLM on Workers AI to take action.

Leading the benchmarks

Across 10 decision benchmarks, a Clef model scores highest on 7, ahead of Jev and other open decision models. A few highlights:

Benchmark Clef Clef-flash Jev

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Clef ist per System One API kompatibel zu Jev und unterstützt drei Fragetypen

Clef (27B) und Clef-flash (9B) mit 64K Kontextfenster folgen der System One API, sodass sich eine Jev-Integration durch Wechsel von Endpunkt und Modell umstellen lässt, mit bis zu 64 Fragen pro Anfrage der Typen noul, choice und score.

On Typesafe's own workflow evals, Clef beats Jev in 3 of 4 areas: invoice processing, customer service, and security incidents. The full results are on the Hugging Face model card ↗︎.

Drop-in compatible with Jev

Model Size Best for Context window
@cf/cloudflare/clef 27B Highest-precision decisions 64K tokens
@cf/cloudflare/clef-flash 9B Latency-critical, hot-path decisions 64K tokens

Clef follows the System One API, so you can switch an existing Jev integration to Clef by changing the endpoint and model. Ask up to 64 questions per request, in three types:

  • noul: A yes/no question. Returns the probability that the answer is yes.
  • choice: Pick one option from a set you define. Returns the chosen option, a probability per option, and a confidence value.
  • score: Rate against an ordered rubric. Returns a probability-weighted score and a probability per level.
const response = await env.AI.run("@cf/cloudflare/clef", {
	model: "clef",
	state: "Checkout has been failing for every customer for the last hour.",
	questions: {
		urgent: {
			type: "noul",
			instructions: "Is this support request urgent?",
		},
		team: {
			type: "choice",
			instructions: "Which team should handle this request?",
			criteria: { …

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Sandbox SDK 1.0: Neue Funktionen

Mit Version 1.0 können Sandboxes mit flexiblen Images, Snapshots, gesteuertem Stoppen, Stream-Befehlen, Vorschauen, Anfragen mit Anmeldedaten und Agent-Integrationen betrieben werden.

  • Choose the image and instance size each time it starts a sandbox. One class can run sandboxes on different images, and a deploy does not restart sandboxes that are running.
  • Save the files of a sandbox as a snapshot, in public beta, and start the same sandbox or a new one from it.
  • Decide when each sandbox stops, for example when a task finishes, when its user goes idle, or after it saves a snapshot.
  • Run commands with streamed input and output, send them signals, and open terminals.
  • Serve previews from ports in the sandbox, with your own hostnames and authentication.
  • Handle outbound requests for each hostname in Worker code, so credentials and bindings stay in your Worker.
  • Expose only the methods that you want callers to use.
  • Run an agent in the same Durable Object, and give the model a tool that runs commands in the sandbox.

src/index.jsjs

import { Files } from "@cloudflare/sandbox";
import { DurableObject } from "cloudflare:workers";

export class MySandbox extends DurableObject {
	container;
	files;

	constructor(ctx, env) {
		super(ctx, env);
		if (!ctx.container) { …

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Migrationsleitfaden für Sandbox SDK 1.0

The Sandboxes documentation also covers Dynamic Workers, for untrusted code in JavaScript, Python, or WebAssembly.

{"@context":"https://schema.org","@type":"BlogPosting","@id":"https://developers.cloudflare.com/changelog/product-group/ai/#page","headline":"AI Changelog","url":"https://developers.cloudflare.com/changelog/product-group/ai/","inLanguage":"en","image":"https://developers.cloudflare.com/og-changelog.png","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Concurrent connections benötigen @cloudflare/puppeteer 1.1.0

Refer to Reuse sessions for a full example.

{"@context":"https://schema.org","@type":"BlogPosting","@id":"https://developers.cloudflare.com/changelog/product-group/ai/#page","headline":"AI Changelog","url":"https://developers.cloudflare.com/changelog/product-group/ai/","inLanguage":"en","image":"https://developers.cloudflare.com/og-changelog.png","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Voice-Agent-Metriken in @cloudflare/voice v0.4.0

Die Version 0.4.0 von @cloudflare/voice liefert pro Gesprächsrunde detaillierte Turn-Metriken mit Ergebnis und Zeitmessungen für jede Phase.

client.addEventListener("turnmetrics", (turn) => {
	console.log(turn.outcome, turn.turnTotalMs);
});

About the Voice package

The @cloudflare/voice package lets you build real-time voice agents with Cloudflare Agents. It streams microphone audio to an Agent over WebSocket, transcribes speech, runs your model through onTurn(), converts the response to speech, and streams audio back to the caller.

A turn moves through several stages:

User speaks -> speech-to-text -> model -> text-to-speech -> audio

Previously, the package's four aggregate metrics covered successful, non-empty speech turns. They did not show how failed, aborted, empty, or text turns ended.

Turn metrics

Each speech or text turn now produces a typed VoiceTurnMetrics summary with:

  • A turnId for correlating events from the same turn.
  • A terminal outcome such as completed, no_output, output_limit, content_filtered, model_error, tts_error, or aborted.
  • Timings for important stages, including speech-to-final-transcript, model-to-first-text, TTS-to-first-audio, and total turn duration.

These timings can overlap and are not additive. Timings for stages that a turn did not reach are omitted.

The latest summary is available through VoiceClient, useVoiceAgent(), and useVoiceInput(). Voice input includes only the speech and transcription timings it can measure. …

Originalquelle(öffnet in neuem Tab)Problem melden