Mistral Large 4 now runs on Vercel's AI Gateway with a single API key
Vercel added Mistral Large 4 to the AI Gateway catalog: Mistral's multimodal model is now called through the same key and the same endpoints used for OpenAI, Anthropic, and other providers.
Vercel updated the AI Gateway changelog to announce that mistral/mistral-large-4 has entered the platform's catalog of available models. In practice, this means that anyone already using the AI Gateway to call OpenAI, Anthropic, or other providers now gets the Mistral model without having to create a separate account, generate a new API key, or learn a different SDK.
Mistral Large 4 is described by Vercel itself as an open-weight, natively multimodal model capable of combining reasoning with text and image understanding. In the changelog, the company summarizes the recommended use cases:
The open-weight, natively multimodal model combines reasoning with text and image understanding. It is useful for cyber defense, manufacturing, and finance workflows.
Vercel, AI Gateway changelog
What the AI Gateway solves (and why it matters here)
The AI Gateway is Vercel's abstraction layer between the developer's code and LLM providers. Instead of integrating each vendor's SDK separately, each with its own key, rate limit, and response format, the team points to a single endpoint and swaps the model name in a string.
This solves a real problem for anyone developing with multiple models: each provider has its own authentication policy, its own billing dashboard, and its own error behavior. Consolidating this into a single layer means less integration code, one place to monitor cost and usage, and the ability to configure routing, retries, and failover between models without rewriting the application.
The addition of Mistral Large 4 isn't just "one more model on the list": it's confirmation that Vercel is treating the Gateway as a single access point for open models too, not only for closed ones (OpenAI, Anthropic, Google). For those already running production on the Gateway, switching models becomes configuration, not migration.
How to call the model in practice
The changelog provides the most direct example, using Vercel's own AI SDK:
import { streamText } from 'ai';
const result = streamText({
model: 'mistral/mistral-large-4',
prompt: 'Fix the failing test and verify the change.',
});The key thing to notice here is the identifier mistral/mistral-large-4: this is the string that changes when migrating from one model to another within the Gateway, without touching the rest of the code. The same logic applies to those who don't use the AI SDK: Vercel also exposes the model via an API compatible with OpenAI's Chat Completions, via the Responses API, and via Anthropic's Messages API.
In practice, this means that an application already written against OpenAI's or Anthropic's response format can point its base URL to the AI Gateway and swap the model to mistral/mistral-large-4 without rewriting the response parser. For those maintaining multiple AI clients in the same codebase, this reduces the number of conditional branches needed just to handle payload format.
Integration with coding agents
The changelog also covers usage in coding agents connected to the Gateway, including Claude Code. The suggested path is to run:
npx vercel ai-gateway setupand select mistral/mistral-large-4 in the agent's model settings. This puts the Mistral model into the same agent workflow as those currently running on Claude or GPT, which matters for anyone comparing cost and reasoning quality across models for tasks like bug fixing, diff review, and test generation, without switching the agent tool itself.
What this replaces, and what it doesn't replace
In short: the AI Gateway replaces the need to manage a key and an account per provider, but it doesn't replace the decision of which model to use for which task, nor does it solve, on its own, the question of latency and cost per token.
Some things do change for those already on Vercel's stack:
- It's no longer necessary to create a separate account with Mistral to use Large 4 in production.
- Usage billing for the model now appears consolidated in the Gateway dashboard, alongside other providers.
routing,retries, andfailoverconfigured in the Gateway now also apply to this model, including the option to use your own Mistral key ("bring your own provider key") if the team prefers to keep billing directly with the vendor.
What doesn't change is the fact that the Gateway is an additional layer between the code and the model. This carries a latency cost that Vercel itself doesn't detail in the changelog, and it's up to developers to measure before assuming it's negligible, especially in applications sensitive to perceived response time, such as inline copilots or real-time chat.
When it makes sense, and when it doesn't
It's worth migrating to Mistral Large 4 via the Gateway when the application already runs on that layer and the team wants to compare models without rewriting the integration, or when the goal is to consolidate billing and observability from multiple providers into a single dashboard. It also makes sense for those already using coding agents connected to the Gateway who want to test a different model on a specific task, such as multimodal image and text review.
On the other hand, it doesn't pay off for those who need full control over where the model's weights run. The fact that Mistral Large 4 is open-weight opens up the theoretical possibility of self-hosting on your own infrastructure, which matters for teams with data residency requirements or dedicated GPU costs. Using the model through Vercel's Gateway means giving up that option in exchange for convenience: the model continues to be called as a hosted service, not as downloaded weights running locally.
It's also worth thinking twice if the application already has a direct, stable integration with the Mistral API and doesn't need routing between multiple providers: adding a Gateway layer in that case is extra complexity without a clear benefit, and the latency impact needs to be measured, not assumed, before any production migration.
Translated from the Brazilian Portuguese original · Read the original
Vercel CLI Lets AI Agents Search for and Buy Domains, But Only With Human Approval
Vercel's changelog details how the CLI began automating domain search, pricing, and purchase for AI agents, while keeping the final payment decision in the developer's hands.