AI Model APIs
AI Model APIsProviders
AI Model APIs

The complete platform for comparing AI models. Find pricing, capabilities, and the perfect model for your use case.

contact@aimodelapis.com

Resources

  • AI Models APIs
  • Providers

About

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 AI Model APIs. All rights reserved.

Back to Models
Mistral

Codestral (latest) API

Mistral
About

Process massive datasets with Codestral (latest), featuring an expansive 256K context window for long-document analysis. This model delivers cost-effective pricing at $0.30/1M input and $0.90/1M output tokens, native tool calling support, open weights architecture. Access Codestral (latest) via the Mistral API with up to 4K output tokens.

Capabilities

Input Modalities

text

Output Modalities

text
Reasoning
No
Structured Output
No
Tool Use
Yes
WeightsOpen
Temperature
Adjustable
Attachment
Not Supported
Limits
Context Window
256K

Tokens

Input Limit
256K

Tokens

Max Output
4K

Tokens

Pricing

Standard (per 1M tokens)

Input
$0.30
Output
$0.90
Frequently Asked Questions

Codestral (latest) by Mistral costs $0.30 per 1M input tokens and $0.90 per 1M output tokens.

Model Details
ID
codestral-latest
Provider
Mistral
Family
codestral
Release Date
May 29, 2024
Knowledge Cutoff
Oct 1, 2024
API Integration
NPM Package
@ai-sdk/mistral
Environment Variables
MISTRAL_API_KEY
Documentation