ChatGPT-4o Latest vs Codestral-22B

    Comparison

    As of August 30, 2026, Codestral-22B is 90% cheaper per million tokens than ChatGPT-4o Latest. ChatGPT-4o Latest is $2.50 / $10.00 per million input/output tokens versus Codestral-22B at $0.30 / $0.90. Sources: https://developers.openai.com/api/docs/pricing and https://mistral.ai/technology/pricing

    Sources: OpenAI API pricing (https://developers.openai.com/api/docs/pricing); Mistral AI pricing (https://mistral.ai/technology/pricing)

    ChatGPT-4o Latest

    OpenAI

    $12.50blended / 1M

    Input

    $2.50

    Output

    $10.00

    128K ctx|Proprietary
    90%
    cheaper
    Better value

    Codestral-22B

    Mistral

    $1.20blended / 1M

    Input

    $0.30

    Output

    $0.90

    32.8K ctx|Open Source
    Save $11.30 per million tokens by choosing Codestral-22B over ChatGPT-4o Latest.

    ChatGPT-4o Latest vs Codestral-22B comparison

    Token pricing, specs, and benchmarks side by side

    Metric
    ChatGPT-4o Latest
    Codestral-22B
    Provider
    Provider
    OpenAI
    Mistral
    License
    Proprietary
    Open Source
    Release Date
    2024-05-13
    2024-05-29
    Pricing (per 1M tokens)
    Input Price+733%
    $2.50
    $0.30
    Output Price+1011%
    $10.00
    $0.90
    Blended (1M + 1M)
    $12.50
    $1.20
    Model Details
    Context Window
    128K
    32.8K
    Max Output Tokens
    16.4K
    N/A
    Knowledge Cutoff
    N/A
    N/A
    Throughput
    132 tok/s
    N/A
    Benchmarks
    84%
    81.1%
    51.3%
    78.2%
    34%
    63.5%

    Verdict

    ChatGPT-4o Latest vs Codestral-22B: the bottom line

    Both models are closely matched on benchmarks. Codestral-22B has the pricing advantage, making it the better value unless ChatGPT-4o Latest's specific capabilities are critical to your workflow.

    ChatGPT-4o Latest vs Codestral-22B FAQ

    Which is cheaper, ChatGPT-4o Latest or Codestral-22B?

    As of August 30, 2026, Codestral-22B is 90% cheaper on blended LLM API pricing. Codestral-22B costs $0.30 per million input tokens and $0.90 per million output tokens ($1.20 blended 1M-in + 1M-out). ChatGPT-4o Latest costs $2.50 / $10.00 per million tokens ($12.50 blended). Sources: https://developers.openai.com/api/docs/pricing and https://mistral.ai/technology/pricing. The cheapest LLM for your app still depends on how many output tokens you generate.

    How much does ChatGPT-4o Latest vs Codestral-22B cost per million tokens?

    ChatGPT-4o Latest OpenAI API pricing is $2.50 input and $10.00 output per million tokens via OpenAI. Codestral-22B Mistral API pricing is $0.30 input and $0.90 output per million tokens via Mistral AI. Use those four numbers, not ChatGPT Plus or Claude Pro subscription prices, when you are comparing APIs.

    Which is better for coding, ChatGPT-4o Latest or Codestral-22B?

    Codestral-22B has a published HumanEval score of 81.1%. ChatGPT-4o Latest does not have that eval on this page yet.

    What is the context window for ChatGPT-4o Latest vs Codestral-22B?

    ChatGPT-4o Latest supports a 128K token context window, while Codestral-22B supports 33K tokens. ChatGPT-4o Latest offers a larger context window. Filling a larger window bills more input tokens, so the cheaper-per-million model can still cost more on long documents.

    Which model performs better on benchmarks, ChatGPT-4o Latest or Codestral-22B?

    Shared benchmark scores for ChatGPT-4o Latest and Codestral-22B are still limited. Check the comparison table for the evals each model has published. Check the comparison table for GPQA Diamond, SWE-bench, MMLU, HLE, and the other evals we track. Token price and benchmark score together are the usual LLM comparison, not either number alone.

    Is ChatGPT-4o Latest or Codestral-22B better for production use?

    Both ChatGPT-4o Latest and Codestral-22B are production API models. For cost-sensitive production traffic, Codestral-22B has better economics on the blended 1M-in + 1M-out scale. For maximum capability, weight the benchmark table for your domain. Many production stacks route cheap models for drafts and a frontier model for the hard turn, which is usually cheaper than sending everything to the expensive API.

    Can I switch between ChatGPT-4o Latest and Codestral-22B in my app?

    Yes. Call ChatGPT-4o Latest through OpenAI and Codestral-22B through Mistral AI with separate API keys, or through a gateway that already wraps both. Keep prompts in tokens, not characters, when you estimate the invoice. AnotherWrapper templates can swap providers without rewriting auth and billing.

    How accurate is this ChatGPT-4o Latest vs Codestral-22B pricing data?

    List rates are the latest published OpenAI API pricing and Mistral API pricing, quoted per million tokens. Official rate sheets: https://developers.openai.com/api/docs/pricing and https://mistral.ai/technology/pricing. Prompt caching, batch APIs, and committed-use discounts can change the invoice. Benchmark scores are from official publications and independent evals, updated as new numbers land.

    What is the output token limit for ChatGPT-4o Latest and Codestral-22B?

    ChatGPT-4o Latest supports up to 16K output tokens per request, while Codestral-22B supports up to an unspecified number of output tokens. Output tokens are usually the expensive half of API pricing, so a higher max output cap is a capability, not a discount.

    Which model has better throughput, ChatGPT-4o Latest or Codestral-22B?

    ChatGPT-4o Latest has a measured throughput of approximately 132 tokens/second. Throughput data for Codestral-22B is not yet available. Throughput (tokens per second) and time-to-first-token are why two models with the same per-million-token price can still feel different in chat and agents.

    How do I switch the models in this ChatGPT-4o Latest vs Codestral-22B comparison?

    Use the model pickers at the top of this LLM comparison. Search any model in the index and the URL updates. Open ChatGPT-4o Latest or Codestral-22B from the sidebar for the single-model API pricing page, or go back to the LLM pricing table to sort by cheapest blended cost.

    ChatGPT-4o Latest vs Codestral-22B pricing

    This comparison covers API pricing, context window, throughput, and benchmark scores. ChatGPT-4o Latest costs $2.50/M input and $10.00/M output. Codestral-22B costs $0.30/M input and $0.90/M output via Mistral AI.

    Rank both on the LLM leaderboard, SWE-bench, and Humanity's Last Exam.

    The index

    All Large Language Models

    343 models across 36 providers. Search or jump to a lab — every model page stays linked here.

    Baidu

    2 models

    Inception

    1 models

    inclusionAI

    1 models

    LG AI Research

    1 models

    Liquid AI

    2 models

    Nous Research

    1 models

    OpenBMB

    1 models

    Sakana AI

    1 models

    Sarvam AI

    2 models

    Tencent

    1 models

    Thinking Machines

    1 models

    Unisound

    1 models

    Upstage

    1 models

    Next step

    You found the model. Now ship the product.

    Auth, billing, and the API layer are already decided. Fork 8 finished AI apps, or have us build the first version with you.