New API
  • Home
  • Docs
  • Console
  • AgentAgentHotHot
  • Partners
Sign in
Home / Pricing / Models / claude-sonnet-5 vs gemini-3-flash-preview

claude-sonnet-5 vs gemini-3-flash-preview: API Pricing & Capabilities

Unit prices, a monthly cost example and capabilities of claude-sonnet-5 and gemini-3-flash-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.

claude-sonnet-5: Claude Sonnet 5 comes with a default 1 million-token context window (1 million tokens serves as both its default and maximum capacity; no variants with smaller context limits are available). It features a maximum output token limit of 128k, adaptive reasoning capabilities, and retains all the same tooling and platform functionalities as Claude Sonnet 4.6—with the sole exception of the Priority Tier feature, which is unsupported on Claude Sonnet 5.

gemini-3-flash-preview: gemini-3-flash-preview is our most intelligent model, combining speed with frontier intelligence and featuring excellent search and grounding capabilities.

Price overview

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

Itemclaude-sonnet-5gemini-3-flash-preview
ProviderAnthropicGoogle
GroupKiro-Claude-1Anti-Gemini-1
Input (USD / 1M tokens)$0.1765$0.0368
Output (USD / 1M tokens)$0.8824$0.2206
Cache read (USD / 1M tokens)$0.0176$0.00368
Monthly cost example$35.30$8.09

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.

claude-sonnet-5 by group

GroupInputOutputCache readMonthly example
Kiro-Claude-1$0.1765$0.8824$0.0176$35.30
Claude-Code-1$0.3529$1.765$0.0353$70.59
Claude-Code-2$0.5882$2.941$0.0588$117.65
Azure-Claude-1$0.8824$4.412$0.0882$176.47
Claude-Code-3$0.90$4.50$0.09$180.00
AWS-Bedrock-2$1.176$5.882$0.1176$235.30
AWS-Claude-2$1.765$8.824$0.1765$352.94
Anthropic-Claude-1$2.20$11.00$0.22$440.00
AWS-Claude-3$2.20$11.00$0.22$440.00

gemini-3-flash-preview by group

GroupInputOutputCache readMonthly example
Anti-Gemini-1$0.0368$0.2206$0.00368$8.09
Anti-Gemini-2$0.075$0.45$0.0075$16.50
Aistudio-Gemini-3$0.2206$1.324$0.0221$48.53
Vertex-Gemini-3$0.45$2.70$0.045$99.00
Aistudio-Gemini-4$0.4779$2.868$0.0478$105.15

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

Itemclaude-sonnet-5gemini-3-flash-preview
ProviderAnthropicGoogle
Context——
FeaturesConversation · Image Recognition · ToolsConversation · Image Recognition · Tools
API formatsAnthropic Messages · OpenAI Chat CompletionsGemini generateContent · OpenAI Chat Completions
Long-context tiersNoNo

Which one to choose

  • Lower cost: gemini-3-flash-preview is cheaper — about $8.09 vs $35.30 for claude-sonnet-5 in the monthly example above.
  • Need the Anthropic Messages format (/v1/messages, e.g. tools like Claude Code): choose claude-sonnet-5.
  • 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 claude-sonnet-5; change model to gemini-3-flash-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": "claude-sonnet-5",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Full parameters in the API docs

FAQ

Which is cheaper, claude-sonnet-5 or gemini-3-flash-preview?

At build time, the lowest public prices were: claude-sonnet-5 (Kiro-Claude-1 group) input $0.1765, output $0.8824 per 1M tokens; gemini-3-flash-preview (Anti-Gemini-1 group) input $0.0368, output $0.2206 per 1M tokens. For 100M input + 20M output tokens a month, claude-sonnet-5 costs about $35.30 and gemini-3-flash-preview about $8.09.

Can I use one API key for both claude-sonnet-5 and gemini-3-flash-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 claude-sonnet-5 or gemini-3-flash-preview. Usage of both models is billed from the same balance.

Which API formats do claude-sonnet-5 and gemini-3-flash-preview support?

claude-sonnet-5: Anthropic Messages, OpenAI Chat Completions. gemini-3-flash-preview: Gemini generateContent, OpenAI Chat Completions.

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

  • claude-sonnet-5 pricing & access
  • gemini-3-flash-preview pricing & access

More claude-sonnet-5 comparisons

  • claude-sonnet-5 vs claude-opus-5-5
  • claude-sonnet-5 vs gpt-6.1-sol
  • claude-sonnet-5 vs gpt-6-astra
  • claude-sonnet-5 vs gpt-6.2-astra

More gemini-3-flash-preview comparisons

  • gemini-3-flash-preview vs claude-opus-5-5
  • gemini-3-flash-preview vs gpt-6.1-sol
  • gemini-3-flash-preview vs gpt-6-astra
  • gemini-3-flash-preview vs gpt-6.2-astra
  • gemini-3-flash-preview vs gemini-3.5-flash-lite
  • gemini-3-flash-preview vs claude-fable-5-2
  • gemini-3-flash-preview vs gemini-3.5-flash
  • gemini-3-flash-preview vs gemini-3.1-pro-preview
  • 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 |