OpenAI API
Product by OpenAI
GPT models for text, vision, images, audio and realtime voice, plus the Agents SDK.
Alternatives to OpenAI API
Ranked by category and the features they share with OpenAI API.
- Gemini API Google
Gemini models with long context and native video and audio input, through AI Studio and Vertex AI.
Pay per use APIreasoningembeddingsvoicellm api OpenAI API vs Gemini API - Claude API Anthropic
Claude models for developers, with tool use, prompt caching, batches and skills; also on AWS, Google Cloud and Azure.
Pay per use APIreasoningagentsllm api OpenAI API vs Claude API - Cohere Cohere
Models for enterprise search and RAG: Command, Embed and Rerank, deployable privately.
Pay per use APIembeddingsllm api OpenAI API vs Cohere - Mistral AI Mistral AI
European models, open-weight and commercial, with an API and on-premises deployment.
Pay per use Open source APIembeddingsllm api OpenAI API vs Mistral AI - OpenRouter OpenRouter
One API and bill for hundreds of models from every major provider, with fallbacks.
Pay per use APIllm api OpenAI API vs OpenRouter - Groq Groq
Very fast inference for open models on Groq’s own LPU chips.
Pay per use APIllm api OpenAI API vs Groq - Together AI Together AI
A cloud for running and fine-tuning open models, plus GPU clusters.
Pay per use APIllm api OpenAI API vs Together AI - Replicate Replicate (Cloudflare)
Run thousands of open image, video, audio and language models with one API call.
Pay per use APIimage generation OpenAI API vs Replicate - Hugging Face Hugging Face
The hub for open models and datasets, with Spaces for demos and inference endpoints.
Free plan + paid Open source API - Ollama Ollama
Run open models like Llama, Gemma, Qwen and DeepSeek on your own computer.
Free Open source API