# Cohere API

Category: [AI models and chat](https://free-web-services.com/web-services/ai/llm/)  
Page: https://free-web-services.com/web-services/ai/llm/cohere-api.html  
Documentation: https://docs.cohere.com/

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 languages. Use the REST API or the SDKs for Python, TypeScript, Java and Go. 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.

- API key: Needed, free
- Pricing: 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.
- From the browser: Yes (CORS)
- Formats: JSON
- Interface: REST
- Provider: docs.cohere.com
- Last checked: Working on October 31st, 2026

Example request:

```sh
curl -X POST 'https://api.cohere.com/v2/chat' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"model": "command-a-plus-05-2026", "messages": [{"role": "user", "content": "hello"}]}'
```

Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.

