Creating a Cohere API key
This guide is part of the Publicus connection catalog. Once you have the credentials, connect the service and Publicus stores them for you.
Distilled from Cohere’s own documentation: Working with Cohere’s API and SDK, Different Types of API Keys and Rate Limits, and Going Live with a Cohere Model. Retrieved 2026-08-22.
Cohere issues two kinds of key from the same screen. A trial key is created for you when you open an account and costs nothing, but it is capped. A production key is billed pay-as-you-go and carries far higher rate limits. Both live on the dashboard’s API keys page.
- Sign in to the Cohere dashboard and open API keys (dashboard.cohere.com/api-keys).
- Copy the trial key that is already there, or create a new one, and store it somewhere safe.
- For production traffic, work through Cohere’s Go to Production flow before you create the key you will run on. It asks you to accept the SaaS agreement and terms of service and to describe your use case; a production key can be generated straight afterwards.
- Paste the key into the connection.
Using the key:
- Send it as
Authorization: Bearer <your key>. Cohere writes the header content asBEARER [API_KEY]; the scheme name is case-insensitive. - Requests are
POSTwith JSON bodies, againsthttps://api.cohere.com/v2.
Operational notes:
- Trial and production keys reach the same endpoints and differ by rate limit. Cohere documents trial keys at 20 requests per minute on most Chat models against 500 for production, and caps trial keys at 1,000 API calls a month. Read rate limits before you size a workload; the newest Chat variants carry the 1,000-call cap on production keys too.
- Revoke a key from the same API keys page.
Connect it to Publicus
Section titled “Connect it to Publicus”Open Connections under Credentials, choose Cohere, and pick Cohere API key. Publicus asks for exactly the fields listed above and keeps them in your workspace’s secret storage.
See also: Cohere in the catalog.
This guide is maintained by Publicus and published under CC BY 4.0.