Mistral
Codestral
model
codestralBudgetStableStreamingToolsBatchLong contextUnited States
Context
128K
Input / 1M tokens
Rp 5.544
Output / 1M tokens
Rp 16.632
Cached input / 1M tokens
Rp 1.303
Cache write / 1M tokens
β (bills at input price)
About this model
Codestral
Codestral is a model by Mistral, available through the Anoman AI OpenAI-compatible API with a 128K-token context window. It costs Rp 5.544 per 1M input tokens and Rp 16.632 per 1M output tokens. Usable on: Free (from credit or balance), Pro, Enterprise.
Key facts
- Maker
- Mistral
- Context window
- 128K tokens
- Max output
- 128K tokens
- Lane
- Guarded: the provider has confirmed it does not train on your data
- Modality
- Text
- Input price
- Rp 5.544 per 1M tokens
- Output price
- Rp 16.632 per 1M tokens
- Processing region(s)
- us
- Usable on
- Free (from credit or balance), Pro, Enterprise
- Price comparison
- Priced below 154 of 190 pro-band guarded models on Anoman (blended price: 1 part input to 3 parts output).
Ways to call
Ways to call Codestral
Each model ID below is callable through the Anoman AI API. Price and processing region depend on the route.
| Model ID | Input / output per 1M tokens | Region(s) | Lane | Context |
|---|---|---|---|---|
| codestral | Rp 5.544 / Rp 16.632 | us | Guarded | 128K |
| codestral-latest | Rp 5.544 / Rp 16.632 | eu | Guarded | 128K |
Code example
Chat completion with Codestral
from openai import OpenAI
client = OpenAI(
base_url="https://api.anoman.io/v1",
api_key="anm-sk-..."
)
response = client.chat.completions.create(
model="codestral",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)Alternatives
Similar models in our catalog
Same maker first, then the closest price to Codestral in the Anoman catalog.