You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api-references/text-models-llm/cohere/command-a.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# command-a
2
2
3
-
<tabledata-header-hiddendata-full-width="true"><thead><tr><thwidth="546.4443969726562"valign="top"></th><thwidth="202.666748046875"valign="top"></th></tr></thead><tbody><tr><tdvalign="top"><divdata-gb-custom-blockdata-tag="hint"data-style="info"class="hint hint-info"><p>This documentation is valid for the following list of our models:<br><code>cohere/command-a</code></p></div></td><tdvalign="top"><ahref="https://aimlapi.com/app/cohere/command-a"class="button primary">Try in Playground</a></td></tr></tbody></table>
3
+
<tabledata-header-hiddendata-full-width="true"><thead><tr><thwidth="546.4443969726562"valign="top"></th><thwidth="202.666748046875"valign="top"></th></tr></thead><tbody><tr><tdvalign="top"><divdata-gb-custom-blockdata-tag="hint"data-style="info"class="hint hint-info"><p>This documentation is valid for the following list of our models:</p><ul><li><code>cohere/command-a</code></li></ul></div></td><tdvalign="top"><ahref="https://aimlapi.com/app/cohere/command-a"class="button primary">Try in Playground</a></td></tr></tbody></table>
4
4
5
5
## Model Overview
6
6
@@ -12,25 +12,25 @@ A powerful LLM with advanced capabilities for enterprise applications.
12
12
13
13
<summary>Step-by-Step Instructions</summary>
14
14
15
-
#### :digit\_one: Setup You Can’t Skip
15
+
:digit\_one: **Setup You Can’t Skip**
16
16
17
17
:black\_small\_square: [**Create an Account**](https://aimlapi.com/app/sign-up): Visit the AI/ML API website and create an account (if you don’t have one yet).\
18
18
:black\_small\_square: [**Generate an API Key**](https://aimlapi.com/app/keys): After logging in, navigate to your account dashboard and generate your API key. Ensure that key is enabled on UI.
19
19
20
-
#### :digit\_two: Copy the code example
20
+
:digit\_two: **Copy the code example**
21
21
22
22
At the bottom of this page, you'll find [a code example](command-a.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
23
23
24
-
#### :digit\_three: Modify the code example
24
+
:digit\_three: **Modify the code example**
25
25
26
26
:black\_small\_square: Replace `<YOUR_AIMLAPI_KEY>` with your actual AI/ML API key from your account.\
27
27
:black\_small\_square: Insert your question or request into the `content` field—this is what the model will respond to.
28
28
29
-
#### :digit\_four: <sup><sub><markstyle="background-color:yellow;">(Optional)<markstyle="background-color:yellow;"><sub></sup>Adjust other optional parameters if needed
29
+
:digit\_four: <sup><sub><markstyle="background-color:yellow;">**(Optional)**<markstyle="background-color:yellow;"><sub></sup>** Adjust other optional parameters if needed**
30
30
31
31
Only `model` and `messages` are required parameters for this model (and we’ve already filled them in for you in the example), but you can include optional parameters if needed to adjust the model’s behavior. Below, you can find the corresponding [API schema](command-a.md#api-schema), which lists all available parameters along with notes on how to use them.
32
32
33
-
#### :digit\_five: Run your modified code
33
+
:digit\_five: **Run your modified code**
34
34
35
35
Run your modified code in your development environment. Response time depends on various factors, but for simple prompts it rarely exceeds a few seconds.
Copy file name to clipboardExpand all lines: docs/api-references/text-models-llm/nousresearch/hermes-4-405b.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
# hermes-4-405b
2
2
3
3
{% columns %}
4
-
{% column width="75%" %}
4
+
{% column width="66.66666666666666%" %}
5
5
{% hint style="info" %}
6
6
This documentation is valid for the following model:
7
7
8
8
`nousresearch/hermes-4-405b`
9
9
{% endhint %}
10
10
{% endcolumn %}
11
11
12
-
{% column width="25%" %}
12
+
{% column width="33.33333333333334%" %}
13
13
<ahref="https://aimlapi.com/app/nousresearch/hermes-4-405b"class="button primary">Try in Playground</a>
14
14
{% endcolumn %}
15
15
{% endcolumns %}
@@ -24,25 +24,25 @@ A hybrid reasoning model designed to be creative, engaging, and neutrally aligne
24
24
25
25
<summary>Step-by-Step Instructions</summary>
26
26
27
-
#### :digit\_one: Setup You Can’t Skip
27
+
:digit\_one: **Setup You Can’t Skip**
28
28
29
29
:black\_small\_square: [**Create an Account**](https://aimlapi.com/app/sign-up): Visit the AI/ML API website and create an account (if you don’t have one yet).\
30
30
:black\_small\_square: [**Generate an API Key**](https://aimlapi.com/app/keys): After logging in, navigate to your account dashboard and generate your API key. Ensure that key is enabled on UI.
31
31
32
-
#### :digit\_two: Copy the code example
32
+
:digit\_two: **Copy the code example**
33
33
34
34
At the bottom of this page, you'll find [a code example](hermes-4-405b.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
35
35
36
-
#### :digit\_three: Modify the code example
36
+
:digit\_three: **Modify the code example**
37
37
38
38
:black\_small\_square: Replace `<YOUR_AIMLAPI_KEY>` with your actual AI/ML API key from your account.\
39
39
:black\_small\_square: Insert your question or request into the `content` field—this is what the model will respond to.
40
40
41
-
#### :digit\_four: <sup><sub><markstyle="background-color:yellow;">(Optional)<markstyle="background-color:yellow;"><sub></sup>Adjust other optional parameters if needed
41
+
:digit\_four: <sup><sub><markstyle="background-color:yellow;">**(Optional)**<markstyle="background-color:yellow;"><sub></sup>** Adjust other optional parameters if needed**
42
42
43
43
Only `model` and `messages` are required parameters for this model (and we’ve already filled them in for you in the example), but you can include optional parameters if needed to adjust the model’s behavior. Below, you can find the corresponding [API schema](hermes-4-405b.md#api-schema), which lists all available parameters along with notes on how to use them.
44
44
45
-
#### :digit\_five: Run your modified code
45
+
:digit\_five: **Run your modified code**
46
46
47
47
Run your modified code in your development environment. Response time depends on various factors, but for simple prompts it rarely exceeds a few seconds.
Copy file name to clipboardExpand all lines: docs/api-references/text-models-llm/perplexity/sonar-pro.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,9 @@
1
1
# sonar-pro
2
2
3
3
{% hint style="info" %}
4
-
This documentation is valid for the following list of our models: `perplexity/sonar-pro`
4
+
This documentation is valid for the following list of our models: 
5
+
6
+
*`perplexity/sonar-pro`
5
7
{% endhint %}
6
8
7
9
## Model Overview
@@ -14,25 +16,25 @@ Pro version is built for real-time, web-connected research and complex queries.
14
16
15
17
<summary>Step-by-Step Instructions</summary>
16
18
17
-
#### :digit\_one: Setup You Can’t Skip
19
+
:digit\_one: **Setup You Can’t Skip**
18
20
19
21
:black\_small\_square: [**Create an Account**](https://aimlapi.com/app/sign-up): Visit the AI/ML API website and create an account (if you don’t have one yet).\
20
22
:black\_small\_square: [**Generate an API Key**](https://aimlapi.com/app/keys): After logging in, navigate to your account dashboard and generate your API key. Ensure that key is enabled on UI.
21
23
22
-
#### :digit\_two: Copy the code example
24
+
:digit\_two: **Copy the code example**
23
25
24
26
At the bottom of this page, you'll find [a code example](sonar-pro.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
25
27
26
-
#### :digit\_three: Modify the code example
28
+
:digit\_three: **Modify the code example**
27
29
28
30
:black\_small\_square: Replace `<YOUR_AIMLAPI_KEY>` with your actual AI/ML API key from your account.\
29
31
:black\_small\_square: Insert your question or request into the `content` field—this is what the model will respond to.
30
32
31
-
#### :digit\_four: <sup><sub><markstyle="background-color:yellow;">(Optional)<markstyle="background-color:yellow;"><sub></sup>Adjust other optional parameters if needed
33
+
:digit\_four: <sup><sub><markstyle="background-color:yellow;">**(Optional)**<markstyle="background-color:yellow;"><sub></sup>** Adjust other optional parameters if needed**
32
34
33
35
Only `model` and `messages` are required parameters for this model (and we’ve already filled them in for you in the example), but you can include optional parameters if needed to adjust the model’s behavior. Below, you can find the corresponding [API schema](sonar-pro.md#api-schema), which lists all available parameters along with notes on how to use them.
34
36
35
-
#### :digit\_five: Run your modified code
37
+
:digit\_five: **Run your modified code**
36
38
37
39
Run your modified code in your development environment. Response time depends on various factors, but for simple prompts it rarely exceeds a few seconds.
Copy file name to clipboardExpand all lines: docs/api-references/text-models-llm/perplexity/sonar.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,9 @@
1
1
# sonar
2
2
3
3
{% hint style="info" %}
4
-
This documentation is valid for the following list of our models: `perplexity/sonar`
4
+
This documentation is valid for the following list of our models:
5
+
6
+
* `perplexity/sonar`
5
7
{% endhint %}
6
8
7
9
## Model Overview
@@ -14,25 +16,25 @@ A model built on top of Llama 3.3 70B and optimized for Perplexity search. Fast,
14
16
15
17
<summary>Step-by-Step Instructions</summary>
16
18
17
-
#### :digit\_one: Setup You Can’t Skip
19
+
:digit\_one: **Setup You Can’t Skip**
18
20
19
21
:black\_small\_square: [**Create an Account**](https://aimlapi.com/app/sign-up): Visit the AI/ML API website and create an account (if you don’t have one yet).\
20
22
:black\_small\_square: [**Generate an API Key**](https://aimlapi.com/app/keys): After logging in, navigate to your account dashboard and generate your API key. Ensure that key is enabled on UI.
21
23
22
-
#### :digit\_two: Copy the code example
24
+
:digit\_two: **Copy the code example**
23
25
24
26
At the bottom of this page, you'll find [a code example](sonar.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
25
27
26
-
#### :digit\_three: Modify the code example
28
+
:digit\_three: **Modify the code example**
27
29
28
30
:black\_small\_square: Replace `<YOUR_AIMLAPI_KEY>` with your actual AI/ML API key from your account.\
29
31
:black\_small\_square: Insert your question or request into the `content` field—this is what the model will respond to.
30
32
31
-
#### :digit\_four: <sup><sub><markstyle="background-color:yellow;">(Optional)<markstyle="background-color:yellow;"><sub></sup>Adjust other optional parameters if needed
33
+
:digit\_four: <sup><sub><markstyle="background-color:yellow;">**(Optional)**<markstyle="background-color:yellow;"><sub></sup>** Adjust other optional parameters if needed**
32
34
33
35
Only `model` and `messages` are required parameters for this model (and we’ve already filled them in for you in the example), but you can include optional parameters if needed to adjust the model’s behavior. Below, you can find the corresponding [API schema](sonar.md#api-schema), which lists all available parameters along with notes on how to use them.
34
36
35
-
#### :digit\_five: Run your modified code
37
+
:digit\_five: **Run your modified code**
36
38
37
39
Run your modified code in your development environment. Response time depends on various factors, but for simple prompts it rarely exceeds a few seconds.
Copy file name to clipboardExpand all lines: docs/api-references/text-models-llm/xai/grok-3-beta.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# grok-3-beta
2
2
3
-
<tabledata-header-hiddendata-full-width="true"><thead><tr><thwidth="546.4443969726562"valign="top"></th><thwidth="202.666748046875"valign="top"></th></tr></thead><tbody><tr><tdvalign="top"><divdata-gb-custom-blockdata-tag="hint"data-style="info"class="hint hint-info"><p>This documentation is valid for the following model:<br><code>x-ai/grok-3-beta</code></p></div></td><tdvalign="top"><ahref="https://aimlapi.com/app/x-ai/grok-3-beta"class="button primary">Try in Playground</a></td></tr></tbody></table>
3
+
<tabledata-header-hiddendata-full-width="true"><thead><tr><thwidth="546.4443969726562"valign="top"></th><thwidth="202.666748046875"valign="top"></th></tr></thead><tbody><tr><tdvalign="top"><divdata-gb-custom-blockdata-tag="hint"data-style="info"class="hint hint-info"><p>This documentation is valid for the following model:</p><ul><li><code>x-ai/grok-3-beta</code></li></ul></div></td><tdvalign="top"><ahref="https://aimlapi.com/app/x-ai/grok-3-beta"class="button primary">Try in Playground</a></td></tr></tbody></table>
4
4
5
5
## Model Overview
6
6
@@ -12,25 +12,25 @@ xAI's most advanced model as of Spring 2025, showcasing superior reasoning capab
12
12
13
13
<summary>Step-by-Step Instructions</summary>
14
14
15
-
#### :digit\_one: Setup You Can’t Skip
15
+
:digit\_one: **Setup You Can’t Skip**
16
16
17
17
:black\_small\_square: [**Create an Account**](https://aimlapi.com/app/sign-up): Visit the AI/ML API website and create an account (if you don’t have one yet).\
18
18
:black\_small\_square: [**Generate an API Key**](https://aimlapi.com/app/keys): After logging in, navigate to your account dashboard and generate your API key. Ensure that key is enabled on UI.
19
19
20
-
#### :digit\_two: Copy the code example
20
+
:digit\_two: **Copy the code example**
21
21
22
22
At the bottom of this page, you'll find [a code example](grok-3-beta.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
23
23
24
-
#### :digit\_three: Modify the code example
24
+
:digit\_three: **Modify the code example**
25
25
26
26
:black\_small\_square: Replace `<YOUR_AIMLAPI_KEY>` with your actual AI/ML API key from your account.\
27
27
:black\_small\_square: Insert your question or request into the `content` field—this is what the model will respond to.
28
28
29
-
#### :digit\_four: <sup><sub><markstyle="background-color:yellow;">(Optional)<markstyle="background-color:yellow;"><sub></sup>Adjust other optional parameters if needed
29
+
:digit\_four: <sup><sub><markstyle="background-color:yellow;">**(Optional)**<markstyle="background-color:yellow;"><sub></sup>** Adjust other optional parameters if needed**
30
30
31
31
Only `model` and `messages` are required parameters for this model (and we’ve already filled them in for you in the example), but you can include optional parameters if needed to adjust the model’s behavior. Below, you can find the corresponding [API schema](grok-3-beta.md#api-schema), which lists all available parameters along with notes on how to use them.
32
32
33
-
#### :digit\_five: Run your modified code
33
+
:digit\_five: **Run your modified code**
34
34
35
35
Run your modified code in your development environment. Response time depends on various factors, but for simple prompts it rarely exceeds a few seconds.
Copy file name to clipboardExpand all lines: docs/api-references/text-models-llm/xai/grok-4-fast-non-reasoning.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
# grok-4-fast-non-reasoning
2
2
3
-
<tabledata-header-hiddendata-full-width="true"><thead><tr><thwidth="546.4443969726562"valign="top"></th><thwidth="202.666748046875"valign="top"></th></tr></thead><tbody><tr><tdvalign="top"><divdata-gb-custom-blockdata-tag="hint"data-style="info"class="hint hint-info"><p>This documentation is valid for the following model:</p><p><code>x-ai/grok-4-fast-non-reasoning</code></p></div></td><tdvalign="top"><ahref="https://aimlapi.com/app/x-ai/grok-4-fast-non-reasoning"class="button primary">Try in Playground</a></td></tr></tbody></table>
3
+
<tabledata-header-hiddendata-full-width="true"><thead><tr><thwidth="546.4443969726562"valign="top"></th><thwidth="202.666748046875"valign="top"></th></tr></thead><tbody><tr><tdvalign="top"><divdata-gb-custom-blockdata-tag="hint"data-style="info"class="hint hint-info"><p>This documentation is valid for the following model:</p><ul><li><code>x-ai/grok-4-fast-non-reasoning</code></li></ul></div></td><tdvalign="top"><ahref="https://aimlapi.com/app/x-ai/grok-4-fast-non-reasoning"class="button primary">Try in Playground</a></td></tr></tbody></table>
4
4
5
5
## Model Overview
6
6
7
-
xAI’s multimodal model, offering state-of-the-art cost efficiency and a 2M-token context window.\
7
+
xAI’s multimodal model, offering state-of-the-art cost efficiency and a 2M-token context window.\
Copy file name to clipboardExpand all lines: docs/api-references/text-models-llm/xai/grok-4.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ layout:
17
17
18
18
# grok-4
19
19
20
-
<tabledata-header-hiddendata-full-width="true"><thead><tr><thwidth="546.4443969726562"valign="top"></th><thwidth="202.666748046875"valign="top"></th></tr></thead><tbody><tr><tdvalign="top"><divdata-gb-custom-blockdata-tag="hint"data-style="info"class="hint hint-info"><p>This documentation is valid for the following model:<br><code>x-ai/grok-4-07-09</code></p></div></td><tdvalign="top"><ahref="https://aimlapi.com/app/x-ai/grok-4-07-09"class="button primary">Try in Playground</a></td></tr></tbody></table>
20
+
<tabledata-header-hiddendata-full-width="true"><thead><tr><thwidth="546.4443969726562"valign="top"></th><thwidth="202.666748046875"valign="top"></th></tr></thead><tbody><tr><tdvalign="top"><divdata-gb-custom-blockdata-tag="hint"data-style="info"class="hint hint-info"><p>This documentation is valid for the following model:</p><ul><li><code>x-ai/grok-4-07-09</code></li></ul></div></td><tdvalign="top"><ahref="https://aimlapi.com/app/x-ai/grok-4-07-09"class="button primary">Try in Playground</a></td></tr></tbody></table>
21
21
22
22
## Model Overview
23
23
@@ -29,25 +29,25 @@ Grok 4 is boldly described by its developers as the most intelligent model in th
29
29
30
30
<summary>Step-by-Step Instructions</summary>
31
31
32
-
#### :digit\_one: Setup You Can’t Skip
32
+
:digit\_one: **Setup You Can’t Skip**
33
33
34
34
:black\_small\_square: [**Create an Account**](https://aimlapi.com/app/sign-up): Visit the AI/ML API website and create an account (if you don’t have one yet).\
35
35
:black\_small\_square: [**Generate an API Key**](https://aimlapi.com/app/keys): After logging in, navigate to your account dashboard and generate your API key. Ensure that key is enabled on UI.
36
36
37
-
#### :digit\_two: Copy the code example
37
+
:digit\_two: **Copy the code example**
38
38
39
39
At the bottom of this page, you'll find [a code example](grok-4.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
40
40
41
-
#### :digit\_three: Modify the code example
41
+
:digit\_three: **Modify the code example**
42
42
43
43
:black\_small\_square: Replace `<YOUR_AIMLAPI_KEY>` with your actual AI/ML API key from your account.\
44
44
:black\_small\_square: Insert your question or request into the `content` field—this is what the model will respond to.
45
45
46
-
#### :digit\_four: <sup><sub><markstyle="background-color:yellow;">(Optional)<markstyle="background-color:yellow;"><sub></sup>Adjust other optional parameters if needed
46
+
:digit\_four: <sup><sub><markstyle="background-color:yellow;">**(Optional)**<markstyle="background-color:yellow;"><sub></sup>** Adjust other optional parameters if needed**
47
47
48
48
Only `model` and `messages` are required parameters for this model (and we’ve already filled them in for you in the example), but you can include optional parameters if needed to adjust the model’s behavior. Below, you can find the corresponding [API schema](grok-4.md#api-schema), which lists all available parameters along with notes on how to use them.
49
49
50
-
#### :digit\_five: Run your modified code
50
+
:digit\_five: **Run your modified code**
51
51
52
52
Run your modified code in your development environment. Response time depends on various factors, but for simple prompts it rarely exceeds a few seconds.
0 commit comments