Trial mode permanently 0 cost · Zero risk of credit card charges
https://api.cohere.ai/compatibility/v1 💡 Directly paste the address above as Base URL into any OpenAI-compatible client (NextChat, Cherry Studio, Immersive Translate, etc.).
command-a command-r-plus-08-2024 command-r-08-2024 rerank-v3.5 embed-multilingual-v3.0 Cohere, co-founded in Toronto by Transformer architecture co-inventor Aidan Gomez, is the premier AI unicorn for enterprise search, Retrieval-Augmented Generation (RAG), and neural document reranking.
Cohere offers the lowest friction onboarding in the industry via its 'Trial Key'. Requiring no credit card and no mobile phone verification, signing up with an email or GitHub/Google account automatically provides a permanent Trial Key with 1,000 free calls every month, granting full access to Command A, Command R+, and Rerank 4 with native CORS headers enabled!
The sole hard boundary for Trial Keys is 1,000 total calls per month. Chat, Embed, Rerank, and Audio endpoints all decrement this unified counter. Reaching 1,000 calls returns HTTP 429 until the monthly reset on the 1st.
Cohere native endpoints reside at https://api.cohere.com/v1 or /v2. For integration with OpenAI-compatible clients (NextChat, ChatBox, LangChain), set Base URL to https://api.cohere.ai/compatibility/v1.
Cohere API endpoints return access-control-allow-origin: * on OPTIONS preflight requests. You can fetch directly from client-side JavaScript or browser extensions without an intermediary backend proxy.
Trial Keys enforce separate per-minute rate limits: Chat is limited to 20 req/min, Rerank to 10 req/min, and Embed to 2,000 inputs/min. Rapid consecutive queries will encounter HTTP 429.
Official policy reserves Trial Keys strictly for personal learning, prototyping, and evaluation. Upgrading to a Production Key requires Organization Owner privileges and billing application approval.
Visit dashboard.cohere.com and authenticate instantly with Google or GitHub SSO without credit card or phone numbers.
Go to Console ↗Navigate to 'API Keys' where your default permanent Trial Key is ready. Click to copy the token directly.
Go to Console ↗Set Base URL to https://api.cohere.ai/compatibility/v1, provide your key, and select command-r-08-2024 or rerank-v3.5 to enjoy 1,000 free monthly calls!
from openai import OpenAI
client = OpenAI(
api_key="your_api_key_here", # 填入申请的 Key
base_url="https://api.cohere.ai/compatibility/v1"
)
response = client.chat.completions.create(
model="command-a",
messages=[
[object Object]
]
)
print(response.choices[0].message.content)