Skip to content
Dashboard

Vercel AI Gateway vs. LangSmith: two different jobs in the same AI stack

Copy link to headingKey takeaways

Copy link to headingWhat Vercel AI Gateway does

Copy link to headingWhat LangSmith does

Copy link to headingHow AI Gateway and LangSmith compare

Copy link to headingWhen to use AI Gateway, LangSmith, or both

Copy link to headingWhen AI Gateway alone covers the need

Copy link to headingWhen LangSmith addresses what a gateway cannot

Copy link to headingWhen production agents require both

import * as ai from 'ai';
import { wrapAISDK } from 'langsmith/experimental/vercel';
const { generateText } = wrapAISDK(ai);
const { text } = await generateText({
model: 'anthropic/claude-opus-4.8', // routes through AI Gateway
prompt: 'Summarize this document.',
});

Copy link to headingRun routing and evaluation as separate layers on Vercel

Copy link to headingFAQ about AI Gateway vs. LangSmith

Copy link to headingDoes Vercel AI Gateway replace the need for LangSmith?

Copy link to headingCan I use LangSmith without Vercel AI Gateway?

Copy link to headingDoes adding AI Gateway increase latency?

Copy link to headingHow does pricing differ between the two tools?

Copy link to headingDo AI Gateway observability features cover the same ground as LangSmith?

Ready to deploy?