쿠키를 사용합니다. 쿠키와 브라우저 저장소는 로그인 상태를 유지하고 환경설정을 기억합니다. 동의하시면 사이트 이용 방식도 측정합니다. 언제든지 할 수 있습니다. 자세한 내용은 쿠키 정책을 참고하세요.
- 필수세션, 보안, 환경설정. 사이트 작동에 필요합니다.항상 켜짐
쿠키를 사용합니다. 쿠키와 브라우저 저장소는 로그인 상태를 유지하고 환경설정을 기억합니다. 동의하시면 사이트 이용 방식도 측정합니다. 언제든지 할 수 있습니다. 자세한 내용은 쿠키 정책을 참고하세요.
google/gemini-4-carbon:batch위 가격으로 잔액에서 차감됩니다.
Google: Gemini 4 Carbon (batch)는 Google의 최전선 Gemini 4 모델로, 코딩, 에이전트 작업 및 복잡한 추론을 위해 만들어졌습니다. 텍스트를 생성한다는 점에서 텍스트 모델이지만, 입력으로 받아들이는 것은 텍스트보다 훨씬 다양합니다. 배치 변형은 모델 id google/gemini-4-carbon:batch로 api14를 통해 호출하는 버전입니다.
이 모델은 오디오, 파일, 이미지, 텍스트 및 비디오 입력을 받아들이고 텍스트 출력을 반환합니다. 컨텍스트 윈도우는 1,048,576 토큰이고 최대 출력 길이는 943,718 토큰입니다. 이처럼 매우 큰 컨텍스트와 매우 큰 출력 예산의 조합은 긴 입력을 넘겨도 잘린 응답이 아닌 충실하고 완전한 응답을 기대할 수 있다는 뜻입니다. 추론은 이 모델의 표면에 포함됩니다. 지원되는 매개변수에는 reasoning, reasoning_effort 및 include_reasoning이 있으므로 내부 추론이 얼마나 노출되거나 적용될지 제어할 수 있습니다.
실용적인 사용 사례는 이러한 기능에서 자연스럽게 따라옵니다. 코딩 작업은 패치나 새 구현을 만들기 전에 큰 코드베이스나 긴 명세를 읽어야 하는 작업을 포함해 잘 맞습니다. 에이전트 워크플로도 잘 맞는데, 이 모델이 tools와 tool_choice를 지원하므로 다단계 작업의 일부로 함수나 외부 서비스를 호출할 수 있습니다. 혼합 자료에 대한 복잡한 추론도 또 하나의 강력한 적합 사례입니다. 비디오, 여러 이미지, 오디오 녹음 및 지원 문서를 같은 요청에 보내고 서면 분석을 요청할 수 있습니다. 큰 입력을 요약하거나 구조화된 데이터를 추출하는 것과 같은 긴 문서 및 파일 처리는 컨텍스트 크기를 고려할 때 역시 합리적입니다.
api14를 통해 호출하려면 모델 id google/gemini-4-carbon:batch와 함께 OpenAI 호환 chat completions 인터페이스를 사용하세요. 지원하는 요청 매개변수는 include_reasoning, max_tokens, reasoning, reasoning_effort, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools 및 top_p입니다. 결정적이거나 스키마로 제약된 출력이 필요하면 response_format과 structured_outputs가 관련 옵션이며, seed는 재현성에 도움이 됩니다. 에이전트 동작을 위해서는 tools와 tool_choice를 설정해야 합니다. 추론 동작은 reasoning, reasoning_effort 및 include_reasoning을 통해 조정되며, temperature와 top_p는 샘플링을 제어합니다.
이것은 배치 변형이므로 워크로드에 대화형 경로가 필요한지, 아니면 배치 방식 처리를 감당할 수 있는지 확인할 가치가 있습니다. 작업이 적당한 컨텍스트의 순수한 텍스트 입력 및 텍스트 출력이라면 더 작은 텍스트 모델이 사용하기 더 간단할 수 있습니다. 이 모델의 강점은 폭넓은 입력 양식, 매우 큰 컨텍스트 윈도우 및 큰 출력 예산의 조합이므로, 이 중 적어도 하나가 실제 요구 사항일 때 가장 적합합니다.
카탈로그 데이터를 바탕으로 AI 모델이 작성하고 자동 번역했습니다. 표의 가격과 한도는 카탈로그에서 바로 가져옵니다. 콘텐츠 제작 방식
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": "google/gemini-4-carbon:batch",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
from openai import OpenAI
import os
client = OpenAI(
base_url="https://api14.com/api/v1",
api_key=os.environ["API14_API_KEY"],
)
result = client.chat.completions.create(
model="google/gemini-4-carbon:batch",
messages=[
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
],
)
print(result.choices[0].message.content)
curl https://api14.com/api/v1/chat/completions \
-H "Authorization: Bearer $API14_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-4-carbon:batch",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}'
package main
import (
"bytes"
"fmt"
"io"
"net/http"
"os"
)
func main() {
body := []byte(`{
"model": "google/gemini-4-carbon:batch",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}`)
req, _ := http.NewRequest("POST", "https://api14.com/api/v1/chat/completions", bytes.NewReader(body))
req.Header.Set("Authorization", "Bearer "+os.Getenv("API14_API_KEY"))
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(string(out))
}
<?php
$ch = curl_init("https://api14.com/api/v1/chat/completions");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . getenv("API14_API_KEY"),
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode([
"model" => "google/gemini-4-carbon:batch",
"messages" => [
[
"role" => "user",
"content" => "Explain vector databases in two sentences."
]
]
]),
]);
$response = json_decode(curl_exec($ch), true);
print_r($response);
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Main {
public static void main(String[] args) throws Exception {
String body = """
{
"model": "google/gemini-4-carbon:batch",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}
""";
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api14.com/api/v1/chat/completions"))
.header("Authorization", "Bearer " + System.getenv("API14_API_KEY"))
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString(body))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}
using OpenAI;
using OpenAI.Chat;
using System.ClientModel;
var client = new ChatClient(
model: "google/gemini-4-carbon:batch",
credential: new ApiKeyCredential(Environment.GetEnvironmentVariable("API14_API_KEY")!),
options: new OpenAIClientOptions { Endpoint = new Uri("https://api14.com/api/v1") });
ChatCompletion completion = client.CompleteChat("Explain vector databases in two sentences.");
Console.WriteLine(completion.Content[0].Text);
require "net/http"
require "json"
uri = URI("https://api14.com/api/v1/chat/completions")
req = Net::HTTP::Post.new(uri, {
"Authorization" => "Bearer #{ENV["API14_API_KEY"]}",
"Content-Type" => "application/json",
})
req.body = {
"model": "google/gemini-4-carbon:batch",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}.to_json
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |h| h.request(req) }
puts JSON.parse(res.body)
// Cargo.toml: reqwest = { version = "0.12", features = ["json"] }, tokio = { version = "1", features = ["full"] }, serde_json = "1"
use serde_json::json;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let key = std::env::var("API14_API_KEY")?;
let res = reqwest::Client::new()
.post("https://api14.com/api/v1/chat/completions")
.bearer_auth(key)
.json(&json!({
"model": "google/gemini-4-carbon:batch",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}))
.send()
.await?
.text()
.await?;
println!("{res}");
Ok(())
}
이 커뮤니티에는 아직 토픽이 없습니다. Google: Gemini 4 Carbon (batch)에 대한 첫 토픽을 열어 보세요.
include_reasoningmax_tokensreasoningreasoning_effortresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_p