🔥 Black Friday AI API deals are live· 🎬 Seedance 2.5 — 20% off, up to 42% below market, until Nov 30Ends in--d --:--:--See deals →
Models/Gemini 4
New4 modelsPublished

Gemini 4 API — Argon, Carbon, Hydrogen and Neon Models

Gemini 4 is Google DeepMind's frontier model series. Gemini 4 Argon is a reasoning model with a 1M-token unified context and output window for long-horizon coding, knowledge work, and cybersecurity. Gemini 4 Carbon is the newer security-focused model, ranked first on the Artificial Analysis Intelligence Index. Gemini 4 Hydrogen is the fast, efficient model for everyday coding and agentic workflows. Gemini 4 Neon sits between Hydrogen and Carbon for high-frequency complex work.Muapi exposes all four through simple endpoints with text and image input, an optional system prompt, token-based billing at per-token rates, and the same asynchronous submit-and-poll contract as every other model.

i

Gemini 4 Argon, Carbon and Hydrogen are available now via API

Try Gemini 4 Argon, Gemini 4 Carbon or Gemini 4 Hydrogen in the playground, or call them from your own code with a Muapi API key. More Gemini 4 models will be added to this page as they launch.

Gemini 4 Argon

Frontier reasoning with a 1M-token unified context and output window1 models
Text GenerationNew
Argon

Gemini 4 Argon

Google DeepMind's frontier reasoning model with a 1M-token unified context and output window. Accepts text and an optional image plus a system prompt, billed per token.

Text + Image in
$2.00/M in · $10.00/M out
Try Model

Gemini 4 Carbon

Security-focused frontier reasoning for vulnerability discovery, patching, and secure code1 models
Text GenerationNew
Carbon

Gemini 4 Carbon

Google DeepMind's security-focused frontier model, strong at vulnerability discovery, patching, and secure code generation. Accepts text and an optional image plus a system prompt and reasoning effort, billed per token.

Text + Image in
$4.00/M in · $20.00/M out
Try Model

Gemini 4 Hydrogen

Fast, efficient reasoning for everyday coding and agentic workflows1 models
Text GenerationNew
Hydrogen

Gemini 4 Hydrogen

Google's fast, efficient Gemini 4 model for everyday coding and agentic workflows. Accepts text and an optional image plus a system prompt and reasoning effort, billed per token.

Text + Image inFast
$1.50/M in · $7.50/M out
Try Model

Gemini 4 Neon

High-frequency reasoning for complex coding, analysis, and research1 models
Text GenerationNew
Neon

Gemini 4 Neon

Google's Gemini 4 model for high-frequency complex work in coding, analysis, and research, between Hydrogen and Carbon. Accepts text and an optional image plus a system prompt and reasoning effort, billed per token.

Text + Image in
$4.00/M in · $20.00/M out
Try Model

What is Gemini 4 Argon?

Gemini 4 Argon is the first model in Google DeepMind's Gemini 4 series. It is a frontier reasoning model designed for long-horizon coding, knowledge work, and cybersecurity analysis, with a 1M-token unified context and output window that lets you pass in whole repositories, contracts, or research corpora and receive long, structured answers in one call.

Muapi wraps it as a single gemini-4-argon endpoint. Send a prompt with an optional image_url and system_prompt, then poll the shared result endpoint. For faster, cheaper everyday chat, see Gemini 3.8 Flash.

Gemini 4 Carbon is the newer, security-focused model in the series. It ranks first on the Artificial Analysis Intelligence Index and posts state-of-the-art results on vulnerability discovery, exploitation, and patching benchmarks. On Muapi it is the gemini-4-carbon endpoint, with the same fields as Argon plus a reasoning_effort control (low, medium, or high).

Gemini 4 Hydrogen is the fast, efficient model in the series, built for everyday coding and agentic workflows and succeeding Gemini 3.8 Flash. On Muapi it is the gemini-4-hydrogen endpoint, with the same fields as Carbon and a reasoning_effort control that adds an xhigh level (low, medium, high, or xhigh).

Gemini 4 Argon capabilities

1M-token unified context and output

Work across very large inputs and generate long outputs without chunking your data.

Frontier reasoning

Multi-step planning and analysis for hard coding, research, and decision-support tasks.

Multimodal input

Include an image alongside your prompt to ask about screenshots, diagrams, or documents.

System prompts

Steer persona, tone, and output format with a dedicated system_prompt field.

Official token pricing

Pay $2.00 per million input tokens and $10.00 per million output tokens, with no subscription.

Security-focused reasoning (Carbon)

Gemini 4 Carbon targets vulnerability discovery, patching, and secure code generation, with adjustable reasoning effort.

Fast everyday coding (Hydrogen)

Gemini 4 Hydrogen targets quick, efficient coding and agent work at $1.50 per million input tokens and $7.50 per million output tokens.

High-frequency complex work (Neon)

Gemini 4 Neon targets coding, analysis, and research between Hydrogen and Carbon at $4.00 per million input tokens and $20.00 per million output tokens.

Gemini 4 Argon use cases

Long-horizon coding

Plan, implement, and refactor across large codebases using the full 1M-token context.

Knowledge work

Analyze long reports, contracts, and research papers and produce structured summaries.

Cybersecurity review

Audit code and configuration for vulnerabilities and draft remediation steps.

Agent planning

Use Argon as the reasoning core of multi-step agents and automated workflows.

Visual document Q&A

Ask questions about screenshots, charts, and scanned pages by attaching an image.

Secure code review (Carbon)

Audit pull requests for injection and memory-safety flaws, then generate patches with Gemini 4 Carbon.

Gemini 4 Argon vs Carbon vs Hydrogen vs Neon vs Gemini 3.8 Flash

FeatureGemini 4 ArgonGemini 4 CarbonGemini 4 HydrogenGemini 4 NeonGemini 3.8 Flash
PositioningFrontier reasoningSecurity-focused frontier reasoningFast, efficient everyday codingHigh-frequency complex workFast, low-cost chat
Context window1M-token unified context and outputNot published by GoogleUp to 1M tokens (as reported by Google)Up to 1,048,576 tokens (input, thinking, and output combined)Large context, optimized for latency
InputText, image, system promptText, image, system prompt, reasoning effortText, image, system prompt, reasoning effortText, image, system prompt, reasoning effortText, image, system prompt
Price (input / output per 1M tokens)$2.00 / $10.00$4.00 / $20.00$1.50 / $7.50$4.00 / $20.00$2.50 / $12.50
Best forLong-horizon coding and deep analysisVulnerability analysis and secure codeEveryday coding and agentic workflowsCoding, analysis, and research at volumeReal-time assistants and high-volume tasks

Quick start — Gemini 4 API

Submit a JSON request with your Muapi API key, save the request ID, and poll the shared result endpoint for the completed text.

1. Submit a prompt

curl -X POST https://api.muapi.ai/api/v1/gemini-4-argon \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"Review this design doc and list the three biggest risks with mitigations","system_prompt":"You are a staff engineer. Be concise and specific."}'

# Response: {"request_id":"REQUEST_ID"}

Call gemini-4-argon with a prompt, and optionally a system_prompt and image_url.

1b. Submit to Gemini 4 Carbon

curl -X POST https://api.muapi.ai/api/v1/gemini-4-carbon \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"Audit this function for injection vulnerabilities and propose a patch","system_prompt":"You are a senior application security engineer.","reasoning_effort":"high"}'

# Response: {"request_id":"REQUEST_ID"}

Call gemini-4-carbon with a prompt, and optionally a system_prompt, image_url, and reasoning_effort.

1c. Submit to Gemini 4 Hydrogen

curl -X POST https://api.muapi.ai/api/v1/gemini-4-hydrogen \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"Refactor this function to remove the nested loops and explain the change","system_prompt":"You are a senior software engineer. Be concise.","reasoning_effort":"high"}'

# Response: {"request_id":"REQUEST_ID"}

Call gemini-4-hydrogen with a prompt, and optionally a system_prompt, image_url, and reasoning_effort (low, medium, high, or xhigh).

1d. Submit to Gemini 4 Neon

curl -X POST https://api.muapi.ai/api/v1/gemini-4-neon \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"Review this module for bugs and summarize the main risks","system_prompt":"You are a senior software engineer. Be concise.","reasoning_effort":"high"}'

# Response: {"request_id":"REQUEST_ID"}

Call gemini-4-neon with a prompt, and optionally a system_prompt, image_url, and reasoning_effort (low, medium, high, or xhigh).

2. Poll the result

curl https://api.muapi.ai/api/v1/predictions/REQUEST_ID/result \
  -H "x-api-key: YOUR_API_KEY"

# Poll until status is completed, then read the generated text from outputs.

Poll until the task is completed, then read the generated text from outputs.

Gemini 4 FAQ

What is Gemini 4 Argon?

Gemini 4 Argon is the first model in Google DeepMind's Gemini 4 series, a frontier reasoning model with a 1M-token unified context and output window for long-horizon coding, knowledge work, and cybersecurity.

What is Gemini 4 Carbon?

Gemini 4 Carbon is Google DeepMind's newer, security-focused Gemini 4 model. It ranks first on the Artificial Analysis Intelligence Index and is strong at finding, exploiting, and patching vulnerabilities as well as secure code generation.

What is Gemini 4 Hydrogen?

Gemini 4 Hydrogen is Google's fast, efficient Gemini 4 model, adapted from Gemini 4 Carbon and built for everyday coding and agentic workflows. It succeeds Gemini 3.8 Flash and supports four reasoning effort levels.

What is Gemini 4 Neon?

Gemini 4 Neon is Google's Gemini 4 model for high-frequency complex work (coding, analysis, research), positioned between Gemini 4 Hydrogen and Gemini 4 Carbon.

How much does the Gemini 4 Argon API cost on Muapi?

Billing is per token at $2.00 per million input tokens and $10.00 per million output tokens, with a minimum charge of $0.0002 per call. There is no subscription.

How much does the Gemini 4 Carbon API cost on Muapi?

Billing is per token at $4.00 per million input tokens and $20.00 per million output tokens, with a minimum charge of $0.0004 per call. There is no subscription.

How much does the Gemini 4 Hydrogen API cost on Muapi?

Billing is per token at $1.50 per million input tokens and $7.50 per million output tokens, with a minimum charge of $0.00015 per call. There is no subscription.

How much does the Gemini 4 Neon API cost on Muapi?

Billing is per token at $4.00 per million input tokens and $20.00 per million output tokens, with a minimum charge of $0.0004 per call. Reasoning tokens count as output. There is no subscription.

Does Gemini 4 Argon accept images?

Yes. Pass an image_url with your prompt to ask questions about a screenshot, diagram, or photographed document.

How do I get the response?

The endpoint is asynchronous. You receive a request_id immediately, then poll the predictions result endpoint or provide a webhook URL to be notified when the text is ready.

Will other Gemini 4 models be added?

This page covers the Gemini 4 series. Argon, Carbon, and Hydrogen are available now, and additional Gemini 4 models will be listed here as they launch.

How is Gemini 4 Argon different from Gemini 3.8 Flash?

Argon is the frontier reasoning tier built for deep, long-context work, while Flash is optimized for low-latency, high-volume chat. Both use the same prompt, image_url, and system_prompt fields.

Ready to use Gemini 4?

Add frontier reasoning with a 1M-token context to your product with one API.