Vercel Functions、Pro および Enterprise チーム向けに最大 30 分までの実行が可能に
本文の状態
日本語全文を表示中
詳細モードで約1分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
Vercel Blog
Vercel は、Node.js と Python ランタイムを使用する Vercel Functions の実行制限を、Pro および Enterprise チーム向けに従来の約 800 秒から最大 30 分に延長した。これにより、長時間の LLM 推論やストリーミング応答などの処理が可能になる。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
Node.js および Python ランタイムを使用する Vercel Functions は、Pro チームおよび Enterprise チーム向けに、最大 30 分までの実行時間をサポートするようになりました。これは以前の 800 秒(約 13 分)の制限と比較して 2 倍以上の延長です。その他のランタイムへの対応も近日中に提供される予定です。
より長時間の実行が必要なタスクには、以下のようなものがあります:
- 大規模言語モデル (LLM) の推論やツール呼び出し
- 数分間にわたってストリーミングする AI 応答
- ドキュメントおよびメディアの処理
- OCR(光学文字認識)およびデータ抽出
- ウェブスクレイピングおよびブラウザ自動化
- 複雑なワークフローステップまたはキューハンドラー
Fluid Compute を利用することで、長時間実行される作業もコスト効率よく実現できます。CPU の課金はコードが実行されている間のみ発生し、AI モデルの呼び出しやデータベースクエリ、サードパーティ製 API への待機など、I/O を待っている間は課金が一時停止されます。
maxDuration パラメータを設定してオプトインしてください。Next.js App Router の場合、ルートファイル内で設定します:
他のランタイムおよびフレームワークでは、vercel.json ファイル内の特定の関数パスに対して maxDuration を設定します:
800 秒を超える実行時間はベータ版であり、Fluid Compute の利用が必要です。Vercel Functions の最大実行時間の設定方法については、ドキュメントをご覧ください。
さらに詳しく読む
原文を表示
Vercel Functions using the Node.js and Python runtimes now support execution durations up to 30 minutes for Pro and Enterprise teams, more than 2x the previous 800 second limit. Support for additional runtimes is coming soon.
Use longer-running Functions for work that needs more time to finish, including:
Long LLM reasoning and tool calls
AI responses that stream for several minutes
Document and media processing
OCR and extraction
Web scraping and browser automation
Complex Workflow steps or Queue handlers
Fluid Compute keeps long-running work cost-efficient. Active CPU billing only applies while your code is executing, and pauses while your Function is waiting on I/O such as AI model calls, database queries, and third-party APIs.
Set maxDuration to opt in. For Next.js App Router, configure it in the route file:
For other runtimes and frameworks, configure maxDuration for a specific function path in vercel.json:
Durations above 800 seconds are in beta and require Fluid Compute. Learn more about configuring max duration for Vercel Functions in the documentation.
Read more
関連記事
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み