Free OpenAI-compatible LLM APIs

Providers shown: 26

Every provider listed here supports the OpenAI API schema. Swap base_url and api_key in the official OpenAI SDK, LangChain, Vercel AI SDK, or coding tools without changing your request code.

Want to combine multiple free keys behind one local OpenAI endpoint? Read our local router guide.

OpenRouter

50 req/day · 20 RPM

Models ending in :free cost $0, limited to 20 requests/minute and 50 requests/day (1,000/day after buying 10+ credits).

No cardVPN in ChinaOpenAI APIResets daily
✓ Official · 2026-11-24

Google Gemini

Free Flash tier, per-project caps

Many Gemini Flash and Flash-Lite models are free of charge on the Free tier, with per-project rate limits shown in AI Studio.

No cardVPN in ChinaOpenAI APIResets daily
✓ Official · 2026-11-24

Groq

Daily free caps per model

Groq has a Free plan with daily request and token caps per model; exact free numbers are shown in your console.

Card unclearVPN in ChinaOpenAI APIResets daily
✓ Official · 2026-11-24

GLM-4.7-Flash free, no token cap

GLM-4.7-Flash and several other Flash models are priced at 0 with no token cap

No cardDirect in ChinaOpenAI APIOngoing
✓ Official · 2026-11-24

SiliconFlow

Free models + ¥16 voucher

Models marked free on the pricing page cost 0; real-name users can also claim a 16 CNY voucher

No cardDirect in ChinaOpenAI APIOngoingReal-name
✓ Official · 2026-11-24

10,000 Neurons/day

10,000 Neurons per day free on the Workers Free plan, resetting at 00:00 UTC.

Card unclearVPN in ChinaOpenAI APIResets daily
✓ Official · 2026-11-24

ModelScope

2,000 calls/day

Up to 2,000 free API calls per day per account, at most 200 per model

No cardDirect in ChinaOpenAI APIResets daily
✓ Official · 2026-11-24

Cohere

1,000 calls/month

Free trial keys can use all Cohere models, capped at 1,000 API calls per month.

Card unclearVPN in ChinaOpenAI APIResets monthly
✓ Official · 2026-11-24

AI Horde

Free, community-run queue

Free community-run text and image generation; anonymous key 0000000000 works but has the lowest queue priority.

No cardVPN in ChinaOpenAI APIOngoing
✓ Official · 2026-11-24

Kilo Code

200 req/hour, no account

Free models work without an account: anonymous users get 200 requests per hour per IP.

No cardVPN in ChinaOpenAI APIOngoing
✓ Official · 2026-11-24

OpenCode Zen

~10 models at $0, limited time

About ten free chat models at $0, but only 'for a limited time' and the official docs say free chat models require the OpenCode client.

Card unclearVPN in ChinaOpenAI APIOngoing
✓ Official · 2026-11-24

2 req/min, no key needed

Anonymous use without a key or account: 2 requests per minute per IP per model.

No cardVPN in ChinaOpenAI APIOngoing
✓ Official · 2026-11-24

SambaNova

20 req/day per model

Free tier without a payment method: 2 preview models at 20 requests per day and 200,000 tokens per day each.

No cardVPN in ChinaOpenAI APIResets daily
✓ Official · 2026-11-24

Vercel AI Gateway

$5 every 30 days

Every team gets a monthly free credit (reported $5 every 30 days) usable on a subset of free-tier models.

Card unclearVPN in ChinaOpenAI APIResets monthly
✓ Official · 2026-11-24

NVIDIA NIM

~40 req/min (reported)

Free API access for developers via build.nvidia.com; community reports say about 40 requests per minute.

Card unclearVPN in ChinaOpenAI APIOngoing
~ Secondary · 2026-11-24

iFlytek Spark Lite

Spark Lite free to use

Spark Lite is officially free to use (claim the free quota on the product page)

No cardDirect in ChinaOpenAI APIOngoing
~ Secondary · 2026-11-24

1M tokens per model · 90 days

Typically 1M free tokens per model for 90 days (Beijing region, real-name required)

No cardDirect in ChinaOpenAI APIOne-timeReal-name
✓ Official · 2026-11-24

Baidu Qianfan

17 models × 1M tokens

1M free tokens for each of 17 preset models, valid 3 months from first activation

No cardDirect in ChinaOpenAI APIOne-time
✓ Official · 2026-11-24

Cerebras

$5 once · 30 days

New accounts get a one-time $5 credit after adding a verified payment method; it expires after 30 days.

Card requiredVPN in ChinaOpenAI APIOne-time
✓ Official · 2026-11-24

Moonshot Kimi

¥15 voucher · 3 months

15 CNY voucher on sign-up for mainland-phone users, valid 3 months

No cardDirect in ChinaOpenAI APIOne-timeReal-name
✓ Official · 2026-11-24

SCNet

100M tokens · 30 days

100M free tokens for new accounts, valid 30 days (campaign 2026-11-06 to 2026-12-31)

No cardDirect in ChinaOpenAI APIOne-time
✓ Official · 2026-11-24Claim by 2026-12-31

1M tokens per model

1M free tokens per language model for new accounts, claim by 2026-12-31

No cardDirect in ChinaOpenAI APIOne-time
✓ Official · 2026-11-24Claim by 2026-12-31

500K tokens

500K free tokens in "Safe Experience" mode for new accounts; service pauses at the limit, no charge

No cardDirect in ChinaOpenAI APIOne-time
✓ Official · 2026-11-24

DeepSeek

Signup balance, amount unpublished

Official pricing mentions a granted balance for new accounts but publishes no amount; third parties report 5M tokens.

Card unclearDirect in ChinaOpenAI APIOne-time
~ Secondary · 2026-11-24

Novita AI

~$0.50 (unverified)

No official free-credit figure found; third-party trackers report about $0.50 signup credit and promotional $10 offers.

Card unclearVPN in ChinaOpenAI APIOne-time
~ Secondary · 2026-11-24

Pollinations

Quest balance only

API key required; free usage now comes from Quest balance (quests, referrals) - the earlier hourly free allowance is reported ended.

No cardVPN in ChinaOpenAI APIOne-time
~ Secondary · 2026-11-24

More curated lists

Questions

How do I switch from OpenAI to a free OpenAI-compatible provider?
Set base_url to the provider endpoint shown on its detail page, replace api_key with your new key, and set model to one of its free model IDs.
Do all OpenAI-compatible free tiers support tool calling and streaming?
Streaming works on nearly all providers, while structured outputs and tool calling vary by model. Check the provider docs link on each page for parameter support.

Get an email when a free tier changes

Leave an address. We mail it when a free allowance on this list changes.