AIゲートウェイ群
- 記事ID
- EA-166
要点
「AI Gateway群は、複数providerへの接続を集約し、routing/fallback、認証、rate limit、logging、cost、cache、policy等を実装するcontrol-plane群である。LiteLLM、OpenRouter、Vercel、Cloudflareの公式資料は機能境界が異なるため、共通機能と製品固有の実装・契約・版・地域・設定を分離して評価する。」
現在の判断
確立済み [S1-S4 サポート]: このカテゴリは、プロバイダー/モデルの選択、リクエストのルーティング、および認証、ロギング、コスト、制限、キャッシュ、フォールバック、またはポリシーのいずれかの組み合わせといった制御層のパターンを一貫して提示しているが、製品ごとに定義される境界は異なる。
どこまで当てはまるか
product and release/commit; self-hosted versus managed; plan/region; provider/model catalog; API transformation; credentials/BYOK/OIDC; routing/fallback/retry; budgets/rate limits; caching; logs/traces/audit export; retention/data residency; admin/RBAC; outage behavior; pricing/markup; contract/SLO.
詳しく理解する
対象範囲と前提
エンタープライズAIコア / プロバイダーのマッピング / ゲートウェイ / 運用管理・統制 / コスト / オブザーバビリティ / セキュリティ / 実装
検討ポイント
Across LiteLLM, OpenRouter, Vercel AI Gateway, and Cloudflare AI Gateway, which gateway capabilities are directly documented, and which cross-product conclusions remain unproven?
根拠資料の対応表
[S1] SOURCE_CLASS: author_maintained_repo | EXACT_TITLE: BerriAI/litellm - LiteLLM repository | AUTHOR_ORG: BerriAI / LiteLLM maintainers | CANONICAL_URL: https://github.com/BerriAI/litellm | PUBLICATION_UPDATE_ACCESS: accessed 2026-09-14 00:16 JST | VERSION_RELEASE_TAG: default branch; unpinned | SUPPORTING_LOCATOR: lines 542-549 for Proxy/SDK, centralized auth, multi-tenant spend, logging/guardrails/caching, Router retry/fallback, stable-tag note | EVIDENCE_LABEL: OSS_PRACTICE + 製品情報は要再確認 | RELATION: support for LiteLLM's documented gateway surface; limit for release/provider parity. [S2] SOURCE_CLASS: official_provider_docs | EXACT_TITLE: OpenRouter API Reference / Auto Router | AUTHOR_ORG: OpenRouter | CANONICAL_URL: https://openrouter.ai/docs/api_reference/overview and https://openrouter.ai/docs/guides/routing/routers/auto-router | PUBLICATION_UPDATE_ACCESS: accessed 2026-09-14 00:16 JST | VERSION_RELEASE_TAG: current docs; unpinned | SUPPORTING_LOCATOR: API normalization/tool transformation lines 25-36 and 75-81; model allow/exclude and cost-tier lines 450-487 | EVIDENCE_LABEL: 製品情報は要再確認 + 仕様確認済み | RELATION: support for managed API/routing claims; limit for cross-provider equivalence. [S3] SOURCE_CLASS: official_provider_docs | EXACT_TITLE: Vercel AI Gateway: Models, Routing, and Observability | AUTHOR_ORG: Vercel | CANONICAL_URL: https://vercel.com/docs/ai-gateway | PUBLICATION_UPDATE_ACCESS: current page accessed 2026-09-14 00:16 JST | VERSION_RELEASE_TAG: current docs; product/plan availability volatile | SUPPORTING_LOCATOR: lines 386-423 for managed gateway, provider/fallback routing, logs, latency/token/cost, budgets/access/data policies/BYOK; lines 426-433 for API key/OIDC and logging/budget controls | EVIDENCE_LABEL: 仕様確認済み + 製品情報は要再確認 | RELATION: support for Vercel-specific control surface; limit for plan/terms/provider behavior. [S4] SOURCE_CLASS: official_provider_docs | EXACT_TITLE: Cloudflare AI Gateway | AUTHOR_ORG: Cloudflare | CANONICAL_URL: https://developers.cloudflare.com/ai-gateway/ | PUBLICATION_UPDATE_ACCESS: last updated 2026-04-20; accessed 2026-09-14 00:16 JST | VERSION_RELEASE_TAG: current docs; page says available on all plans, subject to current product terms | SUPPORTING_LOCATOR: lines 138-147 for visibility/control; lines 157-182 for analytics, logging, caching, rate limiting, retry/fallback; lines 186-188 for provider examples | EVIDENCE_LABEL: 仕様確認済み + 製品情報は要再確認 | RELATION: support for Cloudflare-specific controls; limit for actual configuration and provider parity.
確認できていること
ESTABLISHED [S1 support]: LiteLLM documents self-hostable SDK/Proxy distinctions and multi-tenant spend/auth/logging/guardrail/cache/router features.
確立済み [S2サポート]: OpenRouterは、プロバイダーに依存するツールの変換、およびモデルの許可/除外/コストティアに基づくルーティングを備えた、管理された正規化APIについて文書化しています。
ESTABLISHED [S3 support]: Vercel documents managed credentials, provider/fallback routing, logs with provider attempts/latency/tokens/cost, budgets, access/data policies, BYOK, and OIDC for Vercel deployments; the same page says provider terms apply.
ESTABLISHED [S4 support]: Cloudflare documents analytics/logging, caching, rate limiting, request retry, model fallback, and multiple provider integrations; its page records a current plan statement, which is still a product/plan gate.
INFERENCE [S1-S4]: A gateway can centralize policy and observability, but a cross-product claim such as “gateway guarantees reliability, privacy, cost control, or provider equivalence” is not established by these feature lists. The gateway becomes an additional trust, transformation, outage, and audit boundary.
よくある失敗・反証
機能リストの重複は、機能的な同等性を意味しない。管理型か OSS かによるデプロイメント、リリース、プラン、リージョン、BYOK(独自の鍵の保持)、プロバイダー契約、ログ保持、キャッシュの範囲、ルーティングアルゴリズム、リトライの仕組み、変換されたツールスキーマ、および監査エクスポートはそれぞれ異なる。ベンダーの製品ページは、独立したレイテンシ、品質、プライバシー、または SLO(サービスレベル目標)を証明するものではない。フォールバックやリトライによって、リクエストが重複したり変更されたりする場合がある。ゲートウェイを跨いだベンチマークやライブコールは実施されていない。
実務での使い方
Evidence-only desk research. No gateway was configured, authenticated, called, or compared with a live provider.
ゲートウェイを跨ぐ適合性、レイテンシ、コスト、フォールバック時の重複、変換、プライバシー、または障害復旧に関する評価は実施されていない。
A gateway centralizes high-value secrets and high-sensitivity telemetry. Require route/provider attribution, request transformation record, policy decision, token/cost source, retry attempts, cache hit, redaction, retention, and downstream result. Treat gateway outage and misrouting as distinct failure modes from provider outage. Cost must include gateway, provider, retries, cache/storage, and operational review; not measured.
まだ確認できていないこと
中立的なゲートウェイのセマンティクス; 製品をまたいだ相互運用性; ルーティングの決定論; ツール/結果の変換; キャッシュのプライバシー; 予算の強制; データの所在; プロバイダー契約; マークアップ; 監査の完全性; 停止/フォールバック時の動作; 独立したベンチマーク/SLO。
外部根拠の再確認日が正式な本文・公開管理情報で確定していないため、現行性は未確認のまま保持する。確認日を推測して補わない。
根拠資料
この根拠欄には、主張に対応づけて登録された外部出典がありません。本文中の引用・参考資料がある場合は、適用条件や未確認事項とあわせて確認してください。
このページから探す
種類
主題
やりたいこと
読み終えたら、次の判断へ
この記事で確かめた条件を、関連する用語・道具・手段・運用知識に接続して確認できます。実装や更新の判断には、各記事の確認時点・根拠・未確認事項を引き継いでください。
最初の知見から実務判断まで、3つの読み方を見る