Skip to content

Commit ca07101

Browse files
Update providers/cohere.mdx
Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
1 parent 95ae5f6 commit ca07101

1 file changed

Lines changed: 24 additions & 153 deletions

File tree

providers/cohere.mdx

Lines changed: 24 additions & 153 deletions
Original file line numberDiff line numberDiff line change
@@ -5,165 +5,36 @@ description: Configure Cohere's Command R series models for reasoning, code gene
55

66
**Website:** [https://cohere.com/](https://cohere.com/)
77

8-
## Available Models
8+
## Getting an API Key
99

10-
<AccordionGroup>
11-
<Accordion title="Command R Plus (Latest)" icon="star">
12-
### Command R Plus Latest
13-
The most advanced model in Cohere's lineup, offering superior reasoning and code generation capabilities.
10+
1. Go to [Cohere Dashboard](https://dashboard.cohere.com/) and sign in
11+
2. Navigate to API Keys section
12+
3. Create a new API key
13+
4. Copy the key immediately
1414

15-
- **Context Window**: 128,000 tokens
16-
- **Best for**: Complex reasoning, code generation, analysis
17-
- **Pricing**: Higher cost, premium performance
15+
## Configuration
1816

19-
</Accordion>
17+
1. Click the settings icon (⚙️) in CodinIT
18+
2. Select "Cohere" as the API Provider
19+
3. Paste your API key
20+
4. Choose your model
2021

21-
<Accordion title="Command R (Latest)" icon="zap">
22-
### Command R Latest
23-
Balanced performance with excellent reasoning capabilities for most use cases.
22+
## Supported Models
2423

25-
- **Context Window**: 128,000 tokens
26-
- **Best for**: General AI tasks, analysis, writing
27-
- **Pricing**: Moderate cost, good performance balance
24+
- `command-r-plus` (Latest) - 128K context
25+
- `command-r` (Latest) - 128K context
26+
- `command` - 4K context
27+
- `command-light` - 4K context
28+
- `aya-expanse` - Multilingual, 8K context
2829

29-
</Accordion>
30+
## Features
3031

31-
<Accordion title="Command R Plus" icon="trending-up">
32-
### Command R Plus
33-
Enterprise-grade model with enhanced capabilities for complex tasks.
32+
- **Tool calling:** External tools and APIs
33+
- **RAG support:** Retrieval augmented generation
34+
- **Multilingual:** Strong multi-language performance
35+
- **Code intelligence:** Programming specialized
3436

35-
- **Context Window**: 128,000 tokens
36-
- **Best for**: Advanced reasoning, technical writing
37-
- **Pricing**: Premium tier
37+
## Notes
3838

39-
</Accordion>
40-
41-
<Accordion title="Command R" icon="target">
42-
### Command R
43-
Reliable workhorse model for most AI applications.
44-
45-
- **Context Window**: 128,000 tokens
46-
- **Best for**: General purpose AI tasks
47-
- **Pricing**: Standard tier
48-
49-
</Accordion>
50-
51-
<Accordion title="Command (Legacy)" icon="clock">
52-
### Command
53-
Earlier generation model, still powerful for many tasks.
54-
55-
- **Context Window**: 4,096 tokens
56-
- **Best for**: Basic text generation, simpler tasks
57-
- **Pricing**: Lower cost option
58-
59-
</Accordion>
60-
61-
<Accordion title="Lightweight Models" icon="feather">
62-
### Command Light Series
63-
Faster, more efficient models for simpler tasks and cost optimization.
64-
65-
- **Context Window**: 4,096 tokens
66-
- **Best for**: Quick responses, basic analysis
67-
- **Pricing**: Most affordable option
68-
69-
</Accordion>
70-
71-
<Accordion title="Multilingual Models" icon="languages">
72-
### Aya Expanse Series
73-
Specialized multilingual models for global applications.
74-
75-
- **Context Window**: 8,000 tokens
76-
- **Best for**: Multilingual content, global applications
77-
- **Pricing**: Moderate cost
78-
79-
</Accordion>
80-
</AccordionGroup>
81-
82-
## Setup Instructions
83-
84-
<Steps>
85-
<Step title="Create Account">Visit [Cohere Dashboard](https://dashboard.cohere.com/) and create an account</Step>
86-
<Step title="Generate API Key">Navigate to API Keys section and create a new API key</Step>
87-
<Step title="Configure in Codinit">Add your API key to the Cohere provider settings in Codinit</Step>
88-
<Step title="Test Connection">Select a Cohere model and test it with a simple prompt</Step>
89-
</Steps>
90-
91-
## Key Features
92-
93-
<BadgeGroup>
94-
<Badge variant="secondary">Advanced Reasoning</Badge>
95-
<Badge variant="secondary">Code Generation</Badge>
96-
<Badge variant="secondary">Multilingual</Badge>
97-
<Badge variant="secondary">Tool Calling</Badge>
98-
<Badge variant="secondary">RAG Support</Badge>
99-
</BadgeGroup>
100-
101-
### Advanced Capabilities
102-
103-
- **Tool Calling**: Can use external tools and APIs
104-
- **Retrieval Augmented Generation**: Enhanced with external knowledge
105-
- **Multilingual Support**: Strong performance in multiple languages
106-
- **Code Intelligence**: Specialized for programming tasks
107-
- **Reasoning**: Advanced logical reasoning capabilities
108-
109-
## Use Cases
110-
111-
<AccordionGroup>
112-
<Accordion title="Code Development" icon="code">
113-
### Programming Assistance
114-
Perfect for code generation, debugging, and technical documentation.
115-
116-
- Generate complete functions and classes
117-
- Debug existing code
118-
- Write technical documentation
119-
- Code review and analysis
120-
121-
</Accordion>
122-
123-
<Accordion title="Content Creation" icon="edit">
124-
### Writing and Analysis
125-
Excellent for content creation and analytical tasks.
126-
127-
- Technical writing
128-
- Business analysis
129-
- Research summaries
130-
- Creative content generation
131-
132-
</Accordion>
133-
134-
<Accordion title="Multilingual Applications" icon="globe">
135-
### Global Applications
136-
Strong performance for international and multilingual use cases.
137-
138-
- Translation assistance
139-
- Multilingual content creation
140-
- Cross-cultural communication
141-
- Global business applications
142-
143-
</Accordion>
144-
</AccordionGroup>
145-
146-
## Pricing Information
147-
148-
Cohere offers flexible pricing based on usage:
149-
150-
- **Free Tier**: Limited usage for testing
151-
- **Pay-as-you-go**: Based on tokens processed
152-
- **Enterprise**: Custom pricing for high-volume usage
153-
154-
<TokenPricing>
155-
<TokenPricingItem model="Command R Plus" input="~$0.0015" output="~$0.006" />
156-
<TokenPricingItem model="Command R" input="~$0.0015" output="~$0.0045" />
157-
<TokenPricingItem model="Command" input="~$0.001" output="~$0.002" />
158-
<TokenPricingItem model="Command Light" input="~$0.0003" output="~$0.0006" />
159-
</TokenPricing>
160-
161-
<Callout type="info">
162-
**Rate Limits**: Cohere implements rate limits based on your account tier. Free accounts have lower limits than paid
163-
accounts.
164-
</Callout>
165-
166-
<Callout type="tip">
167-
**Best Practices**: Start with Command R models for most applications. Use Command Light for simple tasks where speed
168-
is prioritized over quality.
169-
</Callout>
39+
- **Pricing:** See [Cohere Pricing](https://cohere.com/pricing)
40+
- **Free tier:** Available for testing

0 commit comments

Comments
 (0)