The AI Toolkit for TypeScript
One endpoint, all your models
An agent that knows your stack
Helping teams ship 6× faster
Fast, scalable, and reliable
Servers, in serverless form
Trace every step
Scalable bot protection
Invisible CAPTCHA
DDoS Protection, Firewall
Granular, custom protection
Trusted by the best teams
The latest posts and changes
See what shipped
Read the latest news
Join us at an event
The native Next.js platform
The progressive web framework
The web's efficient UI framework
Speed with Enterprise scale
Learn the ins and outs of Vercel
Extend and automate workflows
Jumpstart app development
Find help quickly
Get help from solution partners
Deploy at the speed of AI
Power storefronts that convert
Launch campaigns fast
Scale apps with one codebase
Ship features, not infrastructure
Automate away repetition
Deploy for every idea
AI Gateway
Code embedding model that can embed code databases and repositories to power coding assistants.
1import { embed } from 'ai';2 3const result = await embed({4 model: 'mistral/codestral-embed',5 value: 'Sunny day at the beach',6})
Mistral
Input Tokens $0.15/M
Mistral Codestral 25.01
Mistral Codestral 25.01 is a state-of-the-art coding model optimized for low-latency, high-frequency use cases. Proficient in over 80 programming languages, it excels at tasks like fill-in-the-middle (FIM), code correction, and test generation.
Devstral Small
Devstral is an agentic LLM for software engineering tasks built under a collaboration between Mistral AI and All Hands AI 🙌. Devstral excels at using tools to explore codebases, editing multiple files and power software engineering agents.
Magistral Medium 2509
Complex thinking, backed by deep understanding, with transparent reasoning you can follow and verify. The model excels in maintaining high-fidelity reasoning across numerous languages, even when switching between languages mid-task.
Magistral Medium 2506
Magistral Small 2509
Magistral Small 2506
Ministral 3B
A compact, efficient model for on-device tasks like smart assistants and local analytics, offering low-latency performance.
Ministral 8B
A more powerful model with faster, memory-efficient inference, ideal for complex workflows and demanding edge applications.
Mistral Embed
General-purpose text embedding model for semantic search, similarity, clustering, and RAG workflows.
Mistral Large
Mistral Large is ideal for complex tasks that require large reasoning capabilities or are highly specialized - like Synthetic Text Generation, Code Generation, RAG, or Agents.
Mistral Medium 3.1
Mistral Medium 3 delivers frontier performance while being an order of magnitude less expensive. For instance, the model performs at or above 90% of Claude Sonnet 3.7 on benchmarks across the board at a significantly lower cost.
Mistral Small
Mistral Small is the ideal choice for simple tasks that one can do in bulk - like Classification, Customer Support, or Text Generation. It offers excellent performance at an affordable price point.
Mixtral MoE 8x22B Instruct
8x22b Instruct model. 8x22b is mixture-of-experts open source model by Mistral served by Fireworks.
Pixtral 12B 2409
A 12B model with image understanding capabilities in addition to text.
Pixtral Large
Pixtral Large is the second model in our multimodal family and demonstrates frontier-level image understanding. Particularly, the model is able to understand documents, charts and natural images, while maintaining the leading text-only understanding of Mistral Large 2.