AIcv

← Blog

How to Get an AI API Key for Free: OpenRouter, Gemini, OpenAI and Anthropic (2026)

· Updated · AIcv Team · Tags: #api #setup #guide #free #openrouter #gemini #openai #claude

The fastest free setup for AIcv is an OpenRouter key using the openrouter/free model alias, or a Google Gemini key from AI Studio. Both let AIcv call the provider directly from the browser. OpenAI and Anthropic keys also work, but the web app sends those requests through its same-origin relay because those APIs block browser calls.

If this is your first run, the getting-started guide walks through the app before you choose a provider.

What is an API key?

An API key is a private credential that lets an application call an AI provider on your behalf. In AIcv, the key is encrypted and stored in your browser. When you generate a CV or cover letter, the request goes to the provider you chose and is billed by that provider.

AIcv does not charge for the app. You pay only for the tokens you use, and free provider tiers can keep that cost at zero.

Which providers does AIcv support?

AIcv supports seven provider paths. The order below is also the order in the app.

ProviderConnectionFree optionBest for
OpenRouterDirectopenrouter/free aliasEasiest free start
GeminiDirectFree tier with daily limitsHigh-volume drafting
xAIDirectNo permanent free tierAlternative model style
DeepSeekDirectLow-cost paidCheap generation
OpenAIRelay in web appPaidPolished writing
AnthropicRelay in web appPaidPrecise, conservative writing
Custom endpointDirectYour serverLocal or OpenAI-compatible models

The relay note applies to the web app. If you are deciding between the paid models, the Gemini vs GPT vs Claude comparison covers tone, cost, and which one suits a cover letter.

How do you get an OpenRouter key?

OpenRouter is the default because it offers a rotating set of free models behind one API.

1. Go to OpenRouter and sign in.

2. Open Keys in the account menu.

3. Create a key named aicv and copy it.

4. In AIcv, choose OpenRouter and paste the key.

5. Keep the model as openrouter/free unless you want a paid model.

Free models can be rate-limited or busy. Adding a small credit balance unlocks paid models without forcing you to stop using the free ones.

How do you get a Gemini key?

1. Open Google AI Studio.

2. Sign in with a Google account.

3. Choose Get API Key and create a key.

4. Copy it into AIcv's Gemini provider field.

Gemini's free tier is generous enough for testing and modest volume. Limits and model names change, so check the current AI Studio quota page before relying on it for a large batch.

How do you get an OpenAI or Anthropic key?

For OpenAI, go to platform.openai.com, open API Keys, and create a secret key. OpenAI's API is paid; new accounts generally need a payment method.

For Anthropic, go to console.anthropic.com, open API Keys, and create a key. Claude is also paid after any introductory credits.

Both providers have region restrictions. If you see unsupported_country_region_territory from OpenAI or 403 Request not allowed from Anthropic, the key is probably fine. Read what the 403 means before buying more credit.

What about xAI, DeepSeek, and custom endpoints?

xAI and DeepSeek are direct, paid, OpenAI-compatible providers. Use them if you already have a key or want a cheaper paid model. A custom endpoint is for a local model or any OpenAI-compatible server; you provide the base URL and model name.

Custom endpoints can be useful for privacy-sensitive work because you control the server. They also shift the operational work to you: uptime, model quality, and API compatibility are your responsibility.

How do you add the key to AIcv?

1. Open AIcv.

2. Go to Settings.

3. Choose the provider.

4. Paste the key and save.

5. Use Test connection to confirm the key and model work.

If the test fails, check the provider host named in the error, the key's permissions, and whether the model still exists. A generic "network error" usually means a blocked request or a wrong endpoint, not a bad CV.

How do you keep the key safe?

Never share a key or commit it to a repository. Set spending limits in the provider dashboard, rotate keys periodically, and use a separate key for AIcv if your provider supports multiple keys. In AIcv, clearing the local data removes the stored key.

Export a full backup before clearing browser data. The backup includes profiles, CVs, generated documents, settings, and records, but deliberately excludes the API key.

Frequently asked questions

Which API key is best for a free start?

OpenRouter's openrouter/free alias is the simplest default. Gemini's free tier is the other good starting point. Both are direct browser calls.

Is an API key the same as a ChatGPT subscription?

No. A ChatGPT Plus subscription is for the ChatGPT app. API access is a separate, usage-billed product with its own keys and limits.

Why do OpenAI and Anthropic need a relay?

Those APIs do not allow direct browser requests. The web app's same-origin relay forwards the request; it does not store the key or the content.

Can I use a local model?

Yes, through a custom OpenAI-compatible endpoint. You need a base URL and a model name that the server accepts.

Does AIcv see my key?

The key is encrypted in your browser and sent to the provider for your requests. AIcv has no account database and does not store keys on a server.

Ready to try AIcv?

Open AIcv or try the demo.