Gemma 7B Instruct on Cloudflare Workers AI

Gemma · Google DeepMind

ServerlessOpen Weights

Last refreshed 2026-04-24. Next refresh: weekly.

Why use Gemma 7B Instruct on Cloudflare Workers AI?

Cloudflare Workers AI offers Gemma 7B Instruct with competitive pricing. 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 7B Instruct across 8 providers to find the best fit for your use case
Input / 1M
-
Output / 1M
-
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-7b-it
Model ID
@cf/google/gemma-7b-it

Request example

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

Gotchas

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

Compare Gemma 7B Instruct Across Providers

ProviderInput (per 1M)Output (per 1M)
NVIDIA NIM——
Fireworks AI$0.20$0.20
Together AI$0.20$0.20
GCP Vertex AI$0.10$0.30
Cloudflare Workers AI——
View all 8 providers →

Capabilities

Structured Outputs

About Gemma 7B Instruct

Gemma 7B Instruct is a cutting-edge large language model developed by Google DeepMind, boasting 7 billion parameters. As part of the Gemma family, it benefits from the advanced research underpinning Google's Gemini models. This model is optimized for text generation tasks, excelling in areas like question answering and summarization, and it is finely tuned to follow instructions effectively. Despite its compact size, Gemma 7B Instruct performs impressively on benchmarks, making it versatile for deployment across various hardware platforms, from laptops to cloud infrastructure.

Get Started