Skip to main content
skill CX Codex

free-llm-apis — Claude Code skill for free LLM APIs

The free-llm-apis Claude Code skill helps select an LLM provider with a free tier and configure its API. It activates for requests about free keys, model access, or OpenAI-compatible endpoints.

CC0-1.0 795 installs ★ 13,917 updated 2026-11-18

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add mnfst/awesome-free-llm-apis --skill free-llm-apis -a claude-code
Open on GitHub

What free-llm-apis does

The skill compares providers against model, rate-limit, and feature needs, then suggests one or two options. It guides setup for the chosen service, including API credentials and environment variables, and can offer a test script or curl command to check the connection.

Its guides cover model companies and third-party inference platforms. Many endpoints support the OpenAI SDK. Free tiers and limits change; Google Gemini requires paid services when an app is shipped to users in the EEA, UK, or Switzerland. API keys should go in environment variables or a secrets manager, not in source code.

What it helps with

  • choose a free provider based on models and limits
  • get and configure an LLM API key
  • connect to an OpenAI-compatible endpoint
  • test an API key with a request

Example prompts for the agent

  • Compare free LLM providers by available models and rate limits.
  • Show me how to get a Google Gemini API key and configure access.
  • Set up a free OpenAI-compatible endpoint and test it with curl.

How to install free-llm-apis

1Skills CLI (Vercel)

npx skills add mnfst/awesome-free-llm-apis --skill free-llm-apis -a claude-code

2Manually: put the files in place

~/.claude/skills/free-llm-apis/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/free-llm-apis/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about free-llm-apis

How do I install free-llm-apis in Claude Code?

Run npx skills add mnfst/awesome-free-llm-apis --skill free-llm-apis -a claude-code. The skill file is placed at ~/.claude/skills/free-llm-apis/SKILL.md.

What does free-llm-apis do?

It helps compare LLM providers with free tiers, configure a provider’s API, and test the connection.

What does free-llm-apis need to work?

The selected provider may require an API key. The skill also covers providers that work without one and recommends storing secrets in environment variables or a secrets manager.

Source text

SKILL.md · CC0-1.0
---
name: free-llm-apis
description: Guide users through obtaining and configuring free API keys for LLM providers. Use when the user wants to set up a free LLM API, get a free API key, connect to a free model provider, configure an OpenAI-compatible endpoint at no cost, or asks about free tiers for AI models. Triggers on "free API key", "free LLM", "set up Gemini/Groq/etc.", "which free provider", "how to get an API key", "free model access", "configure LLM for free".
---

# Free LLM API Setup

Help users pick a free LLM provider and configure their API key. Every provider here has a permanent free tier, no credit card needed.

## Provider Selection

Ask the user what matters most, then recommend accordingly:

| Priority | Best picks |
|---|---|
| Fastest inference | Groq (LPU hardware; ~1,000 RPD on chat models) |
| Largest model selection | NVIDIA NIM (100+ models), Cloudflare Workers AI (60+), Hugging Face (thousands, small credit) |
| Strongest proprietary models | Google Gemini, Cohere (non-commercial only) |
| Free frontier open-weight models | OpenRouter (`:free` models), Kilo Code, NVIDIA NIM |
| European provider / EU hosting | OVHcloud AI Endpoints (FR, EU data centers), LLM7.io (UK) |
| No signup or key required | OVHcloud AI Endpoints (2 RPM/IP), Kilo Code (200 req/hr/IP), LLM7.io (anonymous tier) |
| Privacy-sensitive prompts | Avoid Gemini free tier outside the EEA, Switzerland and the UK, OpenRouter/Kilo free routes, NVIDIA trial endpoints |

### Provider categories

<!-- providers:start -->
**Provider APIs** -- run by the companies that train the models:
- Aion Labs, Cohere, Google Gemini, Z AI (Zhipu AI)
- See [references/provider-apis.md](references/provider-apis.md) for setup instructions.

**Inference providers** -- third-party platforms hosting open-weight models:
- AxForge, Cloudflare Workers AI, Gonka Broker, Groq, Kilo Code (no key needed), LLM7.io (no key needed), ModelScope, NVIDIA NIM, OpenRouter, OVHcloud AI Endpoints (no key needed), SiliconFlow
- See [references/inference-providers.md](references/inference-providers.md) for setup instructions.
<!-- providers:end -->

## Workflow

1. Ask what models, rate limits, or features the user cares about. If they already know which provider they want, skip to step 3.
2. Match their priorities against the table above. Suggest 1-2 options with a short reason.
3. Load the right reference file and walk through the setup steps for that provider (API key, code example, env var).
4. Offer a quick test script or curl command so they can confirm the key works.

## Quick Test Template

After setup, use this to verify any provider:

```python
from openai import OpenAI

client = OpenAI(api_key="KEY", base_url="BASE_URL")

response = client.chat.completions.create(
    model="MODEL_NAME",
    messages=[{"role": "user", "content": "Say hello in one sentence."}],
    max_tokens=50
)
print(response.choices[0].message.content)
```

Replace KEY, BASE_URL, and MODEL_NAME with values from the provider's setup guide.

## Key Notes

- All endpoints work with the OpenAI SDK unless noted.
- RPM = requests per minute. RPD = requests per day.
- Google Gemini's free tier works in the EEA, UK, and Switzerland, but its terms require paid services if you ship an app to users there.
- Free tiers, model lists, and limits change often. The reference files are generated from `data.json`; check the provider's own docs before relying on a limit.
- "Limits undocumented" = the provider doesn't publish rate limits.
- Don't hardcode API keys. Use environment variables or a secrets manager.

© mnfst · CC0-1.0 · mnfst/awesome-free-llm-apis

Similar skills

All skills for AI and ML →

Project sponsors

Companies that keep this analytics open