← all repositories

vercel/modelfusion

ModelFusion is a TypeScript library that provides a vendor-neutral abstraction layer for integrating AI models (text, images, speech) into JavaScript/TypeScript applications.

1.3k stars TypeScript ML FrameworksAgents
modelfusion
Not currently ranked — collecting fresh signals.
star history

ModelFusion unifies the API for common AI operations such as text streaming, structured object generation, and tool usage across multiple providers including OpenAI, Anthropic, Ollama, and Hugging Face. It supports multi-modal models for text generation, image generation, vision, text-to-speech, speech-to-text, and embeddings. The library includes production features like observability hooks, logging, and automatic retries, and is now being integrated into the Vercel AI SDK.

Frequently asked

What is vercel/modelfusion?
ModelFusion is a TypeScript library that provides a vendor-neutral abstraction layer for integrating AI models (text, images, speech) into JavaScript/TypeScript applications.
Is modelfusion open source?
Yes — vercel/modelfusion is open source, released under the MIT license.
What language is modelfusion written in?
vercel/modelfusion is primarily written in TypeScript.
How popular is modelfusion?
vercel/modelfusion has 1.3k stars on GitHub.
Where can I find modelfusion?
vercel/modelfusion is on GitHub at https://github.com/vercel/modelfusion.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.