쿠키를 사용합니다. 쿠키와 브라우저 저장소는 로그인 상태를 유지하고 환경설정을 기억합니다. 동의하시면 사이트 이용 방식도 측정합니다. 언제든지 할 수 있습니다. 자세한 내용은 쿠키 정책을 참고하세요.
- 필수세션, 보안, 환경설정. 사이트 작동에 필요합니다.항상 켜짐
쿠키를 사용합니다. 쿠키와 브라우저 저장소는 로그인 상태를 유지하고 환경설정을 기억합니다. 동의하시면 사이트 이용 방식도 측정합니다. 언제든지 할 수 있습니다. 자세한 내용은 쿠키 정책을 참고하세요.
google/gemini-4-carbon위 가격으로 잔액에서 차감됩니다.
Google: Gemini 4 Carbon은 코딩, 에이전트 작업, 복잡한 추론을 위해 만들어진 Google의 프런티어 모델입니다. Gemini 4 제품군에 속하며 Google 자체 채널과 api14 같은 게이트웨이를 통해 배포됩니다. 이미 다른 Gemini 모델을 사용하고 있다면 요청 형식과 동작이 익숙하게 느껴질 것이며, 추론과 에이전트에 초점을 맞춘 점이 범용 채팅 모델로는 충분하지 않은 작업에 적합한 후보가 됩니다.
이 모델은 텍스트, 이미지, 오디오, 비디오, 파일 입력을 받고 텍스트를 반환합니다. 이 조합은 별도의 전사, 비전, 문서 파이프라인을 이어 붙이지 않고 하나의 엔드포인트로 혼합 미디어를 처리해야 하는 개발자에게 중요합니다. 컨텍스트 윈도우는 1,048,576 토큰으로, 긴 코드베이스나 방대한 전사 기록, 여러 문서 입력을 단일 요청에 담을 수 있을 만큼 충분히 큽니다. 출력은 32,768 토큰으로 제한되므로 응답은 상당히 길 수 있지만 무제한은 아닙니다. 추론 동작은 숨겨지지 않고 노출되므로, 모델이 답변 전에 내부적으로 얼마나 많은 사고를 수행할지 결정할 수 있습니다.
이러한 기능은 몇 가지 실용적인 활용 패턴을 가리킵니다. 큰 컨텍스트 윈도우 덕분에 한 번에 많은 파일을 제공할 수 있고 추론 지원이 다단계 디버깅이나 리팩터링에 도움이 되므로, 대규모 저장소에 대한 코딩 지원이 자연스러운 적합 사례입니다. 에이전트 워크플로는 도구 호출과 추론의 결합으로 이점을 얻으므로, 모델이 계획을 세우고 함수를 호출하며 접근 방식을 수정할 수 있습니다. 오디오, 비디오, 이미지, 파일 입력을 모두 받기 때문에 별도의 수집 계층 없이 회의 요약, 스크린샷 검토, 녹음 자료에 대한 질문 응답을 수행하는 어시스턴트를 만들 수 있습니다. 구조화된 출력은 응답을 사람이 읽는 것이 아니라 파싱해야 하는 더 큰 시스템의 구성 요소로 사용할 수 있게 해줍니다.
모델 id "google/gemini-4-carbon"을 사용하여 api14의 OpenAI 호환 API를 통해 호출합니다. 지원되는 요청 매개변수는 include_reasoning, max_tokens, reasoning, reasoning_effort, response_format, seed, structured_outputs, temperature, tool_choice, tools, top_p입니다. 실제로 이는 일반적인 샘플링 제어, seed를 통한 결정적 출력, response_format과 structured_outputs를 통한 JSON 및 스키마 제약 응답, tools와 tool_choice를 통한 도구 사용을 포괄합니다. 추론 관련 매개변수를 사용하면 추론을 켜거나 끄고 추론에 소요되는 노력의 정도를 조정할 수 있으며, 이는 요청별로 지연 시간과 깊이를 맞바꾸고 싶을 때 유용합니다.
한 가지 유의할 점은 출력이 텍스트 전용이라는 것입니다. 애플리케이션에서 생성된 이미지, 오디오, 비디오가 필요하다면 이 모델은 이를 생성하지 않으므로 전용 생성 모델과 함께 사용해야 합니다. 32,768 토큰의 출력 상한은 또한 대용량 파일 전체를 한 번에 생성하는 것과 같은 매우 긴 생성 결과물을 단계적으로 만들어야 할 수 있음을 의미합니다. 이러한 한도 내에서 이 모델은 추론, 도구 또는 혼합 미디어 입력을 포함하는 텍스트 중심 작업에 합리적인 기본 선택입니다.
카탈로그 데이터를 바탕으로 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",
"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",
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",
"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",
"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",
"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",
"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",
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",
"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",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}))
.send()
.await?
.text()
.await?;
println!("{res}");
Ok(())
}
이 커뮤니티에는 아직 토픽이 없습니다. Google: Gemini 4 Carbon에 대한 첫 토픽을 열어 보세요.
include_reasoningmax_tokensreasoningreasoning_effortresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_p