Mistral-compatible FIM completions (drop-in)
Use when: caller uses mistral.fim.complete / fim.stream (Codestral code completion with prompt + suffix) and wants to route through Verlon via a serverURL swap
Drop-in replacement for POST https://api.mistral.ai/v1/fim/completions — Codestral fill-in-the-middle. Send prompt (code before the cursor) and suffix (code after it); the model completes the middle. Point the Mistral SDK at serverURL: "https://api.verlon.ai/mistral". Streaming via stream: true returns SSE chunks. Errors use the Mistral envelope. min_tokens is accepted but not forwarded.
Authorizations
Verlon API key (newly minted keys are prefixed sk-vrln-; legacy verlon_* and layer_* keys from prior prefix migrations continue to validate). Generated from the dashboard under Settings → API Keys, or via verlon key create in the CLI.
Response
Mistral FIM completion (chat-completion-shaped). SSE chunks when stream: true.

