L LLM Cloud Hub
Side-by-side comparison

Qianfan-OCR-Fast (free) vs Gemma 4 31B (free)

Baidu Qianfan

Qianfan-OCR-Fast (free)

πŸ‘ Vision
Input / 1M
$0.0000
Output / 1M
$0.0000
View Qianfan-OCR-Fast (free) β†’
Google

Gemma 4 31B (free)

πŸ‘ Vision πŸ”§ Tools {} JSON
Input / 1M
$0.0000
Output / 1M
$0.0000
View Gemma 4 31B (free) β†’
Qianfan-OCR-Fast (free)Gemma 4 31B (free)
Provider Baidu Qianfan Google
Context window Maximum tokens (input + output) the model can process in a single request. Glossary β†’ 65,536 262,144
Capabilities Optional capabilities the model advertises: vision (images), tools (function calling), json_mode (structured output). vision vision, tools, json_mode
Input $ / 1M tokens Cost for tokens you send (prompt + context). Cheaper side highlighted. Glossary β†’ 0.0000 0.0000
Output $ / 1M tokens Cost for tokens the model generates. Output is normally 3–5Γ— pricier than input. Glossary β†’ 0.0000 0.0000

Frequently asked questions

Which is cheaper, Qianfan-OCR-Fast (free) or Gemma 4 31B (free)?

Qianfan-OCR-Fast (free) is cheaper than Gemma 4 31B (free) on a 50/50 input/output blend by about $0 per 1M tokens. Exact savings depend on your input-vs-output ratio β€” use the cost calculator on this page for a workload-specific estimate.

Which has a larger context window, Qianfan-OCR-Fast (free) or Gemma 4 31B (free)?

Gemma 4 31B (free) has the larger context window at 262k tokens versus 66k tokens for Qianfan-OCR-Fast (free). That means Gemma 4 31B (free) can ingest about 4.0x as much text per request.

What is the difference between Qianfan-OCR-Fast (free) and Gemma 4 31B (free)?

Qianfan-OCR-Fast (free) comes from Baidu Qianfan; Gemma 4 31B (free) comes from Google. They differ in pricing, context window, and supported capabilities β€” see the side-by-side table on this page for the exact figures, refreshed nightly.

Keyboard shortcuts

?
Show this overlay
/
Focus the first form field
g h
Go to / (home)
g b
Go to /best-llm-for
g c
Go to /cost
g s
Go to /self-hosted
g x
Go to /compliance
Esc
Close any overlay

Inspired by Linear and GitHub conventions. The two-key sequences (g then h) work within ~1 second.