New API
  • Home
  • Docs
  • Console
  • AgentAgentHotHot
  • Partners
Sign in
Home / Pricing / Models / claude-fable-5 vs gemini-3.1-pro-preview

claude-fable-5 vs gemini-3.1-pro-preview: API Pricing & Capabilities

Unit prices, a monthly cost example and capabilities of claude-fable-5 and gemini-3.1-pro-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-fable-5: Claude‑fable‑5 is a publicly available, high-performance large language model from Anthropic featuring ultra-long context, multimodal understanding, complex reasoning, and enterprise-grade knowledge work capabilities, backed by strict safety protections.

gemini-3.1-pro-preview: Gemini 3.1 is Google's most intelligent model family to date, grounded in advanced reasoning. It is designed to turn any idea into reality by mastering agentic workflows, autonomous coding, and complex multimodal tasks. gemini-3.1-pro-preview is best suited for complex tasks requiring broad world knowledge and advanced cross-modal reasoning.

Price overview

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

Itemclaude-fable-5gemini-3.1-pro-preview
ProviderAnthropicGoogle
GroupClaude-Code-1Vertex-Gemini-1
Input (USD / 1M tokens)$1.765$0.40
Output (USD / 1M tokens)$8.823$2.40
Cache read (USD / 1M tokens)$0.1765$0.04
Monthly cost example$352.94$88.00

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

gemini-3.1-pro-preview has long-context tiers; the example uses first-tier prices.

Prices by group

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

claude-fable-5 by group

GroupInputOutputCache readMonthly example
Claude-Code-1$1.765$8.823$0.1765$352.94
Claude-Code-2$2.941$14.706$0.2941$588.24
Claude-Code-3$4.50$22.50$0.45$900.00
AWS-Bedrock-2$5.882$29.412$0.5882$1,176.48
AWS-Claude-2$8.824$44.118$0.8824$1,764.72
Anthropic-Claude-1$11.00$55.00$1.10$2,200.00
AWS-Claude-3$11.00$55.00$1.10$2,200.00

gemini-3.1-pro-preview by group

GroupInputOutputCache readMonthly example
Vertex-Gemini-1$0.40$2.40$0.04$88.00
Aistudio-Gemini-2$0.5294$3.177$0.0529$116.47
Vertex-Gemini-2$0.60$3.60$0.06$132.00
Aistudio-Gemini-3$0.8824$5.294$0.0882$194.12
Vertex-Gemini-3$1.80$10.80$0.18$396.00
Aistudio-Gemini-4$1.912$11.471$0.1912$420.59

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-fable-5gemini-3.1-pro-preview
ProviderAnthropicGoogle
Context——
FeaturesConversation · Image Recognition · ToolsConversation · Thinking · Multimodal · Image Recognition
API formatsAnthropic Messages · OpenAI Chat CompletionsGemini generateContent · OpenAI Chat Completions
Long-context tiersNoYes

Which one to choose

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

Full parameters in the API docs

FAQ

Which is cheaper, claude-fable-5 or gemini-3.1-pro-preview?

At build time, the lowest public prices were: claude-fable-5 (Claude-Code-1 group) input $1.765, output $8.823 per 1M tokens; gemini-3.1-pro-preview (Vertex-Gemini-1 group) input $0.40, output $2.40 per 1M tokens. For 100M input + 20M output tokens a month, claude-fable-5 costs about $352.94 and gemini-3.1-pro-preview about $88.00.

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

Which API formats do claude-fable-5 and gemini-3.1-pro-preview support?

claude-fable-5: Anthropic Messages, OpenAI Chat Completions. gemini-3.1-pro-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-fable-5 pricing & access
  • gemini-3.1-pro-preview pricing & access

More claude-fable-5 comparisons

  • claude-fable-5 vs claude-opus-4-7
  • claude-fable-5 vs gemini-4-carbon
  • claude-fable-5 vs claude-fable-5-2
  • claude-fable-5 vs claude-fable-5-1
  • claude-fable-5 vs claude-opus-5
  • claude-fable-5 vs claude-opus-4-8
  • claude-fable-5 vs gpt-5.5-pro
  • claude-fable-5 vs gpt-5.5

More gemini-3.1-pro-preview comparisons

  • gemini-3.1-pro-preview vs gemini-4-carbon
  • gemini-3.1-pro-preview vs gpt-5.5-pro
  • gemini-3.1-pro-preview vs grok-4.3
  • gemini-3.1-pro-preview vs gpt-6.2-astra
  • gemini-3.1-pro-preview vs kimi-k3.1-pro
  • gemini-3.1-pro-preview vs claude-opus-5-5
  • gemini-3.1-pro-preview vs mimo-v2.6-pro
  • gemini-3.1-pro-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 |