---
title: "codestral - Model Details & Comparison"
description: "codestral from Vercel AI Gateway: capabilities, context limits, pricing, and side-by-side comparisons with alternative models."
url: "https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/vercel_ai_gateway/codestral"
markdown: "https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/vercel_ai_gateway/codestral.md"
---

# codestral - Model Details & Comparison

> codestral from Vercel AI Gateway: capabilities, context limits, pricing, and side-by-side comparisons with alternative models.

## Important Links

- [View MCP Gateway](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/resources/mcp-gateway.md)
- [Features](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/#features)
- [Enterprise](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/enterprise)
- [Pricing](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/pricing.md)
- [Docs](https://docs.getbifrost.ai)
- [GitHub](https://github.com/maximhq/bifrost)
- [Book a Demo](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/book-a-demo)

## About codestral

codestral is a chat model from Vercel Ai Gateway, one of 95 chat models they offer. It is priced at $0.30 per 1M input tokens and $0.90 per 1M output tokens, ranking 1040 out of 2669 chat models by cost and cheaper than 59% of models in this category. codestral supports function calling. Its 256K-token context window is in the top 31% among chat models.

## Specifications

- **Vercel AI Gateway Provider.**
- **Chat Mode.**
- **256,000 Max Input Tokens.**
- **4,000 Max Output Tokens.**
- **4,000 Max Tokens.**
- **$0.30 / 1M tokens Input Price.**
- **$0.90 / 1M tokens Output Price.**

## Capabilities

codestral supports: Function Calling, Tool Choice.

## codestral Pricing Overview

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

codestral is one of 95 Vercel Ai Gateway chat models, with support for function calling. its 256K-token context window places it in the top 31% of chat models.

## Models to Compare

Alternatives to codestral with comparable capabilities.

| Model | Provider | Input $/1M | Output $/1M |
| --- | --- | --- | --- |
| amazon.nova-2-lite-v1:0 | AWS Bedrock | $0.30 | $2.50 |
| apac.amazon.nova-2-lite-v1:0 | AWS Bedrock | $0.33 | $2.75 |
| eu.amazon.nova-2-lite-v1:0 | AWS Bedrock | $0.33 | $2.75 |
| us.amazon.nova-2-lite-v1:0 | AWS Bedrock | $0.33 | $2.75 |
| anthropic.claude-3-haiku-20240307-v1:0 | AWS Bedrock | $0.25 | $1.25 |

- [Compare amazon.nova-2-lite-v1:0](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/bedrock/amazon.nova-2-lite-v1-0.md)
- [Compare apac.amazon.nova-2-lite-v1:0](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/bedrock/apac.amazon.nova-2-lite-v1-0.md)
- [Compare eu.amazon.nova-2-lite-v1:0](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/bedrock/eu.amazon.nova-2-lite-v1-0.md)
- [Compare us.amazon.nova-2-lite-v1:0](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/bedrock/us.amazon.nova-2-lite-v1-0.md)
- [Compare anthropic.claude-3-haiku-20240307-v1:0](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/bedrock/anthropic.claude-3-haiku-20240307-v1-0.md)

## Related Resources

- [Calculate codestral costs](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/vercel_ai_gateway/model/codestral.md)
- [All Vercel Ai Gateway pricing](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/vercel_ai_gateway.md)

## FAQ

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

No. codestral 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 may offer different capabilities or performance characteristics that justify the price difference.

### How does codestral pricing compare to the average chat model?

codestral input pricing is $0.30 per 1M tokens, which is 40% below the median of $0.50 for chat models. It ranks 1040 out of 2669 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.44.

### What makes codestral different from other Vercel Ai Gateway models?

Among Vercel Ai Gateway's 95 chat models, codestral ranks 33 by input cost.

### What are the best alternatives to codestral?

The most comparable chat models to codestral 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 do I calculate codestral costs?

codestral 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.

## Related Resources

- [Vercel AI Gateway models](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/provider/vercel_ai_gateway.md)
- [Model library](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library.md)
- [LLM cost calculator](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator.md)
- [Docs: Bifrost docs](https://docs.getbifrost.ai)
- [GitHub: maximhq/bifrost](https://github.com/maximhq/bifrost)
- [Pricing: Bifrost pricing](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/pricing.md)
- [Enterprise: Bifrost enterprise](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/enterprise)
- [Book a Demo: Bifrost demo](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/book-a-demo)
- [Resources: Bifrost resources](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/resources.md)

---

*This is a markdown version of [https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/vercel_ai_gateway/codestral](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/model-library/compare/vercel_ai_gateway/codestral) for AI/LLM consumption.*
