Free LLM API Hub
v0.2.1Search free LLM API tiers, read an entry, get an OpenAI client config.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_providers Search free LLM API providers
Search the free-llm-api-hub dataset of free-tier and trial-credit LLM API providers. All filters are optional and combine with AND. Returns a compact list (slug, name, category, free_tier, rate_limits, docs_url, last_verified, verified and, when status.json is available, freshness: fresh / due / stale / unverified against the 60/90-day SLA). The flag filters match only explicitly confirmed values: providers whose value is null (not confirmed) are left out and counted in excluded_unconfirmed, and in excluded_unconfirmed_by_reason by why the value is unknown. Free-tier terms change without notic…
| Parameter | Type | Description |
|---|---|---|
category | string | "ongoing" (free tier that keeps going) or "trial" (one-off credit). |
commercial_ok | boolean | true: only providers whose free tier is confirmed to allow commercial use. false: only those confirmed not to. |
modality | string | Only providers offering this modality on the free tier. |
no_card | boolean | true: only providers confirmed NOT to require a credit card. false: only providers confirmed to require one. |
no_phone | boolean | true: only providers confirmed NOT to require a phone number. false: only those confirmed to require one. |
openai_compatible | boolean | true: only providers confirmed OpenAI-compatible. false: only those confirmed not to be. |
query | string | Words to match in name, slug, free tier, rate limits, notes or sampled model IDs (all words must match, case-insensitive). |
get_provider Get one provider entry
Return the full dataset entry for one provider by slug, with its tri-state flags spelled out (yes / no / not confirmed), the list of unconfirmed fields and, in unconfirmed_reasons, why each is unknown, plus its freshness grade from status.json when available. An unknown slug is an error. Free-tier terms change without notice: the provider's own docs (docs_url, returned with every result) are authoritative, and last_verified says when the entry was last checked against them. Tri-state fields are true / false / null, and null means "not confirmed", never "no".
| Parameter | Type | Description |
|---|---|---|
slug * | string | Provider slug, e.g. "groq" (see search_providers). |
openai_client_config OpenAI client config for a provider
For a provider listed in the published openai-clients.json (verified, OpenAI-compatible, with a base URL): return its base_url, the API-key environment variable name published there (env_key), and Python and JavaScript chat snippets only when free text/chat access is confirmed and modalities are limited to text/vision; otherwise returns configuration and official docs without guessing an endpoint. For any other provider, explains why no drop-in config is offered (not verified, not OpenAI-compatible or not confirmed, or no base URL). Free-tier terms change without notice: the provider's own doc…
| Parameter | Type | Description |
|---|---|---|
slug * | string | Provider slug. |
model | string | Model ID to put in the snippet. Use a free chat model from the official docs. Defaults to a sampled model only for text/vision-only providers; mixed or unknown modalities receive no request snippet. |
dataset_info Dataset version and freshness
Version and generation date of the dataset, provider counts, and freshness (oldest, median and newest last_verified, never-verified count, and the oldest entries with their docs_url). Free-tier terms change without notice: the provider's own docs (docs_url, returned with every result) are authoritative, and last_verified says when the entry was last checked against them. Tri-state fields are true / false / null, and null means "not confirmed", never "no".
get_provider_status Provider freshness status
Freshness of one provider (by slug) or of every provider (no slug), from the published status.json: last_verified, oldest_field_check, freshness (fresh / due / stale / unverified against the 60/90-day SLA, graded at generated_at), free_now (true / false / null, where null means not confirmed; not a live check) and last_change. Without a slug it also counts providers per state. An unknown slug is an error. Free-tier terms change without notice: the provider's own docs (docs_url, returned with every result) are authoritative, and last_verified says when the entry was last checked against them. T…
| Parameter | Type | Description |
|---|---|---|
slug | string | Provider slug, e.g. "groq". Omit for every provider. |
is_free Is <provider> free?
Answer "Is <provider> API free?" with the same sentence as the provider page on the site: ongoing free tier or one-time trial credit, the published limits (or the free-tier wording), credit card, phone verification, commercial use and the day the entry was verified. A field the dataset leaves null reads "not stated", never a guess. Each fact comes with source_date (the day its source was read) and source_url; freshness and free_now from status.json are added when available. An unknown slug is an error. Free-tier terms change without notice: the provider's own docs (docs_url, returned with ever…
| Parameter | Type | Description |
|---|---|---|
slug * | string | Provider slug, e.g. "groq" (see search_providers). |