CtrlK
BlogDocsLog inGet started
Tessl Logo

ai-gateway

Vercel AI Gateway expert guidance. Use when configuring model routing, provider failover, cost tracking, or managing multiple AI providers through a unified API.

75

1.54x
Quality

79%

Does it follow best practices?

Impact

85%

1.54x

Average score across 2 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./skills/ai-gateway/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

100%

25%

Build a Production AI Chat Module with Vercel AI Gateway

AI Gateway TypeScript module with failover, tags, and OIDC auth

Criteria
Without this skill
With this skill

Correct AI package

100%

100%

Model slug uses dots

33%

100%

Up-to-date default model

100%

100%

gateway() used only with providerOptions

90%

100%

Failover order configured

0%

100%

Failover models configured

100%

100%

Tags use key:value format

40%

100%

OIDC auth instructions

100%

100%

No provider API keys

100%

100%

provider/model string format

100%

100%

70%

34%

TechDesk AI Assistant Module

Caching, streaming, and embeddings routing for AI Gateway module

Criteria
Without this skill
With this skill

FAQ cacheControl set

0%

100%

No caching for conversations

100%

100%

streamText for summaries

100%

100%

Direct SDK for embeddings

25%

0%

getAvailableModels call

0%

0%

Correct image model slug

0%

100%

Image results via result.files

0%

0%

experimental_generateImage used

0%

100%

Cache key awareness

20%

100%

No outdated model slugs

100%

100%

Repository
vercel/vercel-plugin
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.