Mistral AI's pay-as-you-go API for chat, code completion, OCR, embeddings, audio and agents, with Python and TypeScript SDKs.
Claude API alternatives
Other apis & sdks people use for the same jobs as Claude API, ordered by how much they overlap: shared use cases, features and the tools they work with.
Cohere's API for Command chat models, Embed and Rerank, with official Python, TypeScript, Java and Go SDKs and free trial keys.
Google's API for Gemini models, with a free tier and the Google GenAI SDKs for Python, JS, Go, Java and C#.
xAI's (now SpaceXSI) OpenAI-compatible API for Grok text, image, video and voice models, with Python and TypeScript SDKs.
OpenAI's developer API for GPT, image, audio and embedding models, with official SDKs in several languages.