AI models and chat

Language models for chat, text, code and tool calling

LLM APIs give your code access to large language models for chat, text generation, summaries, translation, coding help and tool calling. Many follow the OpenAI request format, so one client library works with several providers. The free plans have rate or token limits, and some may use your prompts to improve their models, so read the terms before you send private data.

Cloudflare Workers AI

Workers AI runs open AI models on Cloudflare's global network: text generation and chat, text embeddings, image generation, image classification, speech recognition, translation and summarisation. Call the models from a ...

API, JSON, MCP, REST

Cohere API

Cohere offers language AI for businesses: the Command models for chat and text generation, Embed for turning text into vectors for semantic search, and Rerank for ordering search results by relevance, all in more than 100 ...

API, JSON, REST

GitHub Models

GitHub Models lets developers try and compare AI models from OpenAI, Meta, Microsoft, Mistral, DeepSeek and others, in a playground on GitHub and through an API that uses a GitHub personal access token. It is meant for ...

API, JSON, REST

Google Gemini API

The Gemini API from Google gives access to the Gemini family of AI models for text generation, chat, summarising, coding, image and document understanding, speech, embeddings and function calling. Call it over REST or with the ...

API, JSON, REST

Groq API

Groq runs open AI models on its own LPU chips, which makes responses very fast. The API offers chat and text generation with open models (such as Llama, Qwen and GPT-OSS), speech-to-text with Whisper and text-to-speech, and is ...

API, JSON, MCP, REST

OpenRouter

OpenRouter gives one API, compatible with the OpenAI format, for hundreds of AI models from many providers, including OpenAI, Anthropic, Google, Meta, Mistral and DeepSeek, with automatic fallbacks between providers. Several ...

API, JSON, MCP, REST

Z.ai API (GLM Flash models)

The Z.ai API gives access to the GLM language models from Zhipu AI for chat, text generation, coding and image understanding. It uses the OpenAI format, so the OpenAI SDKs work after changing the base URL to api.z.ai. Requests ...

API, JSON, REST

Compare the LLM and AI model APIs

ServiceAPI keyFormatsFree use
Cloudflare Workers AI Needed, free JSON The Workers Free plan includes 10,000 'neurons' (Cloudflare's unit of AI compute) per day; requests above that fail until the daily reset, unless you move to the paid plan.
Cohere API Needed, free JSON Free trial key without a time limit, limited to 1,000 calls per month and a per-minute rate limit; production use needs a paid key.
GitHub Models Needed, free JSON Free for every GitHub account, with daily and per-minute request limits per model that depend on your Copilot plan; paid usage is available for more.
Google Gemini API Needed, free JSON Free tier for most text, speech and embedding models with a free API key and rate limits; content sent on the free tier may be used by Google to improve its products, so use the paid tier for private data.
Groq API Needed, free JSON Free plan with a free API key and rate limits per model; paid plans for higher limits.
OpenRouter Needed, free JSON Free models are limited to 20 requests per minute and 50 per day, or 1,000 per day once you have bought at least 10 credits; other models are paid per token.
Z.ai API (GLM Flash models) Needed, free JSON Free with a free API key for the Flash models: GLM-4.7-Flash, GLM-4.5-Flash and GLM-4.6V-Flash.

Questions

Are these LLM and AI model APIs really free?

The services here can be used without paying, at least on a free plan or free tier, often with limits such as a number of requests per day or non-commercial use only. The table above quotes what each service says about its free use; check the provider's own terms before you rely on it.

How up to date is this list?

The address of every service is checked about once a week, and services that stop working or stop being free are removed. This list last changed on November 1st, 2026.