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
OpenRouter

Codestral 2508 API

OpenRouter
About

Process massive datasets with Codestral 2508, 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 2508 via the OpenRouter API with up to 256K output tokens.

Capabilities

Input Modalities

text

Output Modalities

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

Tokens

Input Limit
256K

Tokens

Max Output
256K

Tokens

Pricing

Standard (per 1M tokens)

Input
$0.30
Output
$0.90
Frequently Asked Questions

Codestral 2508 by OpenRouter costs $0.30 per 1M input tokens and $0.90 per 1M output tokens.

Model Details
ID
mistralai/codestral-2508
Provider
OpenRouter
Family
codestral
Release Date
Aug 1, 2025
Knowledge Cutoff
May 1, 2025
API Integration
NPM Package
@openrouter/ai-sdk-provider
Environment Variables
OPENROUTER_API_KEY
API Base URL
https://openrouter.ai/api/v1
Documentation