Mistral Code Agent LatestAPI pricing
Mistral Code Agent Latest is a language model from Mistral, tuned for writing and editing code.
- 每100万枚代币的价格
- $0.40 / $2.00input / output
- 缓存的输入
- 0.20美元每100万枚代币
- 上下文
- 262K tokens32K max output
- 服务提供商
- 2
服务提供商
2 providers ·
262K 上下文 · 32K 最大输出
支持的参数10
- 抽样
温度top_p种子logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择
- 1 more provider through partner hosts · from $0.42 in · $2.10 out
价格走势
API
curl https://api.opencheap.si/v1/chat/completions \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
-d '{ "model": "opencheap/mistral-code-agent-latest", "messages": [{ "role": "user", "content": "Hi" }] }'import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/mistral-code-agent-latest",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/mistral-code-agent-latest",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 Mistral Code Agent Latest 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/mistral-code-agent-latest;其余代码保持不变。
About Mistral Code Agent Latest
- 请求示例
- $0.00610,000 in + 1,000 out
- 端点
https://api.opencheap.si/v1- 模型 ID
每个请求都会发送给模型中成本最低且状态正常的提供者,而每个响应都会报告其成本为 使用成本. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, https://api.opencheap.si/v1.
用文字表述价格
Mistral Code Agent Latest costs from $0.40 per 1M input tokens and $2.00 per 1M output tokens on OpenCheap, with cached input at $0.20 per 1M tokens. It has no public list price to compare with. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.006, and 1,000 such requests about $6.00.
2 providers serve Mistral Code Agent Latest on OpenCheap. Its context window is 262K tokens (262,144), room for roughly 200,000 words of English in one request.
Mistral Code Agent Latest is one of 50 Mistral models on OpenCheap.
Prices as of 2026-12-04 11:48 UTC.
关于定价的问题
How much does the Mistral Code Agent Latest API cost per 1M tokens?
Mistral Code Agent Latest costs from $0.40 per 1M input tokens and $2.00 per 1M output tokens on OpenCheap, with cached input at $0.20 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.
What does one Mistral Code Agent Latest request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.006, and 1,000 such requests about $6.00. Every answer reports its own cost in usage.cost.
Which providers serve Mistral Code Agent Latest?
2 providers serve Mistral Code Agent Latest on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.
What is the context window of Mistral Code Agent Latest?
Its context window is 262K tokens (262,144), room for roughly 200,000 words of English in one request.
How do I call the Mistral Code Agent Latest API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/mistral-code-agent-latest. One OpenCheap key works for every model; the rest of your code stays the same.
More from Mistral
- Mistral Small 3.2 24B (2506)mistral-small-3.2-24b$0.07 / $0.19 per 1M · 256K context
- codestral-2405codestral-2405$1.05 / $3.15 per 1M · 32K context
- Codestral 2508codestral-2508$0.30 / $0.90 per 1M · 256K context
- Devstral 2 123Bdevstral-2-123b$0.032 / $0.16 per 1M · 262K context
- devstral-2-123b-2512devstral-2-123b-2512$0.42 / $1.47 per 1M · 262K context
- Mistral Devstral Small 2505devstral-small-2505$0.06 / $0.06 per 1M · 32K context
- devstral-small-latestdevstral-small-latest$0.11 / $0.32 per 1M · 256K context
- labs-devstral-small-2512labs-devstral-small-2512$0.11 / $0.32 per 1M · 256K context
类似型号
- Kimi K2.7 代码Moonshot · 26.2万上下文$0.25 / $1.08 per 1M46 % cheaper
- Qwen 3 Coder 480B TurboQwen · 256K context$0.42 / $1.80 per 1M9 % cheaper
- Grok Code Fast 1xAI · 256K context$1.00 / $2.00 per 1M
- ByteDance Seed 2.0 CodeByteDance · 262K context$0.42 / $2.52 per 1M
- Qwen3 Coder 480B A35B InstructQwen · 26.2万语境$0.30 / $1.00 per 1M48 % cheaper
- 基米 K2.6Moonshot · 26.2万上下文$0.32 / $1.57 per 1M21 % cheaper
Compare Mistral Code Agent Latest with any model →Cheapest LLM API