byesu vs Vercel AI Gateway
Short version: both Vercel AI Gateway and byesu are hosted multi-provider gateways that support OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages without requiring you to run your own proxy. Vercel AI Gateway (https://ai-gateway.vercel.sh) integrates tightly with the TypeScript/Python AI SDK, supports OIDC keyless auth on Vercel deployments, offers Bring Your Own Key (BYOK), and passes through provider list prices with 0% token markup (monetizing optional governance/observability add-ons instead). byesu (https://byesu.com) gives individual developers and small teams plain model IDs (no creator/ prefix), one prepaid balance with Alipay and USDT support, posted per-image pricing, and public unauthenticated live route status and weekly latency benchmarks.
Last verified: 2026-11-28. Every statement about Vercel AI Gateway below comes from Vercel's official documentation (vercel.com/docs/ai-gateway), read on that date and listed under Sources. byesu publishes this page.
At a Glance
| Dimension | byesu | Vercel AI Gateway |
|---|---|---|
| Base URL | https://byesu.com/v1 (OpenAI), https://byesu.com (Anthropic) | https://ai-gateway.vercel.sh |
| Model ID format | Plain ID (claude-opus-5-5, gpt-6.2-sol) | creator/model (anthropic/claude-opus-5-5, openai/gpt-6-astra) |
| Supported APIs | OpenAI Chat Completions, OpenAI Responses, Anthropic Messages, image APIs | AI SDK, OpenAI Chat Completions, OpenAI Responses, Anthropic Messages, embeddings, speech, video |
| Authentication | Bearer API key (sk-...) | AI Gateway API key, or keyless OIDC from Vercel deployments |
| Token pricing model | Pay-as-you-go per token from prepaid balance; live rate in console | Provider list price with 0% token markup from purchased credits (payment processing fees may apply) |
| Paid add-ons | None | Team-wide ZDR or provider allowlist ($0.10 / 1K req), BYOK without fallback ($0.20 / 1K req), regional hosting (5%), trace drains |
| Bring Your Own Key (BYOK) | Not offered | Yes (0% markup with Vercel fallback enabled; $0.20 / 1K requests when fallback is off) |
| Spend budgets | Per-token quota cap & console usage logs | Budgets per team, project, key, or member (returns HTTP 402 when exceeded; BYOK spend metered separately) |
| Payment methods | Alipay, USDT | Credit card / Vercel billing (Enterprise invoicing) |
| Public latency benchmarks | Live status & weekly p50/p95 TTFT CSVs | Model leaderboards & dashboard observability |
Where Vercel AI Gateway Shines
Per Vercel's documentation (vercel.com/docs/ai-gateway, checked 2026-11-28), Vercel AI Gateway is a strong fit even if your backend does not run on Vercel — and an effortless fit if it does:
- Zero markup on provider list prices. Vercel states that AI Gateway adds no markup and no platform fee on tokens: inference deducts at each provider's list price from purchased AI Gateway credits (outside Enterprise invoicing, payment processing fees may apply).
- First-class AI SDK & OIDC integration. In TypeScript (
aipackage) or Python, callinggenerateText({ model: 'openai/gpt-6-astra', ... })routes through the gateway out of the box, and workloads running on Vercel can authenticate via OIDC without managing long-lived secret keys. - BYOK with automatic Vercel-key fallback. Teams with their own OpenAI, Anthropic, or cloud credits can attach BYOK credentials; if a BYOK call fails (for example on a rate limit), Vercel can automatically retry using Vercel's own credentials—or you can disable fallback for
$0.20per 1,000 requests when strict single-account compliance is required. - Granular provider ordering & compliance controls. Supports provider order preferences, session affinity, team-wide provider allowlists, zero data retention (per-request free, or team-wide as a paid add-on), and trace drains.
Nuances to watch in Vercel's docs
Vercel's overview notes two subtle budget behaviors worth reading carefully before production rollout:
- BYOK spend does not count toward Vercel credit budgets, yet once a budget is exceeded, Vercel rejects all requests in that scope with HTTP
402—including BYOK requests. - Add-on charges apply to BYOK calls too, deducted from purchased AI Gateway credits, so BYOK still requires keeping a positive credit balance.
Where byesu Shines
- No
creator/slug rewriting. Existing scripts, IDE plugins, and CLI tools written for native OpenAI (gpt-6.2-sol) or Anthropic (claude-opus-5-5,claude-fable-5-2) model IDs work without prefixingopenai/oranthropic/. - Alipay & USDT payment support. Developers in regions where international corporate cards or Vercel billing fail can top up directly via Alipay or USDT with no monthly plan.
- Straightforward per-image pricing. Image generation models (
gpt-image-2,gpt-image-2.5, and Gemini Nano Banana models) are billed at flat per-image rates ($0.007–$0.009 across 1K/2K/4K) under amedia-group token; see Image Generation API Pricing. - Open weekly latency data. byesu.com/benchmarks publishes weekly p50/p95 TTFT and output tok/s from real gateway traffic with downloadable CSVs.
Using Either Gateway with Claude Code
Both gateways expose native Anthropic Messages endpoints:
# Vercel AI Gateway (uses creator/model slug)
export ANTHROPIC_BASE_URL="https://ai-gateway.vercel.sh"
export ANTHROPIC_AUTH_TOKEN="$AI_GATEWAY_API_KEY"
export ANTHROPIC_MODEL="anthropic/claude-opus-5-5"
# byesu (uses plain Anthropic model ID)
export ANTHROPIC_BASE_URL="https://byesu.com"
export ANTHROPIC_AUTH_TOKEN="sk-YOUR_TOKEN"
export ANTHROPIC_MODEL="claude-opus-5-5"Which One Should You Pick?
Choose Vercel AI Gateway if you:
- Build with the Vercel AI SDK or deploy on Vercel and want OIDC keyless authentication
- Want provider list prices with 0% token markup on standard US/international card or Enterprise billing
- Need BYOK with optional fallback to gateway-held credentials, or enterprise add-ons like trace drains and team allowlists
- Need speech, transcription, realtime, embeddings, or reranking alongside chat and images
Choose byesu if you:
- Prefer plain upstream model IDs (
claude-opus-5-5,gpt-6.2-sol) that drop into existing OpenAI/Anthropic scripts without slug mapping - Need Alipay or USDT payment rails with pay-as-you-go token billing and zero add-on fee tiers
- Primarily run coding agents (Claude Code, Codex CLI, OpenCode) and image generation APIs
FAQ
Does Vercel AI Gateway require hosting my app on Vercel?
No. Per Vercel's AI Gateway documentation (checked 2026-11-28), your application can run on any server, cloud, or local terminal by calling https://ai-gateway.vercel.sh with a Vercel AI Gateway API key. Apps deployed on Vercel can optionally authenticate via OpenID Connect (OIDC).
How does Vercel AI Gateway pricing differ from byesu?
Vercel AI Gateway states zero markup and no platform fee on tokens, billing provider list prices from purchased credits (payment processing fees may apply), while charging separately for add-ons such as team-wide zero data retention ($0.10 / 1,000 requests), regional hosting (5% of inference), or BYOK with fallback off ($0.20 / 1,000 requests). byesu bills pay-as-you-go by token usage from a prepaid balance (Alipay or USDT) with live model rates shown in the console.
How do model IDs differ between Vercel AI Gateway and byesu?
Vercel AI Gateway uses creator/model slugs such as openai/gpt-6-astra or anthropic/claude-opus-5-5. byesu uses plain upstream model IDs such as gpt-6.2-sol or claude-opus-5-5.
Do both gateways support Claude Code and Codex CLI?
Yes. Both Vercel AI Gateway and byesu document OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages endpoints.
Sources
- Vercel AI Gateway Overview (
https://vercel.com/docs/ai-gateway), checked 2026-11-28. - Vercel AI Gateway Pricing & BYOK documentation (
https://vercel.com/docs/ai-gateway/pricing), checked 2026-11-28.