Cohere API

AI servicecohere-api

Hosted text models for chat, embedding, rerank and classification.

Provider
default
Category
Compute
Properties · 6 set by this component
propertytypevaluesrequiredkind defaultthis component
authenumapi-key | oauth | iam | noneno—▸ api-key
contentFilteringboolean—no—▸ true
customerManagedKeysboolean—no—inherited
dataResidency · advancedenumus | eu | asia | globalno—inherited
dataRetentionDaysinteger—no—inherited
endpoint · component propertyenumchat | embed | rerank | classifynochatinherited
keyStoreboolean—nofalseinherited
keyType · component propertyenumtrial | productionnotrialinherited
managedboolean—nofalse▸ true
modalityenumtext | vision | speech | multimodal | structured | image | video | audio | embedding | rerankno—▸ text
publicEndpointboolean—no—▸ true
quotaUnitsPerMinuteinteger—no—▸ 20
rateLimitRpm · advancedinteger—no—inherited
rateLimitTpm · advancedinteger—no—inherited
safetyMode · component propertyenumcontextual | strict | offnocontextualinherited
trainingOptOut · component propertyboolean—nofalseinherited
viaGatewayboolean—nofalseinherited
Rules that apply · 2

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

ai-api-key-unmanaged

This AI vendor is reached with an API key, and nothing in the design holds or rotates that key. It ends up in environment files or code, every caller shares it, and a single leak runs up the vendor bill until someone notices. Put the key in a key-management component, or say it is held there with keyStore.

  • — all of these hold:
  • — the node's `auth` is "api-key"
  • — the node's `keyStore` is false
  • — the node has at least one incoming edge from an app-server, worker or client
  • — this does not hold:
  • — the design contains a node of kind key-management
stateful-node-without-zone-redundancy

A stateful compute node pinned to exactly one availability zone disappears with that zone, and its state goes with it. Nodes inside a cell are exempt, because there the cell is deliberately single-zone and redundancy comes from the other cells.

  • — all of these hold:
  • — the node's `stateless` is false
  • — the node sits inside exactly 1 availability-zone group
  • — this does not hold:
  • — the node sits inside at least one cell group
Use it in a design
nodes:
  - { id: "cohere-api", component: "cohere-api" }
Other AI service products · 125
Content Moderationalibaba-content-moderationalibabacloudai-serviceFraud Detectionalibaba-fraud-detectionalibabacloudai-serviceID Verificationalibaba-id-verificationalibabacloudai-serviceIntelligent Robotalibaba-intelligent-robotalibabacloudai-serviceModel Studioalibaba-model-studioalibabacloudai-serviceSmart Conversation Analysisalibaba-smart-conversation-analysisalibabacloudai-serviceAmazon Bedrockaws-bedrockawsai-serviceAmazon Bedrock AgentCoreaws-bedrock-agentcoreawsai-serviceAmazon Bedrock Data Automationaws-bedrock-data-automationawsai-serviceAmazon Bedrock Guardrailsaws-bedrock-guardrailsawsai-serviceAmazon Comprehendaws-comprehendawsai-serviceAmazon Comprehend Medicalaws-comprehend-medicalawsai-serviceAWS Elemental Inferenceaws-elemental-inferenceawsai-serviceAmazon Forecastaws-forecastawsai-serviceAmazon Fraud Detectoraws-fraud-detectorawsai-serviceAWS HealthScribeaws-healthscribeawsai-serviceAmazon Lex botaws-lexawsai-serviceAmazon Lookout for Equipmentaws-lookout-for-equipmentawsai-serviceAmazon Lookout for Metricsaws-lookout-for-metricsawsai-serviceAmazon Lookout for Visionaws-lookout-for-visionawsai-serviceAmazon Personalizeaws-personalizeawsai-serviceAmazon Pollyaws-pollyawsai-serviceAmazon Q Businessaws-q-businessawsai-serviceAmazon Rekognitionaws-rekognitionawsai-serviceAmazon Textractaws-textractawsai-serviceAmazon Transcribeaws-transcribeawsai-serviceAmazon Translateaws-translateawsai-serviceContent Safetyazure-ai-content-safetyazureai-serviceAzure AI Custom Visionazure-ai-custom-visionazureai-serviceAzure AI Faceazure-ai-faceazureai-serviceAzure Languageazure-ai-languageazureai-serviceAzure Speechazure-ai-speechazureai-serviceAzure Translatorazure-ai-translatorazureai-serviceAzure Visionazure-ai-visionazureai-serviceAzure Content Understandingazure-content-understandingazureai-serviceMicrosoft Discoveryazure-discoveryazureai-serviceAzure Document Intelligenceazure-document-intelligenceazureai-serviceFoundry Agent Serviceazure-foundry-agent-serviceazureai-serviceFoundry Modelsazure-foundry-modelsazureai-serviceAzure AI Immersive Readerazure-immersive-readerazureai-service
and 85 more → AI service page
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Cohere API: hosted text models for chat, embedding, rerank and classification over a public endpoint.
# Per "Different Types of API Keys and Rate Limits", a new account gets a trial key limited to 20 requests
# per minute on the Chat API and production keys allow 500; per "Safety Modes", the Chat API applies
# safety mode CONTEXTUAL unless the request asks for STRICT or OFF.
schemaVersion: "1"
type: "component"
id: "cohere-api"
kind: "ai-service"
provider: "default"
docs: "https://docs.cohere.com/docs/rate-limits"
defaults:
  auth: "api-key"
  managed: true
  modality: "text"
  publicEndpoint: true
  contentFiltering: true
  quotaUnitsPerMinute: 20
properties:
  keyType:
    type: "enum"
    values: ["trial", "production"]
    default: "trial"
  safetyMode:
    type: "enum"
    values: ["contextual", "strict", "off"]
    default: "contextual"
  endpoint:
    type: "enum"
    values: ["chat", "embed", "rerank", "classify"]
    default: "chat"
  trainingOptOut:
    type: "boolean"
    default: false

The same page as markdown, for an agent: /catalogue/components/cohere-api.md