ZICQ
中 Log in / Sign up
Newsroom Official LLMs & Foundation Models #Google #Gemini 4 Carbon #Perplexity Orchestrator API #Million-Token Context #Cache Pricing

Gemini 4 Carbon Arrives on Perplexity Orchestrator API with 1M-Token Context

Avatar of Mr.Xu

By Mr.Xu Compiled & Reviewed by Editorial

Published:

中文阅读 (Chinese) English Version
Co-reading Select any sentence in the article to highlight, annotate, or copy a quote card. Join discussion ↓

Summary:Google's Gemini 4 Carbon is now available through Perplexity's Orchestrator API for organizations on usage tier 1 and above, using the model ID `google/gemini-4-carbon`. The endpoint supports a 1,048,576-token context window and up to 65,536 output tokens. Pricing is $4 per million input tokens, $20 per million output tokens, and $0.20 per million cache-read tokens. The million-token window is relevant to long documents, repository-scale code analysis, and long-running agents, while cache reads


Event Scope: A Google Model Enters Perplexity's Orchestration Layer

Google's Gemini 4 Carbon can now be called through Perplexity's Orchestrator API for organizations on usage tier 1 and above. The model ID is google/gemini-4-carbon. Perplexity is the API distribution and billing channel in this event, while Google remains the model's developer; this is not a Perplexity-developed model launch.

Published Specifications

| Item | Announced value | Engineering implication | |---|---:|---| | Model ID | google/gemini-4-carbon | Use the exact identifier to avoid routing to an alias or another version | | Context window | 1,048,576 tokens | Can hold very long documents, repositories, and agent traces, but usable context is not necessarily equal to the advertised window | | Maximum output | 65,536 tokens | Suitable for long-form generation and structured artifacts, with higher tail latency and output cost | | Input price | $4 per million tokens | A full 1,048,576-token fresh input has a nominal cost of $4.194304 | | Output price | $20 per million tokens | Five times the standard input rate, requiring explicit generation budgets | | Cache-read price | $0.20 per million tokens | Five percent of the standard input rate, although eligibility and retention rules are undisclosed | | Access requirement | Usage tier 1 and above | Organizations must confirm account permissions, quotas, and billing status |

The 1,048,576-token and 65,536-token limits correspond to 2^20 and 2^16, which are convenient capacity-planning boundaries. Whether system prompts, tool definitions, conversation history, and output share the same context counter must still be checked against the API's counting rules. If input and output share a total budget, callers must reserve room for generation.

Technical Mechanism: A Million-Token Window Is Not Free Compute

A long-context request typically passes through model selection, context assembly, prefill, decoding, and usage accounting. In a conventional dense Transformer, computing full-attention scores for context length N and hidden dimension d requires work approximately proportional to O(N²d). Kernels such as FlashAttention reduce memory movement and improve practical throughput, but do not automatically remove the quadratic nature of exact full attention. The announcement does not disclose whether Gemini 4 Carbon uses sparse attention, linear attention, or another design, so its prefill cost cannot be inferred from the context limit alone.

Long requests also increase KV-cache pressure. For batch size B, layer count L, number of KV heads H_kv, head dimension d_head, and s bytes per scalar, a simplified estimate excluding paging and alignment overhead is:

M_KV ≈ B × L × N × H_kv × d_head × s × 2

The factor of two accounts for the K and V tensors. GQA or MQA can reduce H_kv and materially shrink the cache, but the model's actual head configuration, quantization format, and cache-parallel strategy are unknown. Production capacity should therefore be based on measured bytes per token rather than the nominal 1M-token window.

The 65,536-token output ceiling applies during decoding. Longer generation means a longer serial tail even if the time to the first token is small. A million-token context can improve retrieval and synthesis, but it does not make the model inherently suitable for latency-sensitive interactive traffic.

Price Breakdown: Cache Hits Determine the Long-Context Bill

Based on the published rates, the token charge can be approximated as:

Cost = 4 × T_input / 1,000,000 + 20 × T_output / 1,000,000 + 0.20 × T_cache_read / 1,000,000

Several examples help establish practical cost expectations:

  • 100,000 fresh input tokens plus 10,000 output tokens cost approximately $0.40 + $0.20 = $0.60.
  • If all 100,000 input tokens qualify for cache reads, the same output volume costs about $0.02 + $0.20 = $0.22, a reduction of roughly 63.3%.
  • Reading 1,048,576 cached tokens has a nominal cost of $0.2097152, compared with $4.194304 for the same number of fresh input tokens.
  • Generating 65,536 output tokens costs approximately $1.31072.

Calculating the context and output limits independently produces a nominal upper bound of $5.505024. This is an arithmetic combination of two separate limits, not a guarantee that both can be consumed in one request; shared context limits and server-side quotas may still apply.

The cache-read rate is only 5% of the normal input rate, so stable-prefix reuse may produce meaningful savings. The optimization target is not the headline cache price but the combination of prefix stability, hit rate, retention time, and the latency benefit observed after a hit. Timestamps, random identifiers, and reordered retrieval results can all break a reusable prefix.

Engineering Trade-offs

  1. Long context does not eliminate RAG. Sending the entire corpus avoids explicit retrieval misses but sends more tokens through prefill and expands the KV cache. For knowledge workloads, compare full-context ingestion, chunk retrieval, and hierarchical summarization across quality, latency, and spend rather than assuming that more context is always better.
  2. Cache economics depend on request shape. Keep system prompts, tool schemas, and fixed document prefixes as stable as possible. Dynamic timestamps and reordered chunks reduce reuse. Cache savings must be measured using production traffic rather than inferred from the unit price.
  3. Output pricing penalizes verbosity. Output tokens cost five times as much as input tokens. Classification, extraction, and tool-argument generation should use tight schemas, constrained fields, and early stopping instead of inheriting a long-form generation profile.
  4. An orchestration layer simplifies integration but adds routing variables. Orchestrator API provides a unified access point. If failover is enabled, a fallback model may differ in reasoning quality, tool-call schema, and safety behavior, requiring model-specific regression suites.
  5. A million-token window is not a million-token effective context. Models can lose middle-position information, dilute early instructions, or merge conflicting evidence. Critical facts, long-running state, and final instructions should be structurally separated rather than relying only on ordering.
  6. Concurrency can become the constraint before token pricing does. Long requests commonly strain prefill throughput, KV-cache capacity, and inter-device communication. Capacity planning should track TTFT, TPOT, end-to-end latency, and cache-hit rates together.

Evaluation Boundary: Availability Does Not Prove Superior Performance

The official changelog provides enough information to validate account access, model routing, context limits, and pricing. It does not provide quality benchmarks, throughput, TTFT, concurrency limits, latency curves across context lengths, or controlled comparisons with models in the same price band. It would therefore be unjustified to conclude that Gemini 4 Carbon leads on reasoning, coding, visual understanding, or agent execution from this announcement alone.

Before deployment, teams should test long-document recall and multi-hop QA, cross-section consistency, repository-scale code modification, tool-call argument correctness, and latency and cost curves at 32K, 128K, 256K, and 1M tokens. Prompts, output limits, and concurrency conditions should remain fixed, and quality should be evaluated together with total cost per successful task rather than by token price alone.

Developer Deployment Recommendations

  1. Validate access and routing first. Confirm that the organization has reached usage tier 1, use the exact google/gemini-4-carbon identifier, and ensure retries cannot duplicate billing or side effects.
  2. Adopt a layered context budget. Separate stable system prompts, tool schemas, long-term material, and short-term dialogue. Measure chunks with the actual tokenizer rather than relying only on power-of-two boundaries.
  3. Enforce output budgets. Apply much smaller limits to classification, extraction, and agent actions. Reserve the 65,536-token ceiling for research and long-form generation, then track output-token distributions.
  4. Engineer for prefix caching. Keep fixed content at the beginning of requests and dynamic content at the end. Log cache-read tokens, hit rate, and expiry behavior.
  5. Complete observability. For every request, record fresh input, cache-read, and output token counts, along with TTFT, TPOT, total latency, HTTP status, and retry count.
  6. Use shadow traffic and gradual routing. Start with low-risk long-document tasks, compare quality, latency, and budget against the incumbent model, and only then expand to code modification or executable tool workflows.
  7. Define model-specific degradation paths. Handle context overflow, service unavailability, and truncated output separately, and preserve structured task state during failover instead of resending the entire history.

Bottom Line

The immediate value of Gemini 4 Carbon's Orchestrator API availability is that it adds Google's million-token model to Perplexity's unified access and billing layer with explicit limits for context, output, and cached input. It is a service-availability and cost-transparency event rather than a performance breakthrough backed by comparative benchmarks. Its practical value will ultimately depend on effective-context quality, cache reuse, end-to-end latency, and task-level cost.


Source: Perplexity Changelog (2026-12-03)

— END —

Tags: #Google #Gemini 4 Carbon #Perplexity Orchestrator API #Million-Token Context #Cache Pricing

Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.

What's your take on this story?
Explore & Submit Works

Community Comments

Loading live comments and annotations…