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