Pricing per million tokens, context window, capabilities — pulled from each provider's public docs. All 2 are available via the same AIgateway OpenAI-compatible endpoint; flip the model string to switch.
The Mistral-7B-Instruct-v0.2 Large Language Model (LLM) is an instruct fine-tuned version of the Mistral-7B-v0.2.
Building upon Mistral Small 3 (2501), Mistral Small 3.1 (2503) adds state-of-the-art vision understanding and enhances long context capabilities up to 128k tokens without compromising text performance. With 24 billion parameters, this model achieves top-tier capabilities in both text and vision tasks.
from openai import OpenAI
client = OpenAI(
base_url="https://api.aigateway.sh/v1",
api_key="sk-aig-...",
)
# Mistral-7b-Instruct-V0.2-Lora
client.chat.completions.create(
model="mistral/mistral-7b-instruct-v0.2-lora",
messages=[{"role":"user","content":"hello"}],
)
# Mistral-Small-3.1-24b-Instruct
client.chat.completions.create(
model="mistralai/mistral-small-3.1-24b-instruct",
messages=[{"role":"user","content":"hello"}],
)