Codestral overview

Provider

The company that provides the model

Mistral

Context window

The number of tokens you can send in a prompt

32k tokens

Maximum output

The maximum number of tokens a model can generate in one request

4,096 tokens

Input token cost

The cost of prompt tokens sent to the model

$0.20 / 1M input tokens

Output token cost

The cost of output tokens generated by the model

$0.60 / 1M output tokens

Knowledge cut-off date

When the model's knowledge ends

Unknown

Release date

When the model was launched

May 29, 2024

Codestral functionality

Function (tool calling) support

Capability for the model to use external tools

No

Vision support

Ability to process and analyze visual inputs, like images

No

Multilingual

Support for multiple languages

Yes

Fine-tuning

Whether the model supports fine-tuning on custom datasets

Yes

Common questions about Codestral

How much does Codestral cost?

Codestral has a cost structure of $0.20 per million input tokens and $0.60 per million output tokens.

What is the API cost for Codestral?

The API cost for Codestral is $0.20 per million input tokens and $0.60 per million output tokens.

What is the price per token for Codestral?

For Codestral, the price is $0.0002 per 1,000 input tokens and $0.0006 per 1,000 output tokens.

What is the context window for Codestral?

Codestral supports a context window of up to 32,000 tokens.

What is the maximum output length for Codestral?

Codestral can generate up to 4,096 tokens in a single output.

When was Codestral released?

Codestral was released on May 29, 2024.

Does Codestral support vision capabilities?

No, Codestral is a text-only model and does not support vision capabilities.

Can Codestral perform tool calling or functions?

No, Codestral does not support functions or tool calling.

Is Codestral a multilingual model?

Yes, Codestral supports multiple languages, allowing it to handle input and output in several languages.

Does Codestral support fine-tuning?

Yes, Codestral supports fine-tuning capabilities.

Where can I find the official documentation for Codestral?

You can find the official documentation for Codestral on Mistral’s website: Codestral Documentation

Better LLM outputs are a click away

PromptHub is better way to test, manage, and deploy prompts for your AI products