Seedance 2.0 | Special Offer ✦ 10% OFF NOW | Ends May 13 (UTC+0)
mistral
mistralai/codestral-2508

mistralai/codestral-2508

256,000 context · $0.30/M input tokens · $0.90/M output tokens

Mistral's cutting-edge language model for coding released end of July 2025. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test generation. Blog Post

가격

사용량 기반 과금

선결제 없이 사용한 만큼만 지불

입력$0.30 / M Tokens
출력$0.90 / M Tokens

모델 사용해 보기

mistralai/codestral-2508
온라인
mistral
안녕하세요! 도움이 되는 AI 어시스턴트입니다. 무엇을 도와드릴까요?

API 사용법

다음 코드 예시를 사용해 API와 연동하세요:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="mistralai/codestral-2508",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

모델 소개

Mistralai codestral-2508

mistralai codestral-2508


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 256000 context window for long document handling
  • Competitive pricing at $0.3/$0.10 per million tokens

Key Features

  • Context Window: 256000 tokens
  • Max Output: 4096 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderMistralai
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window256000 tokens
Max Output4096 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$0.3
Output$0.10

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: mistralai/codestral-2508


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="mistralai/codestral-2508",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "mistralai/codestral-2508",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: mistralai/codestral-2508
  • Provider: Mistralai

정보

제공자mistral
유형llm

지원 기능

입력
텍스트
출력
텍스트
컨텍스트256,000
최대 출력4,096
Vision-
Function Calling✓ 지원

API 접근 가이드

Base URLhttps://llm.wavespeed.ai/v1
API 엔드포인트chat/completions
모델 IDmistralai/codestral-2508

Codestral 2508 API

mistralai/codestral-2508

Mistral's cutting-edge language model for coding released end of July 2025. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test generation. [Blog Post](https://mistral.ai/news/codestral-25-08)

입력

$0.3 /M

출력

$0.9 /M

컨텍스트

256K

최대 출력

4K

도구 사용

지원

WaveSpeedAI에서 Codestral 2508 체험

통합 API를 통해 Codestral 2508 액세스 — OpenAI 호환, 콜드 스타트 없음, 투명한 가격.

Codestral 2508에 대해 자주 묻는 질문

Codestral 2508 API 비용은 얼마인가요?+

WaveSpeedAI 가격: 입력 토큰 100만 개당 $0.30, 출력 토큰 100만 개당 $0.90. 프롬프트 캐싱과 배치 처리는 별도로 청구되며 긴 반복 작업에서 실질 비용을 줄여 줍니다.

Codestral 2508의 컨텍스트 윈도우는 얼마나 되나요?+

Codestral 2508은 요청당 최대 256K 컨텍스트 토큰과 최대 4K 출력 토큰을 지원합니다.

Codestral 2508은 OpenAI 호환인가요?+

네. WaveSpeedAI는 OpenAI 호환 엔드포인트 https://llm.wavespeed.ai/v1을 통해 Codestral 2508을 제공합니다. 공식 OpenAI SDK의 base URL을 이 주소로 변경하고 WaveSpeedAI API 키를 사용하면 코드 변경 없이 사용할 수 있습니다.

Codestral 2508을 어떻게 시작하나요?+

WaveSpeedAI에 로그인하고 Access Keys에서 API 키를 만든 다음, 위에 표시된 모델 ID로 https://llm.wavespeed.ai/v1/chat/completions에 요청을 보내세요. 신규 계정은 Codestral 2508을 평가할 수 있는 무료 크레딧을 받습니다.

관련 LLM API