Guilds AI / Blog

,

Free API Keys for AI: 4 Providers and Their Usage Limits

Google Gemini, Groq, OpenRouter and Cloudflare Workers AI offer ways to experiment with AI through APIs without paying for every request from the start. A free API key is not the same as unlimited free inference: the key authenticates your application, while the account, model, quota and billing settings determine what you can call.

This guide compares provider documentation reviewed on December 4, 2026. We also reviewed two complete third-party comparisons from CostBench and Dmytro Klymentiev, whose older model lists illustrate why current official terms matter. We did not create accounts or execute live requests for this article.

Four providers with free AI API access

ProviderFree routeMain restrictionUseful for
Google Gemini APIEligible free-tier models, including Gemini 4 HydrogenProject-specific quotas; free-tier data-use termsGeneral model development
GroqFree account with eligible modelsOrganization and model limits; check actual consoleOpen-model prototypes
OpenRouterEligible models ending in :free20 requests/minute; 50/day without qualifying credit purchasesTesting multiple model providers
Cloudflare Workers AI10,000 Neurons/day shared allocationModel eligibility and account-wide consumptionServerless and edge applications

Google Gemini API

Google’s pricing documentation lists free standard input and output for Gemini 4 Hydrogen on the eligible Free tier. Other Gemini models can have different access rules, so the model name matters. Create a key in Google AI Studio, then verify the active rate limits for the project. Google indicates that free-tier content for Hydrogen may be used to improve its products; do not submit sensitive information without reviewing the applicable terms. Follow our Gemini API key setup guide for the credential creation process.

Groq

GroqCloud provides a route for developers to experiment with supported models. Create a project and generate a key in the Groq console. Its public rate-limit documentation lists different limits for different models and directs users to the account settings for their exact limits. Because published base limits can refer to the Developer plan, do not assume that the numbers in the public table are your Free plan entitlement.

For a text-generation prototype, choose a currently available model in the console, record its request and token limits, and test a small non-sensitive prompt. Upgrade only if you need more capacity and accept the separate billing terms.

OpenRouter

OpenRouter uses a single credential across supported models. Its current free-model collection states that variants ending in :free do not require a credit purchase. Those variants are limited to 20 requests per minute and 50 per day; failed attempts count toward the daily limit. A qualifying credit purchase can increase the daily limit to 1,000, but that is no longer a zero-purchase starting route.

The openrouter/free routing option can select a free model dynamically. Use a specific supported free model if consistency matters, or test a free router if model flexibility is acceptable. Free models may change or become unavailable. Do not configure a paid fallback if the project’s spending must remain zero.

Cloudflare Workers AI

Cloudflare includes 10,000 Neurons per day in the Workers AI allocation. Neurons measure compute usage across models, rather than simply counting requests. Some resource-intensive models require a paid Workers plan, even if an allocation remains. On the Free plan, requests fail after the applicable daily quota is used.

Generate a restricted token for your Cloudflare account and use a supported model. Inspect the dashboard to see how much of the shared daily allocation each workload consumes. If you need image generation rather than text, our free image generation API guide covers model-specific considerations.

How to get your own free API key

Use the provider’s official console, not a shared-key repository or an account reseller. The exact menus vary, but the process is similar: create your own account, create or select a project, confirm that the chosen model is eligible for the free tier, generate a restricted credential and store it securely. Verify the account’s billing mode before sending traffic.

StepWhat to confirm
1. Select a providerAccount and country eligibility, model and data-use terms
2. Create a projectCorrect project or organization, Free plan where available
3. Create a credentialMinimum required permissions and appropriate scope
4. Make one test requestExpected model, response status and recorded usage
5. Apply limitsNo paid fallback; local request and token caps

For an OpenRouter prototype, the following illustrative shell request uses its documented free routing model. Set OPENROUTER_API_KEY in your shell or secret manager first. This example has not been executed.

curl -X POST https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer ${OPENROUTER_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{"model":"openrouter/free","messages":[{"role":"user","content":"Explain a JSON object in one sentence."}],"max_tokens":80}'

Inspect the response status and returned model identity. If the request fails, check credentials, model availability and account limits. A valid key does not guarantee that every model is accessible.

Does ChatGPT Plus or Runway include free API access?

Can I get a ChatGPT Plus API key?

ChatGPT Plus does not include OpenAI API usage. Create an API credential through the separate API platform and review that organization’s billing arrangement. OpenAI also documents conditional API credit benefits for eligible Pro and Business subscriptions, but Plus is not eligible for that benefit. Do not treat a paid ChatGPT subscription as an unrestricted API allowance.

Can I get a free Runway API key?

Runway’s developer setup guide states that a project needs credits before API generation, with a minimum initial payment of $10 at the time of review. Creating a credential does not remove that funding requirement. Browser-app allowances should not be assumed to transfer to the developer API. Compare the actual model costs and integration requirements in our video generation API guide.

Calculate how many requests your quota can support

Free access can be limited by requests per minute, requests per day, tokens per minute, daily tokens or compute credits. Your usable capacity is determined by whichever applicable limit you reach first.

Imagine an application with 20 requests per minute, 50 requests per day and a separate hypothetical token allowance of 100,000 tokens per day. If the application makes one model request for each user action, it can support at most 50 such actions before exhausting the request allowance. If each action instead uses three calls, the limit supports only 16 complete actions with two calls left. These figures illustrate request budgeting rather than a provider-specific token entitlement.

Test workloadCalls per actionActions from 50 calls
Single classification150
Draft plus review225
Plan, execute and verify316

Retries, failed attempts and background tasks can use some of that allowance. Reserve capacity for failures and stop new requests before the applicable limit is reached. Track actual usage in the provider’s dashboard and your application.

Keep your API keys and budget secure

An API key belongs to the account that created it. Never paste a secret into a public repository, client-side web code or a publicly shared spreadsheet. Use a server-side environment variable or secret manager. Restrict permissions, separate development and production credentials, and revoke a key immediately if it is exposed.

Avoid websites promising unlimited keys, pooled credentials or unauthorized access to premium models. They may distribute stolen or revoked secrets, violate provider terms or expose your prompts. Obtain your own credential through the official console.

For a strict zero-spend prototype, allow only explicitly verified free models, disable automatic paid fallback and automatic recharge where relevant, set request caps and check billing settings. A 429 response can indicate a quota or rate-limit problem; inspect the error and wait when appropriate rather than retrying indefinitely. A 401 response usually calls for checking authentication, not additional attempts with the same invalid secret.

Choose the right free API for your project

Start with Gemini if you need its supported model capabilities and accept the free-tier data terms. Evaluate Groq for eligible open-model workflows, OpenRouter for trying different free variants with one credential, and Workers AI if your project already uses Cloudflare. These are starting points rather than a quality or speed ranking. Use the same non-sensitive test dataset and measure correct outputs, response times, failures and quota consumption. If sustained usage exceeds the documented free allowance, reassess the workload and paid pricing before deployment.

Frequently asked questions

Are free AI API keys unlimited? No. A key can authenticate requests without an upfront fee, but the provider normally limits eligible models, request rates or usage.

Do I need a credit card to create a free API key? Requirements vary by provider, account and location. OpenRouter’s eligible free variants do not require a credit purchase; check the signup and billing screens for the others.

Can I use a free key in a commercial app? Check the provider and model terms, data-processing rules and quotas. Free evaluation access does not automatically include commercial rights or reliable production capacity.

Why does my free API key return a billing error? The credential may belong to a project without an available balance, the requested model may require payment, or the quota may be exhausted. Check the project, model and error details before changing billing settings.