vercel/ai · error · NoSuchModelError
Deepgram does not provide text embedding models
Error message
Deepgram does not provide text embedding models
What it means
Error "Deepgram does not provide text embedding models" thrown in vercel/ai.
Source
Thrown at packages/deepgram/src/deepgram-provider.ts:117
};
provider.specificationVersion = 'v4' as const;
provider.transcription = createTranscriptionModel;
provider.transcriptionModel = createTranscriptionModel;
provider.speech = createSpeechModel;
provider.speechModel = createSpeechModel;
// Required ProviderV4 methods that are not supported
provider.languageModel = (modelId: string) => {
throw new NoSuchModelError({
modelId,
modelType: 'languageModel',
message: 'Deepgram does not provide language models',
});
};
provider.embeddingModel = (modelId: string) => {
throw new NoSuchModelError({
modelId,
modelType: 'embeddingModel',
message: 'Deepgram does not provide text embedding models',
});
};
provider.textEmbeddingModel = provider.embeddingModel;
provider.imageModel = (modelId: string) => {
throw new NoSuchModelError({
modelId,
modelType: 'imageModel',
message: 'Deepgram does not provide image models',
});
};
return provider as DeepgramProvider;
}
View on GitHub (pinned to 69428b1f8b)
When it happens
Trigger: Thrown at packages/deepgram/src/deepgram-provider.ts:117 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of vercel/ai@69428b1f8b (2026-08-30).
Data as JSON: /api/errors/3ba3e351164080c3.
Report an issue: GitHub.