Try Bifrost Enterprise free for 14 days.
Request access

codestral-2508 Cost Calculator - Mistral

Calculate the cost of using codestral-2508 from Mistral for your AI applications

Pricing data last updated:

codestral-2508 Cost Calculator

Mode: Chat

Max: 256,000 tokens

Max: 256,000 tokens

Cost Breakdown

Input Cost$0.00030000
Output Cost$0.00090000
Total Cost$0.001200

Pricing Details

Input: $0.0000003000 per token
Output: $0.0000009000 per token
[ WE'RE OPEN SOURCE ]

Scale with the Fastest LLM Gateway

Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.

Model Specifications

Capabilities

Function Calling

Limits

Max Input Tokens256,000
Max Output Tokens256,000
Max Tokens256,000

About codestral-2508

codestral-2508 is a chat model from Mistral, one of 48 chat models they offer. It is priced at $0.30 per 1M input tokens and $0.90 per 1M output tokens, ranking 853 out of 2172 chat models by cost and cheaper than 59% of models in this category. codestral-2508 supports function calling, structured output. Its 256K-token context window is in the top 28% among chat models.

Pricing Information

Input Cost$0.30 per 1M tokens
Output Cost$0.90 per 1M tokens

Note: Use the interactive calculator above to estimate costs for your specific usage patterns.

Technical Specifications

Maximum Input Tokens256,000
Maximum Output Tokens256,000
Maximum Total Tokens256,000

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 256,000 input tokens. The maximum output length is 256,000 tokens.

Model Capabilities

Function Calling - Execute custom functions and tools
Response Schema - Structured output formatting

How codestral-2508 Pricing Compares

At $0.30 per 1M input tokens and $0.90 per 1M output tokens, codestral-2508 ranks 853 out of 2172 chat models by input cost. It is more affordable compared to the median of $0.55 for chat models, and is cheaper than 59% of models in this category.

codestral-2508 is one of 48 Mistral chat models, with support for function calling, structured output. its 256K-token context window places it in the top 28% of chat models.

ModelProviderInput / 1M tokensOutput / 1M tokensvs codestral-2508
amazon.nova-2-lite-v1:0AWS Bedrock$0.30$2.500%
apac.amazon.nova-2-lite-v1:0AWS Bedrock$0.33$2.75+10%
eu.amazon.nova-2-lite-v1:0AWS Bedrock$0.33$2.75+10%

Alternatives to codestral-2508

Similar chat models from other providers

AWS Bedrock
amazon.nova-2-lite-v1:0
$0.30/1M input
0% vs codestral-2508
AWS Bedrock
apac.amazon.nova-2-lite-v1:0
$0.33/1M input
+10% vs codestral-2508
AWS Bedrock
eu.amazon.nova-2-lite-v1:0
$0.33/1M input
+10% vs codestral-2508
AWS Bedrock
us.amazon.nova-2-lite-v1:0
$0.33/1M input
+10% vs codestral-2508
AWS Bedrock
anthropic.claude-3-haiku-20240307-v1:0
$0.25/1M input
-17% vs codestral-2508

Frequently Asked Questions

Is codestral-2508 cheaper than amazon.nova-2-lite-v1:0?

No. codestral-2508 costs $0.30 per 1M input tokens while amazon.nova-2-lite-v1:0 costs $0.30 per 1M input tokens, making amazon.nova-2-lite-v1:0 0% more affordable for input. However, codestral-2508 may offer different capabilities or performance characteristics that justify the price difference.

How does codestral-2508 pricing compare to the average chat model?

codestral-2508 input pricing is $0.30 per 1M tokens, which is 45% below the median of $0.55 for chat models. It ranks 853 out of 2172 chat models by input cost, making it cheaper than 59% of models in this category. For output, it costs $0.90 per 1M tokens compared to the median of $1.48.

What makes codestral-2508 different from other Mistral models?

Among Mistral's 48 chat models, codestral-2508 ranks 18 by input cost.

What are the best alternatives to codestral-2508?

The most comparable chat models to codestral-2508 are: amazon.nova-2-lite-v1:0 from AWS Bedrock ($0.30/1M input tokens); apac.amazon.nova-2-lite-v1:0 from AWS Bedrock ($0.33/1M input tokens); eu.amazon.nova-2-lite-v1:0 from AWS Bedrock ($0.33/1M input tokens); us.amazon.nova-2-lite-v1:0 from AWS Bedrock ($0.33/1M input tokens). These alternatives were selected based on similar capabilities, pricing, and provider diversity. You can compare any of these models in detail using the Bifrost Model Library.

How large is codestral-2508's context window?

codestral-2508 supports up to 256,000 input tokens, placing it in the top 28% of chat models by context window size (rank 532 of 2097). This makes it suitable for processing long documents, extensive code repositories, or maintaining detailed conversation histories.

How do I calculate codestral-2508 costs?

codestral-2508 is priced based on input and output tokens. Use the interactive calculator at the top of this page to estimate costs for your specific workload. Enter your expected input and output tokens volume and the calculator will show the total cost breakdown. For reference, processing 1M input tokens costs $0.30 and generating 1M output tokens costs $0.90.