Model Comparison

CodestralMistral Medium 3
Let's see who can write code better - Codestral or Mistral Medium 3

Model Information

Codestral

Mistral AI

Description

Specialized code generation model from Mistral AI

Specifications

Context Window32K
Max Output4K
ReleasedMay 2024
API

Pricing (per 1M)

In / Out
$0.3/ $0.9

Key Features

Code generationCode completionMulti-language supportFast inference

Strengths

  • Optimized for coding tasks
  • Good performance
  • Cost-effective
  • Fast responses

Weaknesses

  • Limited to coding tasks
  • Smaller context than general models
  • Not suitable for general text tasks

Agent Support

No known agents

Mistral Medium 3

Mistral AI

Description

Balanced performance and cost model

Specifications

Context Window128K
Max Output4K
ReleasedApr 2024
API

Pricing (per 1M)

In / Out
$0.4/ $2

Key Features

Balanced performanceGood reasoningCode generationMulti-language support

Strengths

  • Good price-performance ratio
  • Better than small for complex tasks
  • Reliable API
  • Decent code generation

Weaknesses

  • More expensive than small
  • Less capable than large
  • Limited advanced features

Agent Support

No known agents