์ฟ ํค๋ฅผ ์ฌ์ฉํฉ๋๋ค. ์ฟ ํค์ ๋ธ๋ผ์ฐ์ ์ ์ฅ์๋ ๋ก๊ทธ์ธ ์ํ๋ฅผ ์ ์งํ๊ณ ํ๊ฒฝ์ค์ ์ ๊ธฐ์ตํฉ๋๋ค. ๋์ํ์๋ฉด ์ฌ์ดํธ ์ด์ฉ ๋ฐฉ์๋ ์ธก์ ํฉ๋๋ค. ์ธ์ ๋ ์ง ํ ์ ์์ต๋๋ค. ์์ธํ ๋ด์ฉ์ ์ฟ ํค ์ ์ฑ ์ ์ฐธ๊ณ ํ์ธ์.
Mistral: Codestral 2508 (batch)
mistralai/codestral-2508:batch์ง๊ธ Mistral: Codestral 2508 (batch) ์ฌ์ฉํด ๋ณด๊ธฐ
์ ๊ฐ๊ฒฉ์ผ๋ก ์์ก์์ ์ฐจ๊ฐ๋ฉ๋๋ค. ์ ๊ณ์ ์ ๋ฌด๋ฃ ์ฌ์ฉ๋์ผ๋ก ์์ํฉ๋๋ค.
ํ๋์ API. ๋ชจ๋ ๋ชจ๋ธ.
์ธ์ ๋น์ฉ US$0.00
์ค์
๊ณ ๊ธ ๋งค๊ฐ๋ณ์
Mistral: Codestral 2508 (batch) ํ๋์ ๋ณด๊ธฐ
- ์ ๋ ฅ ๊ฐ๊ฒฉ์ด ํ ์คํธ ๋ชจ๋ธ 434๊ฐ์ ์ค์๊ฐ๋ณด๋ค 67% ๋ฎ์ต๋๋ค.
- 256,000 ํ ํฐ์ ์ปจํ ์คํธ ์๋์ฐ, ๊ธด ๋ฌธ์์ ๋ฉํฐํด ๋ํ์ ์ถฉ๋ถํฉ๋๋ค.
- ์์ด์ ํธ์ ํตํฉ์ ์ํ ๋๊ตฌ(ํจ์) ํธ์ถ์ ์ง์ํฉ๋๋ค.
- ์คํค๋ง ๊ธฐ๋ฐ ๊ตฌ์กฐํ๋ JSON ์ถ๋ ฅ์ ์ง์ํฉ๋๋ค.
- ์ผ๋ฐ์ ์ธ ์์ฒญ(์ ๋ ฅ 1,000 / ์ถ๋ ฅ 500 ํ ํฐ)์ ๋น์ฉ์ ์ฝ US$0.00131์ ๋๋ค.
Mistral: Codestral 2508 (batch) ์๊ฐ
Mistral: Codestral 2508 (batch)๋ Mistral์ ํ ์คํธ ๋ชจ๋ธ๋ก, ์ ๊ณต์ ์ฒด๊ฐ 2025๋ 8์ 1์ผ์ ์ถ์ํ์ต๋๋ค. ์ด๋ Mistral์ ์ฝ๋ฉ์ฉ ์ธ์ด ๋ชจ๋ธ์ด๋ฉฐ, ์ผ๋ฐ ๋ํ๋ณด๋ค๋ ์ ์ง์ฐ, ๊ณ ๋น๋ ์์ ์ ์ค์ฌ์ผ๋ก ๋ง๋ค์ด์ก์ต๋๋ค. api14์์๋ ํ ์คํธ ์นดํ ๊ณ ๋ฆฌ์ ๋ฑ๋ก๋์ด ์์ผ๋ฉฐ, ํธ์ถํ๋ ๋ชจ๋ธ id๋ mistralai/codestral-2508:batch์ ๋๋ค.
์ด ๋ชจ๋ธ์ ํ ์คํธ์ ํ์ผ ์ ๋ ฅ์ ๋ฐ๊ณ ํ ์คํธ๋ฅผ ๋ฐํํฉ๋๋ค. ์ปจํ ์คํธ ์๋์ฐ๋ 256,000 ํ ํฐ์ด๊ณ , ์ต๋ ์ถ๋ ฅ์ 204,800 ํ ํฐ์ ๋๋ค. ์ง์ ์ปท์คํ๋ 2025๋ 3์ 31์ผ์ ๋๋ค. Mistral์ ์ด ๋ชจ๋ธ์ ์ด์ ์ fill-in-the-middle (FIM), ์ฝ๋ ๊ต์ , ํ ์คํธ ์์ฑ์ด๋ผ๊ณ ์ค๋ช ํ๋ฏ๋ก, ์ฝ๋๋ฅผ ์ธ๋ผ์ธ์ผ๋ก ๋ถ์ฌ๋ฃ๋ ๋์ ์ง์ ์ ๊ณตํ ์์ค๋ฅผ ๋์์ผ๋ก ๋ชจ๋ธ์ด ์์ ํ๊ฒ ํ๋ ค๋ ๊ฒฝ์ฐ ํ์ผ ์ ๋ ฅ์ด ์ ์ฉํฉ๋๋ค.
์ด๋ฌํ ๊ธฐ๋ฅ์ ์๋นํ ํน์ ํ ์์ ๊ตฐ์ ๊ฐ๋ฆฌํต๋๋ค. Fill-in-the-middle์ ํจ์๋ ๋ธ๋ก ์ค๊ฐ์์ ์ฝ๋๋ฅผ ์์ฑํ๋ ํธ์ง๊ธฐ ํตํฉ์ ์ ๋ง์ต๋๋ค. ์ฝ๋ ๊ต์ ์ ๋ฆฐํ , ๋ฆฌ๋ทฐ ์ง์, ๋๋ ๋ฐฐํฌ ์ ์ ๋ชจ๋ธ์ด ์์ฑํ ์ฝ๋๋ฅผ ์์ ํ๋ ๋ฐ ์ ํฉํฉ๋๋ค. ํ ์คํธ ์์ฑ์ ๊ตฌํ๊ณผ ํจ๊ป ๋จ์ ํ ์คํธ๋ฅผ ์์ฑํด์ผ ํ๋ ํ์ดํ๋ผ์ธ์ ๋ง์ต๋๋ค. ์ปจํ ์คํธ ์๋์ฐ๊ฐ ํฌ๊ธฐ ๋๋ฌธ์ ํ๋กฌํํธ์ ํจ๊ป ์ ์ฒด ํ์ผ์ด๋ ์๋นํ ๊ท๋ชจ์ ์ ์ฅ์๋ฅผ ์ ๋ฌํ ์ ์์ต๋๋ค. ์ด ๋ชจ๋ ๊ฒ์ ๊ฐ๋ฐฉํ ์ฑํ ์ด ์๋๋ผ ๋ฐฐ์น ์งํฅ ์ฝ๋ฉ ์์ ์ ๋๋ค.
ํธ์ถํ๋ ค๋ฉด api14์ OpenAI ํธํ API์ ๋ํด ๋ชจ๋ธ id mistralai/codestral-2508:batch๋ฅผ ์ฌ์ฉํ์ธ์. ์ฆ, ๊ธฐ์กด OpenAI SDK ์ค์ ์ด base URL๊ณผ ํค๋ง ๋ฐ๊พธ๋ฉด ์๋ํฉ๋๋ค. ์ด ๋ชจ๋ธ์ frequency_penalty, max_tokens, prediction, presence_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p๋ฅผ ์ง์ํฉ๋๋ค. tools์ tool_choice๋ฅผ ์ฌ์ฉํ๋ฉด ํจ์ ํธ์ถ์ ์ฐ๊ฒฐํ ์ ์์ต๋๋ค. response_format๊ณผ structured_outputs๋ ๋ค์ด์คํธ๋ฆผ ์ฝ๋์ ๊ณ ์ ๋ ํํ๊ฐ ํ์ํ ๋ ๋์์ด ๋ฉ๋๋ค. seed๋ ์คํ์ ๋ฐ๋ณต ๊ฐ๋ฅํ๊ฒ ๋ง๋ญ๋๋ค. prediction์ ์ถ์ธก์ฑ ๋์ฝ๋ฉ ์คํ์ผ ์ํฌํ๋ก์ ์ฌ์ฉํ ์ ์์ต๋๋ค. api14๋ ์ด ๋ชจ๋ธ์ ๋ํด ์ด๋ฏธ์ง ๋๋ ์ค๋์ค ์ ๋ ฅ์ ๋์ดํ์ง ์์ผ๋ฉฐ, ์ถ๋ ฅ์ ํ ์คํธ ์ ์ฉ์ ๋๋ค. ์์ ์ด ์ฝ๋๊ฐ ์๋๋ผ ์ผ๋ฐ ์ฐ๋ฌธ, ์ด๋ฏธ์ง ์ดํด, ๋๋ ์์ฑ์ด๋ผ๋ฉด ์นดํ๋ก๊ทธ์ ๋ค๋ฅธ ๋ชจ๋ธ์ด ๋ ๋์ ์ ํ์ผ ๊ฐ๋ฅ์ฑ์ด ํฝ๋๋ค.
Mistral: Codestral 2508 (batch) API ํธ์ถ ๋ฐฉ๋ฒ
- ๋์๋ณด๋์์ API ํค๋ฅผ ๋ง๋์ธ์.
- ์ฌ์ฉํ๋ ์ธ์ด์ ๊ณต์ openai SDK๋ฅผ ์ค์นํ์ธ์.
- baseURL์ https://api14.com/api/v1๋ก, model์ "mistralai/codestral-2508:batch"๋ก ์ค์ ํ์ธ์.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.chat.completions.create({
"model": "mistralai/codestral-2508:batch",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
์ง์ ํ๋ผ๋ฏธํฐ
frequency_penaltymax_tokenspredictionpresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_p์ฌ์
- ์ปจํ ์คํธ ๊ธธ์ด
- 256,000
- ์ต๋ ์ถ๋ ฅ
- 204,800
- ์ ๋ ฅ
- text, file
- ์ถ๋ ฅ
- text
- ์ง์ ๊ธฐ์ค์ผ
- 2025-03-31
api14 ์์ฒญ ์ ยท ์ต๊ทผ 7์ผ
Mistral: Codestral 2508 (batch): ์์ฃผ ๋ฌป๋ ์ง๋ฌธ
- Mistral: Codestral 2508 (batch) API ๋น์ฉ์ ์ผ๋ง์ธ๊ฐ์?
- Mistral: Codestral 2508 (batch)์ ๊ฐ๊ฒฉ์ ์ ๋ ฅ US$0.52 / 100๋ง ํ ํฐ์ ๋๋ค. ์ฑ๊ณตํ ์์ฒญ์ ๋ํด์๋ง USD ์์ก์์ ์ฐจ๊ฐ๋๋ฉฐ, ์คํจํ ์์ฒญ์ ๋ฌด๋ฃ์ ๋๋ค.
- Mistral: Codestral 2508 (batch)์ ์ปจํ ์คํธ ์๋์ฐ๋ ์ผ๋ง์ธ๊ฐ์?
- Mistral: Codestral 2508 (batch)๋(์) ์์ฒญ๋น ์ต๋ 256,000 ํ ํฐ์ ์ฝ์ต๋๋ค, ํ๋กฌํํธ, ๋ํ ๊ธฐ๋ก, ๋ฌธ์๋ฅผ ๋ชจ๋ ํฉ์น ์์ ๋๋ค. ์๋ต๋น ์ต๋ 204,800๊ฐ์ ์ถ๋ ฅ ํ ํฐ์ ์์ฑํฉ๋๋ค.
- Mistral: Codestral 2508 (batch)๋(์) ๋ฌด์์ ํ ์ ์๋์?
- Mistral: Codestral 2508 (batch)๋(์) text, file ์ ๋ ฅ์ ๋ฐ์ text ์ถ๋ ฅ์ ๋ฐํํฉ๋๋ค. ์ง์ ๊ธฐ๋ฅ: ๋๊ตฌ ํธ์ถ, ๊ตฌ์กฐํ๋ JSON ์ถ๋ ฅ.
- ์ฝ๋์์ Mistral: Codestral 2508 (batch)๋ฅผ(์) ์ด๋ป๊ฒ ํธ์ถํ๋์?
- ์ด๋ค OpenAI SDK๋ base URL์ https://api14.com/api/v1๋ก ์ง์ ํ๊ณ model์ "mistralai/codestral-2508:batch"๋ก ์ค์ ํ์ธ์, ๋ค๋ฅธ ์ฝ๋ ๋ณ๊ฒฝ์ ํ์ ์์ต๋๋ค. ์ด ํ์ด์ง์ ์ฝ๋ ํจ๋์์ ๋ฐ๋ก ์ธ ์ ์๋ ์์ ๋ฅผ ๋ณต์ฌํ์ธ์.
- Mistral: Codestral 2508 (batch)์ ๋์์ ๋ฌด์์ธ๊ฐ์?
- ๋น์ทํ ๊ฐ๊ฒฉ๋์ ํ ์คํธ ๋ชจ๋ธ: Google: Gemma 4 31B, Anthropic: Claude Haiku 5.5, OpenAI: GPT-6 Luna Pro. ๋ชจ๋ ๊ฐ์ API ํค๋ก ์คํ๋๋ฏ๋ก ๋ฌธ์์ด ํ๋๋ง ๋ฐ๊พธ๋ฉด ์ ํ๋ฉ๋๋ค.
Mistral: Codestral 2508 (batch) ์ปค๋ฎค๋ํฐ
์ ํ ํฝ์ด ์ปค๋ฎค๋ํฐ์๋ ์์ง ํ ํฝ์ด ์์ต๋๋ค. Mistral: Codestral 2508 (batch)์ ๋ํ ์ฒซ ํ ํฝ์ ์ด์ด ๋ณด์ธ์.