Mistral Code Fim Latest is a capable model from Mistral with a 256K context window, supporting function calling. Priced at $0.0040/1K input, $0.013/1K output.
Limited routing data available for Mistral Code Fim Latest. Intelligence insights will appear as more requests are routed through ANT.
from openai import OpenAI
client = OpenAI(
base_url="https://api.antbase.ai/v1",
api_key="YOUR_ANT_API_KEY",
)
response = client.chat.completions.create(
model="mistral/mistral-code-fim-latest",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)