Vercel News

Mistral Large 4 now available on AI Gateway

6.4内容质量

TL;DR · AI 摘要

Mistral Large 4 now available on AI Gateway - Vercel Mistral Large 4 is now available on AI Gateway. The open-weight, na...

核心要点

  • 主题聚焦:Mistral Large 4 now available on AI Gateway
  • 来源:Vercel News,建议结合原文判断细节。
  • AI 分析暂不可用,本条为保底评分与摘要。
#AI#编程#后端
打开原文

Mistral Large 4 现已通过 AI Gateway 提供 - Vercel

Mistral Large 4 现已通过 AI Gateway 提供。这款开源权重的原生多模态模型结合了推理能力与文本和图像理解能力,适用于网络安全、制造和金融工作流程。

您可以通过 AI Gateway 使用该模型,仅需一个 API 密钥,无需创建单独的 Mistral 账户。

通过 AI SDK、OpenAI 兼容的 Chat Completions API、Responses API 或 Anthropic Messages API 使用 Mistral Large 4(mistral/mistral-large-4)。您也可以在连接到 AI Gateway 的代码代理中选择该模型。

API

Claude Code

fx

Chat Completions

Messages API

code
1
import
{
streamText
}
from
'ai'
;
2
const
result
=
streamText
(
{
3
model
:
'mistral/mistral-large-4'
,
4
prompt
:
'Fix the failing test and verify the change.'
,
5
}
)
;

复制给代理

查看模型详情

↗

对于代码代理,请运行 npx vercel ai-gateway setup 并在代理的模型设置中选择 mistral/mistral-large-4。

在模型游乐场尝试 Mistral Large 4,或浏览模型目录。

AI Gateway 提供一个统一的 API 用于调用模型、跟踪使用情况和成本,并配置路由、重试和故障转移。您可以使用 AI Gateway API 密钥或使用自己的提供商密钥。