import OpenAI from "openai"
const openai = new OpenAI({
baseURL: "https://api.aiapilab.com/v1",
apiKey: $AIAPILAB_API_KEY
})
async function main() {
const completion = await openai.chat.completions.create({
model: "mistralai/mistral-large-2411",
messages: [
{
"role": "user",
"content": "Write a blog about cat."
}
]
})
console.log(completion.choices[0].message)
}
main()
Feature/Aspect | Qwen 32B Preview | Mistral Large 2407 | Mistral Large 2411 |
---|---|---|---|
Model Size | 32 billion parameters | 123 billion parameters | 123 billion parameters |
Code Generation | Excellent performance in coding tasks | Good at code generation tasks | Proficient in generating and understanding code in 80+ languages |
Prompt Processing | Standard prompt processing | Standard prompt processing | Enhanced prompt processing architecture |
Multilingual Support | Strong multilingual capabilities | Similar multilingual capabilities | Supports multiple languages including English, French, Spanish, German, Italian |
Reasoning Capabilities | Good reasoning but less advanced than 2411 | Top-tier reasoning capabilities | Advanced reasoning and mathematical skills |