Codestral

KóðiEkki tiltækt
eftir Mistral AIAuðkenni módels: codestral

Mistral's code-specialized model. Optimized for code generation, completion, and understanding across 80+ languages.

Staða
Ekki tiltækt
Samhengi
256.000 tákn
Hámarksúttak
8.192 tákn
Inntak → úttak
Texti → Texti
Þróunaraðili
Mistral AI
Uppfært
23. september 2026

Codestral er ekki tiltækt eins og er

Þú getur enn lesið upplýsingarnar á þessari síðu. Veldu einn af tiltækum valkostum hér að neðan til að keyra sambærilegt módel strax.

Fara í valkosti
01

Sambærileg módel

Öll í þessum flokki
02

Leiksvæði

Prófaðu Codestral

Spjall

Ekki fáanlegt sem stendur

Ekki tiltækt sem stendur.

Leiksvæðið er óvirkt. Þú getur fundið sambærileg módel í sama flokki: Skoðaðu valkosti

Prófaðu Codestral

Sendu skilaboð. Svarið kemur í heilu sinni þegar módel er tilbúið (engin streymi).

Kerfisboð
Hámarkssvarlengd (tákn)

Þessi keyrsla

Engin verð – ekki tiltækt eins og er.

Nýr hér?

10 ókeypis inneign (0,10 USD) þegar þú skráir þig með Google

Hægt að nota 24 klst. eftir skráningu, allt að 5 keyrslur á dag og að hámarki 2 inneign á keyrslu. Aðrar innskráningaraðferðir byrja án inneignar.

03

Um Codestral

StuttlegaFrá og með 23. september 2026

Codestral er módel frá Mistral AI í flokknum Kóði. Codestral er ekki tiltækt á Railwail eins og er. Samhengisgluggi geymir 256.000 tákn og ein svör getur verið allt að 8.192 tákn löng.

Bakgrunnur

Um Mistral AI

Stofnað 2023 · Paris, France

Mistral AI was founded in April 2023 in Paris by Arthur Mensch (CEO, former DeepMind), Guillaume Lample and Timothée Lacroix (both former Meta FAIR co-authors of the LLaMA papers). Mistral has built a frontier-scale European LLM lab with a portfolio mixing fully open-weight releases (Mistral 7B, Mixtral 8x7B, Mixtral 8x22B, Mistral Small) and commercial closed-API models (Mistral Large, Mistral Embed, Mistral Saba). The company has raised over €1B from investors including Andreessen Horowitz, General Catalyst, Lightspeed, Salesforce, Nvidia and Microsoft, with a 2024 valuation around €6B. Codestral was released May 2024 as Mistral's first dedicated code model — a 22B dense transformer trained on 80+ programming languages with native fill-in-the-middle support for IDE integrations. A successor, Codestral 25.01, followed in January 2025.

Heimsækja Mistral AI

Arkitektúr

Decoder-only Transformer for code (Mistral architecture)

Codestral-22B is a 22B dense decoder-only transformer using Mistral's standard architecture: 56 layers, 6,144 hidden size, 48-head grouped-query attention with 8 KV heads, sliding-window attention (4,096-token window), RoPE positional embeddings with theta=1M (for long-context support), SwiGLU activations and RMSNorm. The tokeniser is the Mistral BPE with 32,768 entries plus added fill-in-the-middle special tokens (`[PREFIX]`, `[SUFFIX]`, `[MIDDLE]`). Training combined a standard left-to-right autoregressive objective with FIM training for IDE-grade code completion. The training corpus covers 80+ programming languages drawn from public code repositories, plus natural-language code documentation pairs and instruction data for the chat / explain capability. Released May 2024 under the Mistral AI Non-Production License (MNPL), which permits open-weights research and evaluation but not commercial production use without a separate license or hosted API access.

Breytur
22B (dense)
Samhengi
32.000 tákn

Geta

  • 22B dense transformer purpose-built for code
  • Native fill-in-the-middle (FIM) for IDE autocomplete
  • Trained on 80+ programming languages
  • 32K context window
  • Competitive with CodeLlama-34B and DeepSeek-Coder-33B at smaller size
  • Strong on mainstream: Python, JS/TS, Java, C/C++, Go, Rust, Bash, SQL, PHP, Swift
  • Open weights available under MNPL (research only)
  • Best for: IDE code completion, code generation, explanation and refactoring across mainstream languages.

Þjálfun og leyfi

Trained on trillions of tokens (exact figure not disclosed) of public code repositories across 80+ programming languages, natural-language code-documentation pairs, and instruction-style code data for chat and explain capabilities. Knowledge cutoff approximately early 2024. Training combined autoregressive and fill-in-the-middle objectives.

Leyfi: Mistral AI Non-Production License (MNPL). Open weights for research, evaluation and personal use; commercial production requires Mistral commercial license or hosted API access (la Plateforme, AWS Bedrock, Azure AI Studio).

Öryggispróf: Mistral publishes a model card for Codestral. Safety focus is on code-specific risks (malware, vulnerability generation) rather than general consumer-chat alignment.

Þekkt takmörk

  • MNPL blocks commercial production use of open weights
  • Smaller than successor Codestral 25.01 and below DeepSeek-Coder V2 on top benchmarks
  • 32K context shorter than newer code models (DeepSeek-Coder V2: 128K)
  • Weaker on rare languages and DSLs
  • Not as strong on agentic / repo-level reasoning as longer-context code models
  • No multimodal input (no image-of-code understanding)
04

Verðlagning

Ekki tiltækt sem stendur. Engin verð fyrir þetta módel eins og er, svo það er ekki hægt að keyra það.

05

API

Kallaðu Codestral með Railwail API-lyklinum þínum. Notaðu þessa módel-auðkenningu í beiðninni:

Ekki tiltækt sem stendur

Módel hefur engan staðfestan verð eða er óvirkt; API-köll eru hafnað.

06

Forskriftir

Módel-auðkenni
codestral
Þróunaraðili
Mistral AI
Flokkur
Kóði
Inntak
Texti
Úttak
Texti
Samhengisglugginn
256.000 tákn
Hámark úttak
8.192 tákn
Stærð módels
22B (dense)
Leyfi
Mistral AI Non-Production License (MNPL). Open weights for research, evaluation and personal use; commercial production requires Mistral commercial license or hosted API access (la Plateforme, AWS Bedrock, Azure AI Studio).
Vörulistafærsla uppfærð
23. september 2026

Merki

  • coding
  • fast
  • multilanguage
07

Dæmi um leiðsögn

Dæmi úr Railwail-vörulistanum. Þau voru ekki mynduð lifandi á þessari síðu.
  • TypeScript API Handler

    Write a type-safe Express middleware for JWT authentication in TypeScript
    Sýna dæmi um svar

    import { Request, Response, NextFunction } from 'express'; import jwt from 'jsonwebtoken'; interface JwtPayload { userId: string; email: string; role: 'admin' | 'user'; } declare global { namespace Express { interface Request { user?: JwtPayload; } } } export const authenticate = ( req: Request, res: Response, next: NextFunction ): void => { const token = req.headers.authorization?.split(' ')[1]; if (!token) { res.status(401).json({ error: 'No token provided' }); return; } try { const decoded = jwt.verify( token, process.env.JWT_SECRET! ) as JwtPayload; req.user = decoded; next(); } catch (err) { res.status(403).json({ error: 'Invalid or expired token' }); } };

  • Rust Error Handling

    Write a Rust function that reads a JSON config file and returns a parsed struct with proper error handling
    Sýna dæmi um svar

    use serde::Deserialize; use std::fs; use std::path::Path; use thiserror::Error; #[derive(Debug, Deserialize)] pub struct AppConfig { pub host: String, pub port: u16, pub database_url: String, pub max_connections: Option<u32>, } #[derive(Error, Debug)] pub enum ConfigError { #[error("Failed to read config file: {0}")] IoError(#[from] std::io::Error), #[error("Failed to parse config JSON: {0}")] ParseError(#[from] serde_json::Error), #[error("Config file not found: {0}")] NotFound(String), } pub fn load_config(path: &str) -> Result<AppConfig, ConfigError> { if !Path::new(path).exists() { return Err(ConfigError::NotFound(path.to_string())); } let contents = fs::read_to_string(path)?; let config: AppConfig = serde_json::from_str(&contents)?; Ok(config) } // Usage: // let config = load_config("config.json")?;

08

Notkunartilvik

Það sem það er notað fyrir

  • IDE code completion (continue.dev, JetBrains)
  • Code generation and refactoring
  • Code explanation and review
  • Cross-language code translation
  • Self-hosted developer assistants (research)
  • Production deployments via Mistral hosted API
09

Algengar spurningar

Hvað er Codestral?

Codestral er módel frá Mistral AI í flokknum Kóði. Það er skráð á Railwail en er ekki hægt að keyra það sem stendur.

Hvað kostar Codestral á Railwail?

Codestral er ekki hægt að keyra á Railwail sem stendur, svo engar núverandi verðir eru til. Fáanlegir valkostir með verðum eru skráðir lengra niður á þessari síðu.

Hversu stór er samhengisgluggi Codestral?

Samhengisgluggi Codestral geymir 256.000 tákn. Ein svör getur verið allt að 8.192 tákn löng.

Hversu hratt er Codestral?

Það eru ekki nóg mældar keyrslur af Codestral á Railwail ennþá til að tilgreina keyrslutíma. Það fer eftir inntakinu, stillingum og álagi hjá veitandanum.

Er Codestral betra en Code Llama 13B Instruct?

Það fer eftir verkefninu. Codestral (Mistral AI) og Code Llama 13B Instruct (Meta) eru bæði módel í flokknum Kóði. Samanburðarsíðan sýnir verð og forskriftir þeirra hlið við hlið.

Bera saman Codestral og Code Llama 13B Instruct

Get ég notað Codestral núna?

Ekki tiltækt sem stendur. Síðan helst á netinu; fáanlegir valkostir úr sama flokki eru skráðir lengra niður.

Öll módel í gegnum eina API

Einn API-lykil fyrir öll módel á Railwail. Notkun er rukkuð frá fyrirframgreiddum inneign, 1 inneign = 0,01 USD.