LLM Reference
Cloudflare Workers AI

Gemma 3 12B on Cloudflare Workers AI

Gemma 3 · Google DeepMind

ServerlessOpen Weights

Last refreshed 2026-05-22. Next refresh: weekly.

Why use Gemma 3 12B on Cloudflare Workers AI?

Cloudflare Workers AI offers Gemma 3 12B with pay-as-you-go pricing at $0.34/1M input tokens. Cloudflare is a leading connectivity cloud company that provides a comprehensive suite of cloud-native products and developer tools to enhance web performance, security, and reliability.

Compare Gemma 3 12B across 5 providers to find the best fit for your use case
Input / 1M
$0.345
Output / 1M
$0.556
Cache
Not sourced
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: @cf/google/gemma-3-12b-it
Model ID
@cf/google/gemma-3-12b-it

Request example

Curated snippets for this provider are not sourced yet. Use Cloudflare Workers AI documentation with model ID @cf/google/gemma-3-12b-it.

Gotchas

  • Use provider model ID "@cf/google/gemma-3-12b-it", not the LLMReference slug "gemma-3-12b-it".

Compare Gemma 3 12B Across Providers

ProviderInput (per 1M)Output (per 1M)
Cloudflare Workers AI$0.34$0.56
AWS Bedrock$0.30$0.30
OpenRouter$0.04$0.13
GCP Vertex AI$0.04$0.13
Novita AI$0.05$0.10

Pricing

TypePrice (per 1M)
Input tokens$0.34
Output tokens$0.56

Capabilities

Structured Outputs

About Gemma 3 12B

Gemma 3 12B is Google DeepMind's Gemma 3 model. It offers a 33K-token context window with weights openly available for self-hosting.

Get Started

Model Specs

Released2026-01-01
Parameters12B
Context33k
ArchitectureDecoder Only
Knowledge cutoff2024-08