New API
  • Home
  • Docs
  • Console
  • AgentAgentHotHot
  • Partners
Sign in
Home / Pricing / Models / gemini-4-carbon vs hy4-preview

gemini-4-carbon vs hy4-preview: API Pricing & Capabilities

Unit prices, a monthly cost example and capabilities of gemini-4-carbon and hy4-preview, side by side, from the build-time price snapshot. Both models work with the same OpenLux API key and base URL — switch by changing the model parameter.

gemini-4-carbon: Gemini 4 Carbon (gemini-4-carbon) is our most powerful model for reasoning, designed for complex software engineering, mathematical and scientific problem solving, high factual accuracy, and autonomous multi-step agent scenarios, supporting ultra-long outputs of up to 1 million tokens.

hy4-preview: Hy4 preview total parameters 770B, activation parameters 49B, focusing on optimization for Agent, Coding, and productivity scenarios, enhancing understanding, planning, tool invocation, and continuous execution capabilities in complex tasks. Compared to the previous generation model, Hy4 preview further improves in multi-step Agent, code development, and productivity tasks, with better task decomposition, context retention, instruction adherence, and long-chain execution capabilities. In Coding scenarios, it further enhances code understanding, generation, modification, and handling of complex engineering tasks; in productivity scenarios, it focuses on improving document processing, information analysis, office automation, game development, web generation, and cross-tool collaboration capabilities. Hy4 preview is suitable for Coding Agents, complex tool invocation, and various Agent workflows requiring multi-step planning and continuous execution, providing more reliable task completion capabilities for complex tasks in real business scenarios.

Price overview

For each model, the lowest-priced group available to visitors; input, output and monthly cost all use that group.

Itemgemini-4-carbonhy4-preview
ProviderGoogle腾讯
GroupAistudio-Gemini-2Self-Deployed-1
Input (USD / 1M tokens)$0.5294$0.2502
Output (USD / 1M tokens)$2.647$0.7503
Cache read (USD / 1M tokens)$0.0265$0.0125
Monthly cost example$105.88$40.03

Monthly cost example: 100M input tokens + 20M output tokens per month, using the input and output prices of the same group, excluding cache.

Prices by group

USD per 1M tokens. Price = base price × group ratio.

gemini-4-carbon by group

GroupInputOutputCache readMonthly example
Aistudio-Gemini-2$0.5294$2.647$0.0265$105.88
Vertex-Gemini-2$0.60$3.00$0.03$120.00
Aistudio-Gemini-3$0.8824$4.412$0.0441$176.47
Vertex-Gemini-3$1.80$9.00$0.09$360.00
Aistudio-Gemini-4$1.912$9.559$0.0956$382.36

hy4-preview by group

GroupInputOutputCache readMonthly example
Self-Deployed-1$0.2502$0.7503$0.0125$40.03
hunyuan-2$0.7923$2.376$0.0396$126.75

Same-group comparison

The two models share no group, so each monthly example uses its own groups (see the tables above).

Snapshot taken at build time on 2026-11-26. Actual charges follow the live price table on each model page and your console.

Capabilities

Itemgemini-4-carbonhy4-preview
ProviderGoogle腾讯
Context——
FeaturesConversation · Image Recognition · ToolsConversation · Tools
API formatsGemini generateContent · OpenAI Chat CompletionsOpenAI Chat Completions · Anthropic Messages
Long-context tiersNoNo

Which one to choose

  • Lower cost: hy4-preview is cheaper — about $40.03 vs $105.88 for gemini-4-carbon in the monthly example above.
  • Need the Anthropic Messages format (/v1/messages, e.g. tools like Claude Code): choose hy4-preview.
  • Need Image Recognition: gemini-4-carbon supports it.
  • Not sure? Send a small share of real traffic to each and compare quality and cost — switching only changes the model parameter.

Quick start

Base URL: https://api.openlux.ai/v1. The example uses gemini-4-carbon; change model to hy4-preview to call the other model.

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

Full parameters in the API docs

FAQ

Which is cheaper, gemini-4-carbon or hy4-preview?

At build time, the lowest public prices were: gemini-4-carbon (Aistudio-Gemini-2 group) input $0.5294, output $2.647 per 1M tokens; hy4-preview (Self-Deployed-1 group) input $0.2502, output $0.7503 per 1M tokens. For 100M input + 20M output tokens a month, gemini-4-carbon costs about $105.88 and hy4-preview about $40.03.

Can I use one API key for both gemini-4-carbon and hy4-preview?

Yes. Sign up for OpenLux, create an API key in the console, set the base URL to https://api.openlux.ai/v1 and set model to gemini-4-carbon or hy4-preview. Usage of both models is billed from the same balance.

Which API formats do gemini-4-carbon and hy4-preview support?

gemini-4-carbon: Gemini generateContent, OpenAI Chat Completions. hy4-preview: OpenAI Chat Completions, Anthropic Messages.

Is there a Batch API?

Not at the moment. OpenLux has no Batch API; all requests are real-time calls billed as such. For bulk jobs, send concurrent requests to the regular endpoints.

More

  • gemini-4-carbon pricing & access
  • hy4-preview pricing & access

More gemini-4-carbon comparisons

  • gemini-4-carbon vs gpt-5.5-pro
  • gemini-4-carbon vs gemini-3.1-pro-preview
  • gemini-4-carbon vs grok-4.3
  • gemini-4-carbon vs gpt-6.2-astra
  • gemini-4-carbon vs kimi-k3.1-pro
  • gemini-4-carbon vs claude-opus-5-5
  • gemini-4-carbon vs mimo-v2.6-pro
  • gemini-4-carbon vs grok-4.7

More hy4-preview comparisons

  • hy4-preview vs gpt-5.5-pro
  • hy4-preview vs gemini-3.1-pro-preview
  • hy4-preview vs grok-4.3
  • hy4-preview vs gpt-6.2-astra
  • hy4-preview vs kimi-k3.1-pro
  • hy4-preview vs claude-opus-5-5
  • hy4-preview vs mimo-v2.6-pro
  • hy4-preview vs grok-4.7
  • Model directory
  • All model pricing
  • Sign up and get an API key

Other languages: 中文 · 日本語 · 한국어

New API

Models

  • Text
  • Image
  • Media
  • Retrieval

Company

  • About
  • Partners
  • PersonalHot

Legal

  • Terms
  • Privacy
  • Usage
  • Disclaimer
  • Refunds
  • DPA
  • Compliance
  • Imprint

Docs

  • API
  • AI News
  • From OpenRouter
  • Announcements

More

  • Agent

One API for mainstream AI models

OpenLux©2026COGNIS AI PTE. LTD. All rights reserved

New API

One API for mainstream AI models

Models

  • Text
  • Image
  • Media
  • Retrieval

Company

  • About
  • Partners
  • PersonalHot

Docs

  • API
  • AI News
  • From OpenRouter
  • Announcements

More

  • Agent

OpenLux©2026COGNIS AI PTE. LTD. All rights reserved

Privacy | Terms | Usage | Disclaimer | Refunds | DPA | Compliance | Imprint |