Mistral: Invalid API Key (401 Unauthorized)

Mistral API が API キーが欠落している、無効、期限切れ、または間違ったエンドポイント用であるとしてリクエストを拒否しました。注意すべき Mistral 固有の落とし穴:Mistral には 2 つの別々の API キー名前空間があります — 標準キーは api.mistral.ai で動作し、Codestral 固有のキーは codestral.mistral.ai に必要です。Codestral エンドポイントに標準の Mistral キーを使用する(またはその逆)と、キー自体は有効であっても 401 が返されます。