O narzędziu
Vercel AI Gateway — unified API do hundreds of models przez 1 endpoint. Każdy team Vercel dostaje $5 AI Gateway credits/mies. (refresh co 30 dni, indefinitely). Pay-as-you-go z zero markup — tokens cost the same as direct provider. BYOK (Bring Your Own Key) — zero markup też z custom keys. Budgets, monitoring, load-balancing, fallbacks. UWAGA: $5 credit tylko gateway — compute/bandwidth osobno.
Zastosowanie
- •AI applications na Vercel z native gateway.
- •Unified access do wielu modeli przez 1 endpoint.
- •Cost optimization (zero markup).
- •Load balancing i fallbacks między modelami.
- •Korzystanie z własnych API keys (BYOK) bez dodatkowych kosztów.
Funkcje główne
- •Unified API do hundreds of LLM models przez 1 endpoint.
- •Set budgets, monitor usage, load-balance requests, manage fallbacks.
- •Zero markup pricing — tokens cost the same as direct provider.
- •BYOK (Bring Your Own Key) — własne API keys bez markup/fee.
Funkcje dodatkowe
▶Unified API (hundreds of models)
Jeden endpoint dla setek modeli od wielu providerow — Claude Opus 4.7, GPT-5.5, Grok 4.3, Gemini i innych. Przelaczanie miedzy modelami wymaga minimalnych zmian w kodzie.
▶Zero Markup
Tokeny kosztuja dokladnie tyle, ile bezposrednio u providera — Vercel nie dodaje marzy. Zarabia na innych Vercel services, dajac AI Gateway jako wartosc dodana ekosystemu.
▶BYOK (Bring Your Own Key)
Mozliwosc uzycia wlasnych API keys z OpenAI, Anthropic, Google — z zero markup. Wykorzystujesz enterprise discounts u providerow, a Vercel dodaje routing, monitoring i fallbacks.
▶Spend Monitoring
Monitor wydatkow across roznych providerow w jednym widoku. Pozwala identyfikowac najdrozszych konsumentow i optymalizowac wybor modeli pod cost-effectiveness.
▶Load Balancing & Auto-retry Fallbacks
Automatyczne ponawianie requestow do innych providerow, gdy primary fails. High reliability bez koniecznosci implementowania logiki retry w kazdej aplikacji.
▶Embeddings Support
Generowanie vector embeddings dla search, retrieval, RAG i innych zadan. Unified interface do embedding models z roznych providerow (OpenAI, Cohere, Google).
▶AI SDK v5/v6 Integration
Natywna integracja z Vercel AI SDK v5 i v6 — najpopularniejszy framework do budowy AI aplikacji w TypeScript/JavaScript. Streaming, tool use, structured outputs out-of-the-box.
▶OpenAI + Anthropic API Compatible
Kompatybilnosc z OpenAI Chat Completions, OpenAI Responses i Anthropic Messages API. Mozesz uzyc dowolnego klienta SDK pisanego pod tych providerow, switch'ujac na Vercel Gateway przez zmiane endpoint'a.
▶Web Search Capability
Wbudowana web search jako capability dostepna przez API — modele moga przeszukiwac internet w trakcie generowania odpowiedzi, podobnie jak natywne web search w ChatGPT i Claude.
✓ Zalety
Cennik
- •Free: $5 AI Gateway credits/mies.
- •(każdy team account po pierwszym requeście, refresh co 30 dni, indefinitely).
- •Po przejściu na paid tier: pay-as-you-go (zero markup), credit purchase.
- •BYOK: zero markup też z custom API keys.
- •UWAGA: $5 credit tylko gateway usage; compute/bandwidth osobno na koncie Vercel.
API i integracje
- •OpenAI-compatible API.
- •Native integration z Vercel deployments.
- •Vercel AI SDK.
- •Streaming support.
