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 caseSetup recipe
Docs fallbackUse the provider REST API or SDKCreate a provider API keymodel: @cf/google/gemma-3-12b-it@cf/google/gemma-3-12b-itRequest example
@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
| Provider | Input (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
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.34 |
| Output tokens | $0.56 |
Capabilities
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.
FAQ
What does Gemma 3 12B cost on Cloudflare Workers AI?
On Cloudflare Workers AI, Gemma 3 12B costs $0.345 per 1M input tokens and $0.556 per 1M output tokens.
What is the context window for Gemma 3 12B on Cloudflare Workers AI?
Gemma 3 12B supports a 33k token context window on Cloudflare Workers AI.
How does Cloudflare Workers AI compare to other Gemma 3 12B providers?
Gemma 3 12B is available from 5 providers. The cheapest input pricing is $0.04/1M tokens from OpenRouter.
What API model ID do I use for Gemma 3 12B on Cloudflare Workers AI?
Use the model ID @cf/google/gemma-3-12b-it when calling Cloudflare Workers AI's API.
Who created Gemma 3 12B?
Gemma 3 12B was created by Google DeepMind as part of the Gemma 3 model family.
Is Gemma 3 12B open source?
Gemma 3 12B is not open source; the seed data lists it as proprietary.