google
google/gemini-4-carbon

google/gemini-4-carbon

Data publikacji: 2026-11-11

1,048,576 context · $4.00/M input tokens · $20.00/M output tokens

Gemini 4 Carbon is a frontier Gemini 4 model from Google for coding, agentic and complex reasoning work. It takes text, image, audio, video and file input, supports long decode...

Cennik

Płać za użycie

Bez kosztów początkowych, płacisz tylko za to, czego używasz

Wejście$4.00 / M Tokens
Wyjście$20.00 / M Tokens
Cache Read$0.20 / M Tokens
Cache Write$0.38 / M Tokens

Wypróbuj model

google/gemini-4-carbon
Online
google
Cześć! Jestem pomocnym asystentem AI. W czym mogę pomóc?
Gotowe użyć tego modelu w lokalnym coding agent?Konfiguracja agenta

Użycie API

Użyj poniższych przykładów kodu, aby zintegrować się z naszym API:

import OpenAI from 'openai';

if (!process.env.WAVESPEED_API_KEY) throw new Error('Set WAVESPEED_API_KEY');
const client = new OpenAI({
  apiKey: process.env.WAVESPEED_API_KEY,
  baseURL: 'https://llm.wavespeed.ai/v1',
  timeout: 120_000,
  maxRetries: 0,
});

try {
  const response = await client.chat.completions.create({
    model: 'google/gemini-4-carbon',
    messages: [{ role: 'user', content: 'Hello!' }],
  });
  const body = response as typeof response & { error?: { message?: string } };
  if (body.error) throw new Error(body.error.message || 'LLM generation failed');
  console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
  console.error('LLM request failed:', error);
  process.exitCode = 1;
}

Wprowadzenie do modelu

Google: Gemini 4 Carbon

Gemini 4 Carbon is a frontier Gemini 4 model from Google for coding, agentic and complex reasoning work. It takes text, image, audio, video and file input, supports long decode...

This model is available through the WaveSpeed AI OpenAI-compatible API for chat completions and compatible application workflows.


Why It Looks Great

  • text+image+file+audio+video->text architecture for Audio, file, Image, Text, Video to Text workloads
  • 1048576 context window for long prompts, document analysis, and multi-turn workflows
  • Vision input support for image understanding and multimodal tasks
  • Function calling and tool-use support for agentic application workflows
  • Structured output support for JSON responses and schema-constrained generation
  • Reasoning controls available through supported parameters

Key Features

  • Context Window: 1048576 tokens
  • Max Input: 1048576 tokens
  • Max Output: 943718 tokens
  • Vision: Supported
  • Function Calling: Supported
  • Structured Outputs: Supported
  • Image Generation: Not listed
  • Audio Input: Supported
  • Supported Parameters: include_reasoning, max_tokens, reasoning, reasoning_effort, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_p

Specifications

SpecificationValue
Providergoogle
Model TypeChat Completions model
Architecturetext+image+file+audio+video->text
Context Window1048576 tokens
Max Input1048576 tokens
Max Output943718 tokens
InputAudio, file, Image, Text, Video
OutputText
VisionSupported
Function CallingSupported
Structured OutputsSupported
Release DateNovember 11, 2026

How to Use

  1. Write your prompt - describe the task, provide context, and specify the desired output format.
  2. Submit - the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: google/gemini-4-carbon


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="google/gemini-4-carbon",
    messages=[{"role": "user", "content": "Hello!"}]
)

print(response.choices[0].message.content)

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "google/gemini-4-carbon",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: google/gemini-4-carbon
  • Provider: google

Info

Dostawcagoogle
Typllm

Obsługiwane funkcje

Wejście
TekstObrazAudio
Wyjście
Tekst
Kontekst1,048,576
Maks. wyjście943,718
Vision✓ Obsługiwane
Function Calling✓ Obsługiwane

Przewodnik dostępu do API

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
ID modelugoogle/gemini-4-carbon

Gemini 4 Carbon API

google/gemini-4-carbon

Gemini 4 Carbon is a frontier Gemini 4 model from Google for coding, agentic and complex reasoning work. It takes text, image, audio, video and file input, supports long decode...

Wejście

$4 /M

Wyjście

$20 /M

Kontekst

1049K

Maks. wyjście

944K

Vision

Obsługiwane

Użycie narzędzi

Obsługiwane

Wypróbuj Gemini 4 Carbon w WaveSpeedAI

Uzyskaj dostęp do Gemini 4 Carbon przez nasze ujednolicone API — kompatybilne z OpenAI, bez zimnych startów, przejrzyste ceny.

Najczęstsze pytania o Gemini 4 Carbon

Ile kosztuje API Gemini 4 Carbon?+

Cennik na WaveSpeedAI: $4.00 za milion tokenów wejściowych i $20.00 za milion tokenów wyjściowych. Prompt caching i przetwarzanie wsadowe są rozliczane oddzielnie i obniżają efektywny koszt długich, powtarzalnych obciążeń.

Jakie jest okno kontekstu Gemini 4 Carbon?+

Gemini 4 Carbon obsługuje do 1049K tokenów kontekstu i do 944K tokenów wyjściowych na zapytanie.

Czy Gemini 4 Carbon jest kompatybilny z OpenAI?+

WaveSpeedAI udostępnia Gemini 4 Carbon pod adresem https://llm.wavespeed.ai/v1 przez interfejs Chat Completions zgodny z OpenAI. W większości klientów OpenAI SDK wystarczy zmienić base URL i klucz API; opcjonalne pola zależą od modelu.

Jak zacząć z Gemini 4 Carbon?+

Zaloguj się do WaveSpeedAI, utwórz klucz API w Access Keys i wyślij żądanie do https://llm.wavespeed.ai/v1/chat/completions z identyfikatorem modelu pokazanym powyżej. Bieżącą dostępność, możliwości i ceny sprawdź w katalogu modeli.

Powiązane API LLM