Is the LLM API Free? 5-Step Free Tier Check and Spend Limits (2026)

Blog / AI concepts

Is the LLM API Free? 5-Step Free Tier Check and Spend Limits (2026)

Some LLM APIs have a free tier, some don't, some offer one only to new users, and the rules change often. So there is no single answer that stays true for long. The reliable approach is to check the vendor's official pricing page and console directly, then set a spending cap on your account. Here is how, in order.

This article reflects the situation as of October 2026. It deliberately lists no vendor's specific free-tier numbers, because figures like these can change within a few months. Go by what each official page shows on the day you check.

What does "free" actually mean?

Search for "free LLM API" and you will find several different things mixed together. Separate them first:

TypeCommon formWatch out for
New-user creditA trial balance in your account after sign-upUsually has an expiry date; expires worthless
Permanent free tierCertain models or rate tiers are freeOften rate-limited with request caps; data-use terms may differ, so check the official docs
Free modelsModels labeled "free" on aggregator platformsAvailability and rate limits can fluctuate
Free web versionThe chat website or app is free to useBilled separately from the API; it is not API credit

The last one causes the most confusion. Web subscriptions and the API are billed separately, which is explained in detail in ChatGPT Plus vs. the OpenAI API.

How do you check whether a provider has a free tier?

These 5 steps work for any provider.

Step 1: Open the official pricing page and look for "free" or "trial"

Look only at pricing pages or pricing docs on the official domain. Find three things: whether there is a free tier or trial credit, which models the free part covers, and whether the free part has rate or request limits. If the page doesn't say it, assume it doesn't exist. Don't infer from third-party articles.

Pricing pages change too. cdnping's site changes tracker monitors the official changelogs and pricing pages of several vendors and records changes line by line, so you can use it to see whether a page has been edited recently.

Step 2: Sign up, open the console, and check the real balance

A pricing page tells you what you might get; the console shows what you have. After you sign up and complete any required verification, open the billing or usage page and look for a granted balance and whether it shows an expiry date. Menu locations differ by provider, so follow the official docs.

If you don't have an API key yet, read What is an API key? first, then follow the provider's own process, for example How to get an OpenAI API key or How to get a DeepSeek API key.

Step 3: Write down the expiry date

If the granted credit has a deadline, put the date in your calendar. Unused credit usually does not carry over after it expires, and it is not converted to cash.

Step 4: Find out what happens when the credit runs out

This is the most important step. There are two common outcomes:

  • Requests are simply rejected with an insufficient-quota or rate-limit style error, and you are not charged.
  • If the account has a payment method attached or pay-as-you-go billing enabled, the overage is automatically billed at standard prices.

Which one applies depends on the account's billing settings and the official terms. Don't assume it's the first.

Step 5: Confirm how free and paid requests are measured

Check what the free tier is metered in (tokens, requests, or money), and whether input and output are priced separately. Output tokens usually cost more, for reasons covered in Why output tokens cost more than input tokens. For billing details, see How token billing works.

How do you avoid surprise charges?

Most surprise bills come from three situations: the free credit runs out and the account automatically switches to pay-as-you-go; a loop or retry in your code sends runaway request volume; or an API key leaks and someone else uses it. The countermeasures:

  1. If you can, don't attach a payment method. Use only the granted credit and stop when it's gone.
  2. If you must attach one, set a budget cap, usage limit, or balance alert in the console. Features differ by provider: some can only send alerts, others can enforce a hard cap. Check the official docs.
  3. Start with small trials. During development, use cheap models, limit output length with parameters such as max_tokens, and put a cap on retry counts in your scripts.
  4. Look at the usage page once a week, and investigate anything that doesn't add up right away. For how, see How to investigate incorrect API billing.
  5. Never put a key in a public repository. If one leaks, revoke it immediately and check usage; the steps are in What to do if your OpenAI API key leaks.

If you want to estimate roughly how much you will use each month, try the three-step logging method, then decide whether paying is worth it.

Is the free tier enough?

It depends on what you're doing. For an occasional script or getting your first call working, free or trial credit is usually enough. But agent-style tasks consume a lot of tokens per run, and trial credit can run out quickly; see How to estimate the cost of an AI agent task. If you only want everyday chat, you can also first judge whether the free version of an AI assistant is enough.

What else should readers in China watch for?

Two points that beginners often overlook. First, some overseas services require an overseas phone number or bank card and have supported-region restrictions. Whether you can use one depends on the provider's official list of supported regions; follow the terms of service and local laws. Second, when calling overseas endpoints, latency and connectivity affect the experience. You can use cdnping's online speed test to measure first-connection and round-trip times to each provider's API from your browser, and the API status page to see probe results for official endpoints over the past 30 days.

If you don't want to integrate multiple providers yourself, is there an alternative?

If you mainly want to use models in tools like Claude Code and Codex but can't easily handle overseas payment, you could look at AGI Plan. AGI Plan is a commercial partner of cdnping. It is a multi-provider LLM aggregation gateway with monthly subscriptions, billed in RMB, with no overseas credit card required. One subscription lets you switch among several capability groups, and for Claude Code and Codex you only change one endpoint address. To be clear, it is not an officially authorized channel, and some models are available only outside China. See the models page for specifics.

This is a paid subscription, not free credit, and whether it suits you depends on your usage. For details and setup steps, see the AGI Plan getting-started page.

What to do next

  1. Pick a provider you plan to use, follow the 5 steps above on its official pricing page and console, and note the credit, expiry date, and overage rules.
  2. Set a budget cap or alert. If there is no hard cap, don't attach a payment method.
  3. Follow How to use an LLM API to send your first request, then check the usage page to confirm the deduction matches what you expected.

Related articles

Keep reading