Skip to content

Free LLM API keys

Find official API keys with free usage. Compare quotas and signup requirements.

Free API key sources

6 providers

Free tiers

  • Groq

    Free tier

    OpenAI-compatible chat models on GroqCloud.

    Example model openai/gpt-oss-20b
    1,000 requests / dayGPT OSS 20B per organization
    Check signup requirements
  • Gemini

    Free tier

    Gemini text models from Google AI Studio.

    Example model gemini-3.5-flash-lite
    Free text input and outputGemini 3.5 Flash-Lite; project-specific limits
    Depends on project and region
  • OpenRouter

    Free tier

    Multiple free chat models with one API key.

    Example model openrouter/free
    50 requests / dayShared across free models per account
    No card required
  • Run hosted text, embedding, and image models through a Cloudflare API token.

    Example model @cf/google/gemma-4-26b-a4b-it
    10,000 Neurons / dayShared across eligible models per account
    Card requirement unconfirmed

Trials & evaluation keys

  • Cerebras

    Limited trial

    Shared inference with starter trial credits.

    Example model gpt-oss-120b
    $5 in creditsEligible accounts; expires after 30 days
    Payment method required
  • Cohere

    Limited trial

    Evaluate chat, embeddings, reranking, and audio transcription with a free trial key.

    Example model command-a-plus-05-2026
    1,000 API calls / monthEvaluation key; rate limits vary by endpoint
    Card requirement unconfirmed
Official limits & pricing

Recently checked

How we check free tiers

Make your first API request

Create a key with your provider, then test it in your own project.

First-request checklist

  1. Pick an offer

    Check the quota, any credit expiry, and whether the provider asks for a payment method.

  2. Create a key

    Open the official signup page, create a key, and save it as an environment variable.

  3. Send a small request

    Start with the provider’s Base URL and exact model ID. Use a short prompt to confirm the setup.

Python quickstarts

Follow the setup, copy a script, and run a text request.

How to compare free LLM API keys

Choose a provider that can run your first real task, then confirm what your account can use. Compare the model and endpoint, the free allowance, and the steps needed to activate it.

Choose by the work your app needs to do

If you are comparing free LLM API keys for a chatbot, start with the chat filter and pick a model that can answer one typical prompt from your project. For a support bot, try a short question with the product details it needs. For an extraction script, use one sample record and check that you can parse the response in the format your app expects. If the first test succeeds, try a realistic input length before you estimate how many requests will fit in a day.

For search over documents, start with embeddings. An embedding turns text into a vector you can store and compare. Use the same embedding model for your documents and queries so the vectors remain comparable. A reranker comes later. It takes a query and the candidate results you already found, and scores how well they match. Those two steps can use separate endpoints and have separate limits. If you only need to improve the order of an existing result list, start with the reranking filter.

Image generation and speech need their own checks. Select the relevant category and use the model and API docs shown in that filtered row. For image generation, check the parameters you need, such as output size. For transcription, check the accepted file formats and maximum audio length or upload size. When you use free LLM API keys for more than one task, read each endpoint’s limits and confirm whether it draws from a shared balance. The directory shows a model example for each listed use.

Compare the quota and what uses it up

Read the unit next to each allowance. Requests per minute limit bursts. Requests per day limit the total number of calls over a day. Token limits govern how much text you can send or generate and can apply alongside request limits. With a token-heavy task, a small number of long prompts can exhaust capacity before the request counter is full. Start by estimating calls per user action, average input size, and typical output length.

For example, a service that allows 20 calls per minute and 100 per day can accept a short burst, but a job that sends all 100 calls at once can hit the minute limit immediately. That same job would use the entire day’s allowance once all requests succeed. Check your provider’s reset time and spread background jobs over the available window when the workload permits it.

Compare free LLM API keys at the scope shown on each listing. A project cap can be shared by the scripts that use that project. A model cap applies to the model identified in the provider’s documentation. A shared credit balance can cover several models or endpoints. When you switch models, check whether the same budget still applies. For examples of two different scopes, see Groq’s model limits and the shared Workers AI allowance.

For a one-off demo, a trial can be useful if the credit balance and expiry cover the test. For a recurring prototype, check when the free quota renews and what happens after you reach the cap. Estimate usage with the unit the provider actually charges or counts. A dollar balance, a token cap, and a compute allowance can support very different amounts of work on the same task.

If you are making a shortlist of free LLM API keys, write down your expected call volume and test window next to each offer. For example, a nightly job that embeds new documents needs a recurring allowance and a way to resume after a limit. A demo with a fixed test date mainly needs enough capacity that day.

Check signup and billing before creating a key

Use the No card filter when you need free LLM API keys with a documented route that starts without a payment method. The application link takes you to the provider’s own console. Before you create the key, check the plan selected for your project, your account’s eligibility, and whether your chosen model is included. Availability and billing can depend on the account or project. Use your console to resolve anything the listing marks as variable or unconfirmed.

A provider can offer initial credit and still require a verified payment method to activate it. Check the signup conditions and the credit expiry before planning a demo around the offer. Cerebras is an example of a time-limited trial with a payment method requirement. Cohere offers an evaluation key with endpoint-specific limits, which is useful when you need to test an integration. For the applicable terms, see Cerebras trial details and Cohere evaluation limits.

Before you connect a service that runs unattended, look at the account’s usage page, the chosen model’s pricing and what happens when free access runs out. If the provider offers a spending cap, set it for the project before scheduling requests. When sharing a recommendation, include the provider, model and offer type so a teammate can check the same terms in their own account.

Test a key with a small request first

Use the Base URL, model ID and API key from the same provider. Load the key in a local environment variable. The OpenAI Python SDK can send requests to a compatible endpoint when it is configured with that provider’s Base URL. Keep the request body small and use the exact example model. For speech, embeddings, image generation or reranking, start from the provider’s docs for that endpoint so your first request has the right inputs.

When testing free LLM API keys, keep track of which model and plan produced the response. A successful short call confirms that the key and request work together at that moment. Use the account limits page to check how much capacity remains before adding concurrency or a larger batch. For a runnable text example with matching setup commands, open the Groq Python quickstart or Gemini Python quickstart.

If the request fails, read the error message before changing the setup. For an authentication error, check that the script read the right environment variable and that the key belongs to the provider in the Base URL. For a model access error, confirm the exact model ID and whether the project can use it. For a quota error, compare the recent requests with the provider’s limits and check the reset time or retry instructions before running again.

Return to the directory when a model or offer changes. The Docs checked date on each listing tells you when its published terms were reviewed. The provider’s account console shows the allowance assigned to your own account. Compare free LLM API keys using those two sources, then retest the first call whenever you change the provider, project or model. How we check free API tiers

Frequently asked questions

Choosing a free tier, setting up a key, and dealing with limits.

Where do I get a free LLM API key?

Use the Get API key link for your chosen provider. Create the key in that provider’s console and check the free allowance for your account.

What is the difference between a free tier and trial credits?

A free tier uses the provider’s recurring limits. A trial starts with a fixed credit balance and may expire. The provider detail page shows which offer applies.

Can I use the OpenAI Python SDK?

Several providers expose OpenAI-compatible endpoints. Set the SDK to your provider’s Base URL and use the matching API key and model ID. The Groq and Gemini guides show both settings.

What should I do if a request returns 429?

Check your account’s rate limits and the time until the quota resets. If the response provides a Retry-After header, wait that long before retrying.