Free AI & ML APIs — ranked by value
Model, vision, speech & language APIs
Scores rate free-tier value on a 1–10 scale.
How scores work →
OpenAI API
AI & ML
API key
Industry-standard API for GPT chat/reasoning models, embeddings, image generation (DALL-E/gpt-image), Whisper transcription, and TTS.
Paid, usage-based
SDK
Anthropic Claude API
AI & ML
API key
API for Claude models with long context, strong reasoning, tool use, and the Messages format used widely by AI agents.
Trial credit
SDK
Google Gemini API
AI & ML
API key
Google's multimodal Gemini models for text, vision, audio, and code, with a genuinely usable free tier via Google AI Studio.
10k req/day
Hugging Face Inference API
AI & ML
Token
Serverless inference over hundreds of thousands of open models for text, vision, audio, and embeddings across multiple providers.
Free serverless
Replicate
AI & ML
Token
Run and deploy thousands of open-source ML models (image, video, audio, LLMs) via a simple HTTP API billed by compute time.
Trial credit
SDK
Cohere API
AI & ML
API key
Enterprise NLP API with Command generation models, best-in-class embeddings, and a Rerank endpoint for retrieval and RAG.
20 req/min
Mistral AI API
AI & ML
API key
API for Mistral's open and commercial LLMs plus Codestral, embeddings, and OCR, with a free experimentation tier.
Free 'Experiment' plan
ElevenLabs
AI & ML
API key
High-fidelity text-to-speech and voice cloning API with multilingual, expressive voices and low-latency streaming.
10k cr/mo
SDK
AssemblyAI
AI & ML
API key
Speech-to-text API with accurate transcription plus audio intelligence like summarization, sentiment, and speaker diarization.
$50 credit
SDK
Deepgram
AI & ML
API key
Fast, low-latency speech-to-text and text-to-speech API built for real-time streaming and voice agents, with free starter credits.
Free tier
SDK
Stability AI
AI & ML
API key
Generative media API for Stable Diffusion image generation, upscaling, inpainting, and other creative visual tools.
8 cr
SDK
Clarifai
AI & ML
API key
Computer-vision and multimodal AI platform with prebuilt models for image/video recognition, detection, moderation, and embeddings.
1k/mo
SDK
DeepL API
AI & ML
API key
High-quality neural machine translation API supporting 30+ languages, with a free tier capped at 500,000 characters per month.
500k char/mo
SDK
OCR.space
AI & ML
API key
Simple optical-character-recognition API that extracts text from images and PDFs in 20+ languages with a free API key.
25k req/mo
Groq
AI & ML
API key
Ultra-fast LPU-based inference for open LLMs (Llama, GPT-OSS, Qwen, Whisper) with an OpenAI-compatible API and free tier.
30 req/min
Together AI
AI & ML
API key
Serverless inference and fine-tuning for 200+ open-source LLMs, image, and embedding models via an OpenAI-compatible API.
Free tier
Fireworks AI
AI & ML
API key
Fast, low-cost inference for open-source LLMs and image models with fine-tuning and an OpenAI-compatible API.
$1 credit
OpenRouter
AI & ML
API key
Single OpenAI-compatible API that routes to 300+ models across providers, including a selection of free models.
20 req/min
Perplexity Sonar API
AI & ML
API key
LLM API with live web search built in, returning grounded answers with citations for real-time question answering.
Paid, usage-based
SDK
DeepSeek API
AI & ML
API key
Cost-efficient API for DeepSeek's strong chat and reasoning models with an OpenAI-compatible interface.
Paid, usage-based
SDK
fal.ai
AI & ML
API key
Fast generative-media inference API for image, video, and audio models like FLUX, with real-time and streaming endpoints.
No published cap
SDK
Jina AI
AI & ML
API key
APIs for multilingual embeddings, rerankers, and a Reader endpoint that turns any URL into clean LLM-ready text, with a free key.
Free tier
SDK
Voyage AI
AI & ML
API key
State-of-the-art embedding and reranking models for retrieval and RAG, with free tokens to start.
Free tier
SDK
Mathpix
AI & ML
API key
OCR API specialized in math, chemistry, tables, and scientific documents, converting images/PDFs to LaTeX and Markdown.
1k req
SDK
Roboflow
AI & ML
API key
End-to-end computer-vision platform with a hosted inference API for object detection, segmentation, and classification models.
1k/mo
SDK
remove.bg
AI & ML
API key
AI background-removal API that automatically cuts out subjects from images, with free preview credits.
50/mo
SDK
Twelve Labs
AI & ML
API key
Video-understanding API for natural-language video search, classification, and summarization using multimodal embeddings.
Free tier
SDK
Symbl.ai
AI & ML
API key
Conversation-intelligence API extracting topics, sentiment, action items, and summaries from voice, video, and chat in real time.
Free tier
SDK
Tavus
AI & ML
API key
AI video API for generating personalized talking-head videos and real-time conversational video agents from text.
Trial credit
SDK
DeepAI
AI & ML
API key
Grab-bag of simple generative and analysis endpoints for text-to-image, image editing, and content detection with an easy free key.
5/day
AI21 Labs
AI & ML
API key
API for the Jamba family of long-context LLMs plus task-specific endpoints, with free trial credits.
No published cap
SDK
Stableiff IBM watsonx.ai
AI & ML
Token
IBM's enterprise foundation-model API serving Granite and curated open models for generation, embeddings, and tuning.
Trial credit
SDK
OpenAPI
Cloudflare Workers AI
AI & ML
Token
Edge-served inference for open LLMs, embeddings, image, and speech models via a REST API with a free daily allotment.
10k/day
Stability Imagga
AI & ML
API key
Image-recognition API for auto-tagging, categorization, cropping, and content moderation, with a free developer tier.
1k/mo
SDK