Mistral()

Mistral models direct from Mistral, with your own API key. Costs go direct to the vendor at their rates — no markup, nothing on your Axon balance.

export default defineProfile({
    providers: [Mistral()],
})

Serves mistralai/*.

Credentials

Set the environment variable, or pass key on the declaration:

MISTRAL_API_KEY=...
providers: [Mistral({ key: process.env.MY_OWN_VAR })]

You can also store this key in your Axon account vault through the cloud client:

await cloud.user.vault.connections.get("mistral").connect({ key: apiKey })

A fresh host signed into the same account can use the connection. Profiles without an explicit providers list discover active account connections automatically; an explicit list continues to restrict which providers that machine uses.

Explicit keys and environment variables take precedence over the account vault. A custom url requires an explicit credential. Provider SDKs ship with Axon.

Options

Mistral(options?: ProviderOptions)
OptionDefaultDescription
keyMISTRAL_API_KEYYour own credential, passed directly
urlthe provider's APIEndpoint override
slotsunboundedCeiling on concurrent calls a fanned-out role may spend here

Model ids

Bare Mistral slugs:

export default defineAgent({ model: "mistral:mistral-large-2512" })

Mistral also publishes -latest aliases (mistral-large-latest) which track the newest release. Those resolve at Mistral's end, so what you get can change without your config changing.