Skip to content
Free LLM Today

Google Gemini API vs Cloudflare Workers AI: free tiers compared

Both columns come from each provider’s own pages, with the day each line was read. Where a page does not state a value, the cell says so.

Google Gemini API and Cloudflare Workers AI free tiers side by side
LineGoogle Gemini APIFree tierCloudflare Workers AIFree tier
Free allowance
Not published

Limits are per project and shown only inside Google AI Studio.

10,000 Neurons/day

Resets at 00:00 UTC. Going above it needs Workers Paid ($0.011 per 1,000 Neurons).

Requests / min
Not published

Not published per model: “Rate limits … can be viewed in Google AI Studio.”

Not published

The allowance is counted in Neurons, not in requests.

Requests / day
Not published

Not published per model: “Rate limits … can be viewed in Google AI Studio.”

Not published

The allowance is counted in Neurons, not in requests.

Tokens / min
Not published

Not published per model.

Not published

The allowance is counted in Neurons, not in tokens.

Tokens / day
Not published

Not published per model.

Not published

The allowance is counted in Neurons, not in tokens.

Card to start
Not required

The Free tier qualifies with an “Active project or free trial”; no billing tier is involved.

Not verified
Trains on your data
Yes

On unpaid services, content is used “to provide, improve, and develop Google products”, and human reviewers may read it.

No

“Cloudflare does not use your Customer Content to train any AI models made available on Workers AI.”

Commercial use
Restricted

Only Paid Services may be used for API clients offered to users in the EEA, Switzerland or the UK.

Not verified
OpenAI SDK
Yes

Chat completions and embeddings; the base URL contains your account id.

Image input
Yes

Gemini models take images natively.

Not verified

20 of 24 cells above were read on the provider’s own page in the last 30 days (oldest check: ). Each check mark opens that page. The other 4 say “not verified” instead of repeating a number from someone else’s article.

Where they differ

  • Use of your prompts for training: Google Gemini API, yes; Cloudflare Workers AI, no.
  • Google Gemini API commercial use: restricted. Only Paid Services may be used for API clients offered to users in the EEA, Switzerland or the UK.
  • Image input is confirmed on Google Gemini API and not confirmed on Cloudflare Workers AI.

Only differences confirmed on both sides are listed. We do not rank speed or output quality: this site does not measure them.

Same code for both

Both expose an OpenAI-compatible endpoint. Choose either provider below and compare the three values that change.

Language
base_url
https://generativelanguage.googleapis.com/v1beta/openai/
model
gemini-3.8-flash
key from
$GEMINI_API_KEY
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://generativelanguage.googleapis.com/v1beta/openai/",
    api_key=os.environ["GEMINI_API_KEY"],
)

reply = client.chat.completions.create(
    model="gemini-3.8-flash",
    messages=[{"role": "user", "content": "Reply with the word: ok"}],
)
print(reply.choices[0].message.content)
Endpoint read on · ai.google.dev

The key is read from an environment variable on your machine. This site has no field for keys and never asks for one.

Other comparisons

Questions and answers

Which has the higher free limit, Google Gemini API or Cloudflare Workers AI?

Google Gemini API: not published (Limits are per project and shown only inside Google AI Studio). Cloudflare Workers AI: 10,000 Neurons/day. The units differ between providers, so compare them against your own traffic.

Do Google Gemini API and Cloudflare Workers AI need a credit card?

Google Gemini API: not required. Cloudflare Workers AI: not verified on an official page.

Which one trains on my prompts?

Google Gemini API: yes. Cloudflare Workers AI: no.

Can I use both with the same code?

Yes. Both expose an OpenAI-compatible endpoint: https://generativelanguage.googleapis.com/v1beta/openai/ and https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1. Only the base URL, the model name and the key change.