open-index/open-npm huggingface dataset:
npm package: @markeljan/ai-sdk-amazon-bedrock
Description: The **[Amazon Bedrock provider](https://sdk.vercel.ai/providers/ai-sdk-providers/amazon-bedrock)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for the Amazon Bedrock [converse API](https://docs.aws.amazon.com/bedrock/lates
Latest version: 2.0.6

# AI SDK - Amazon Bedrock Provider

The **[Amazon Bedrock provider](https://sdk.vercel.ai/providers/ai-sdk-providers/amazon-bedrock)** for the [AI SDK](https://sdk.vercel.ai/docs)
contains language model support for the Amazon Bedrock [converse API](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html).

## Setup

The Amazon Bedrock provider is available in the `@ai-sdk/amazon-bedrock` module. You can install it with

```bash
npm i @ai-sdk/amazon-bedrock
```

## Provider Instance

You can import the default provider instance `bedrock` from `@ai-sdk/amazon-bedrock`:

```ts
import { bedrock } from '@markeljan/ai-sdk-amazon-bedrock';
```

## Example

```ts
import { bedrock } from '@markeljan/ai-sdk-amazon-bedrock';
import { generateText } from '@markeljan/ai';

const { text } = await generateText({
  model: bedrock('meta.llama3-8b-instruct-v1:0'),
  prompt: 'Write a vegetarian lasagna recipe for 4 people.',
});
```

## Documentation

Please check out the **[Amazon Bedrock provider documentation](https://sdk.vercel.ai/providers/ai-sdk-providers/amazon-bedrock)** for more information.
npm package: @markeljan/ai-sdk-anthropic
Description: The **[Anthropic provider](https://sdk.vercel.ai/providers/ai-sdk-providers/anthropic)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for the [Anthropic Messages API](https://docs.anthropic.com/claude/reference/messages_pos
Latest version: 1.1.11

# AI SDK - Anthropic Provider

The **[Anthropic provider](https://sdk.vercel.ai/providers/ai-sdk-providers/anthropic)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for the [Anthropic Messages API](https://docs.anthropic.com/claude/reference/messages_post).

## Setup

The Anthropic provider is available in the `@ai-sdk/anthropic` module. You can install it with

```
npm i @ai-sdk/anthropic
```

## Provider Instance

You can import the default provider instance `anthropic` from `@ai-sdk/anthropic`:

```ts
import { anthropic } from '@markeljan/ai-sdk-anthropic';
```

## Example

```ts
import { anthropic } from '@markeljan/ai-sdk-anthropic';
import { generateText } from '@markeljan/ai';

const { text } = await generateText({
  model: anthropic('claude-3-haiku-20240307'),
  prompt: 'Write a vegetarian lasagna recipe for 4 people.',
});
```

## Documentation

Please check out the **[Anthropic provider documentation](https://sdk.vercel.ai/providers/ai-sdk-providers/anthropic)** for more information.
npm package: @markeljan/ai-sdk-azure
Description: The **[Azure provider](https://sdk.vercel.ai/providers/ai-sdk-providers/azure)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for the Azure OpenAI API.
Latest version: 1.1.15

# AI SDK - Azure OpenAI Provider

The **[Azure provider](https://sdk.vercel.ai/providers/ai-sdk-providers/azure)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for the Azure OpenAI API.

## Setup

The Azure provider is available in the `@ai-sdk/azure` module. You can install it with

```bash
npm i @ai-sdk/azure
```

## Provider Instance

You can import the default provider instance `azure` from `@ai-sdk/azure`:

```ts
import { azure } from '@markeljan/ai-sdk-azure';
```

## Example

```ts
import { azure } from '@markeljan/ai-sdk-azure';
import { generateText } from '@markeljan/ai';

const { text } = await generateText({
  model: azure('gpt-4o'), // your deployment name
  prompt: 'Write a vegetarian lasagna recipe for 4 people.',
});
```

## Documentation

Please check out the **[Azure provider](https://sdk.vercel.ai/providers/ai-sdk-providers/azure)** for more information.
npm package: @markeljan/ai-sdk-cerebras
Description: The **Cerebras provider** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for [Cerebras](https://cerebras.ai), offering high-speed AI model inference powered by Cerebras Wafer-Scale Engines and CS-3 systems.
Latest version: 0.1.13

# AI SDK - Cerebras Provider

The **Cerebras provider** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for [Cerebras](https://cerebras.ai), offering high-speed AI model inference powered by Cerebras Wafer-Scale Engines and CS-3 systems.

## Setup

The Cerebras provider is available in the `@ai-sdk/cerebras` module. You can install it with

```bash
npm i @ai-sdk/cerebras
```

## Provider Instance

You can import the default provider instance `cerebras` from `@ai-sdk/cerebras`:

```ts
import { cerebras } from '@markeljan/ai-sdk-cerebras';
```

## Available Models

Currently, Cerebras offers two models:

### Llama 3.1 8B

- Model ID: `llama3.1-8b`
- 8 billion parameters
- Knowledge cutoff: March 2023
- Context Length: 8192
- Training Tokens: 15 trillion+

### Llama 3.3 70B

- Model ID: `llama-3.3-70b`
- 70 billion parameters
- Knowledge cutoff: December 2023
- Context Length: 8192
- Training Tokens: 15 trillion+

## Example

```ts
import { cerebras } from '@markeljan/ai-sdk-cerebras';
import { generateText } from '@markeljan/ai';

const { text } = await generateText({
  model: cerebras('llama3.1-8b'),
  prompt: 'Write a JavaScript function that sorts a list:',
});
```

## Documentation

For more information about Cerebras' high-speed inference capabilities and API documentation, please visit:

- [Cerebras Inference Documentation](https://inference-docs.cerebras.ai/introduction)
- [Cerebras Website](https://cerebras.ai)

Note: Due to high demand in the early launch phase, context windows are temporarily limited to 8192 tokens in the Free Tier.
npm package: @markeljan/ai-sdk-cohere
Description: The **[Cohere provider](https://sdk.vercel.ai/providers/ai-sdk-providers/cohere)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for the Cohere API.
Latest version: 1.1.13

# AI SDK - Cohere Provider

The **[Cohere provider](https://sdk.vercel.ai/providers/ai-sdk-providers/cohere)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for the Cohere API.

## Setup

The Cohere provider is available in the `@ai-sdk/cohere` module. You can install it with

```bash
npm i @ai-sdk/cohere
```

## Provider Instance

You can import the default provider instance `cohere` from `@ai-sdk/cohere`:

```ts
import { cohere } from '@markeljan/ai-sdk-cohere';
```

## Example

```ts
import { cohere } from '@markeljan/ai-sdk-cohere';
import { generateText } from '@markeljan/ai';

const { text } = await generateText({
  model: cohere('command-r-plus'),
  prompt: 'Write a vegetarian lasagna recipe for 4 people.',
});
```

## Documentation

Please check out the **[Cohere provider](https://sdk.vercel.ai/providers/ai-sdk-providers/cohere)** for more information.
npm package: @markeljan/ai-sdk-deepinfra
Description: The **[DeepInfra provider](https://sdk.vercel.ai/providers/ai-sdk-providers/deepinfra)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for the DeepInfra API, giving you access to models like Llama 3, Mixtral, and other state
Latest version: 0.1.14

# AI SDK - DeepInfra Provider

The **[DeepInfra provider](https://sdk.vercel.ai/providers/ai-sdk-providers/deepinfra)** for the [AI SDK](https://sdk.vercel.ai/docs)
contains language model support for the DeepInfra API, giving you access to models like Llama 3, Mixtral, and other state-of-the-art LLMs.

## Setup

The DeepInfra provider is available in the `@ai-sdk/deepinfra` module. You can install it with

```bash
npm i @ai-sdk/deepinfra
```

## Provider Instance

You can import the default provider instance `deepinfra` from `@ai-sdk/deepinfra`:

```ts
import { deepinfra } from '@markeljan/ai-sdk-deepinfra';
```

## Example

```ts
import { deepinfra } from '@markeljan/ai-sdk-deepinfra';
import { generateText } from '@markeljan/ai';

const { text } = await generateText({
  model: deepinfra('meta-llama/Llama-3.3-70B-Instruct'),
  prompt: 'Write a vegetarian lasagna recipe for 4 people.',
});
```

## Documentation

Please check out the **[DeepInfra provider documentation](https://sdk.vercel.ai/providers/ai-sdk-providers/deepinfra)** for more information.
npm package: @markeljan/ai-sdk-deepseek
Description: The **[DeepSeek provider](https://sdk.vercel.ai/providers/ai-sdk-providers/deepseek)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for the [DeepSeek](https://www.deepseek.com) platform.
Latest version: 0.1.13

# AI SDK - DeepSeek Provider

The **[DeepSeek provider](https://sdk.vercel.ai/providers/ai-sdk-providers/deepseek)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for the [DeepSeek](https://www.deepseek.com) platform.

## Setup

The DeepSeek provider is available in the `@ai-sdk/deepseek` module. You can install it with

```bash
npm i @ai-sdk/deepseek
```

## Provider Instance

You can import the default provider instance `deepseek` from `@ai-sdk/deepseek`:

```ts
import { deepseek } from '@markeljan/ai-sdk-deepseek';
```

## Example

```ts
import { deepseek } from '@markeljan/ai-sdk-deepseek';
import { generateText } from '@markeljan/ai';

const { text } = await generateText({
  model: deepseek('deepseek-chat'),
  prompt: 'Write a JavaScript function that sorts a list:',
});
```

## Documentation

Please check out the **[DeepSeek provider](https://sdk.vercel.ai/providers/ai-sdk-providers/deepseek)** for more information.
npm package: @markeljan/ai-sdk-fal
Description: The **[fal provider](https://sdk.vercel.ai/providers/ai-sdk-providers/fal)** for the [AI SDK](https://sdk.vercel.ai/docs) contains image model support for the [fal.ai API](https://fal.ai/).
Latest version: 0.0.7

# AI SDK - fal Provider

The **[fal provider](https://sdk.vercel.ai/providers/ai-sdk-providers/fal)** for the [AI SDK](https://sdk.vercel.ai/docs) contains image model support for the [fal.ai API](https://fal.ai/).

## Setup

The fal provider is available in the `@ai-sdk/fal` module. You can install it with

```bash
npm i @ai-sdk/fal
```

## Provider Instance

You can import the default provider instance `fal` from `@ai-sdk/fal`:

```ts
import { fal } from '@markeljan/ai-sdk-fal';
```

## Image Generation Example

```ts
import { fal } from '@markeljan/ai-sdk-fal';
import { experimental_generateImage as generateImage } from '@markeljan/ai';
import fs from 'fs';
const { image } = await generateImage({
  model: fal.image('fal-ai/flux/schnell'),
  prompt: 'A cat wearing a intricate robe',
});

const filename = `image-${Date.now()}.png`;
fs.writeFileSync(filename, image.uint8Array);
console.log(`Image saved to ${filename}`);
```

## Additional Options

If you want to pass additional inputs to the model besides the prompt, use the `providerOptions.fal` property:

```ts
const { image } = await generateImage({
  model: fal.image('fal-ai/recraft-v3'),
  prompt: 'A cat wearing a intricate robe',
  size: '1920x1080',
  providerOptions: {
    fal: {
      style: 'digital_illustration',
    },
  },
});
```

## Documentation

Please check out the **[fal provider](https://sdk.vercel.ai/providers/ai-sdk-providers/fal)** for more information.
npm package: @markeljan/ai-sdk-fireworks
Description: The **[Fireworks provider](https://sdk.vercel.ai/providers/ai-sdk-providers/fireworks)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model and image model support for the [Fireworks](https://fireworks.ai) platform.
Latest version: 0.1.13

# AI SDK - Fireworks Provider

The **[Fireworks provider](https://sdk.vercel.ai/providers/ai-sdk-providers/fireworks)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model and image model support for the [Fireworks](https://fireworks.ai) platform.

## Setup

The Fireworks provider is available in the `@ai-sdk/fireworks` module. You can install it with

```bash
npm i @ai-sdk/fireworks
```

## Provider Instance

You can import the default provider instance `fireworks` from `@ai-sdk/fireworks`:

```ts
import { fireworks } from '@markeljan/ai-sdk-fireworks';
```

## Language Model Example

```ts
import { fireworks } from '@markeljan/ai-sdk-fireworks';
import { generateText } from '@markeljan/ai';

const { text } = await generateText({
  model: fireworks('accounts/fireworks/models/deepseek-v3'),
  prompt: 'Write a JavaScript function that sorts a list:',
});
```

## Image Model Examples

```ts
import { fireworks } from '@markeljan/ai-sdk-fireworks';
import { experimental_generateImage as generateImage } from '@markeljan/ai';
import fs from 'fs';

const { image } = await generateImage({
  model: fireworks.image('accounts/fireworks/models/flux-1-dev-fp8'),
  prompt: 'A serene mountain landscape at sunset',
});
const filename = `image-${Date.now()}.png`;
fs.writeFileSync(filename, image.uint8Array);
console.log(`Image saved to ${filename}`);
```

## Documentation

Please check out the **[Fireworks provider](https://sdk.vercel.ai/providers/ai-sdk-providers/fireworks)** for more information.
npm package: @markeljan/ai-sdk-google
Description: The **[Google Generative AI provider](https://sdk.vercel.ai/providers/ai-sdk-providers/google-generative-ai)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for the [Google Generative AI](https://ai.google/discover/generativ
Latest version: 1.1.18

# AI SDK - Google Generative AI Provider

The **[Google Generative AI provider](https://sdk.vercel.ai/providers/ai-sdk-providers/google-generative-ai)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for the [Google Generative AI](https://ai.google/discover/generativeai/) APIs.

## Setup

The Google Generative AI provider is available in the `@ai-sdk/google` module. You can install it with

```bash
npm i @ai-sdk/google
```

## Provider Instance

You can import the default provider instance `google` from `@ai-sdk/google`:

```ts
import { google } from '@markeljan/ai-sdk-google';
```

## Example

```ts
import { google } from '@markeljan/ai-sdk-google';
import { generateText } from '@markeljan/ai';

const { text } = await generateText({
  model: google('gemini-1.5-pro-latest'),
  prompt: 'Write a vegetarian lasagna recipe for 4 people.',
});
```

## Documentation

Please check out the **[Google Generative AI provider documentation](https://sdk.vercel.ai/providers/ai-sdk-providers/google-generative-ai)** for more information.
npm package: @markeljan/ai-sdk-groq
Description: The **[Groq provider](https://sdk.vercel.ai/providers/ai-sdk-providers/groq)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for the Groq chat and completion APIs and embedding model support for the Groq embeddings API.
Latest version: 1.1.12

# AI SDK - Groq Provider

The **[Groq provider](https://sdk.vercel.ai/providers/ai-sdk-providers/groq)** for the [AI SDK](https://sdk.vercel.ai/docs)
contains language model support for the Groq chat and completion APIs and embedding model support for the Groq embeddings API.

## Setup

The Groq provider is available in the `@ai-sdk/groq` module. You can install it with

```bash
npm i @ai-sdk/groq
```

## Provider Instance

You can import the default provider instance `groq` from `@ai-sdk/groq`:

```ts
import { groq } from '@markeljan/ai-sdk-groq';
```

## Example

```ts
import { groq } from '@markeljan/ai-sdk-groq';
import { generateText } from '@markeljan/ai';

const { text } = await generateText({
  model: groq('gemma2-9b-it'),
  prompt: 'Write a vegetarian lasagna recipe for 4 people.',
});
```

## Documentation

Please check out the **[Groq provider documentation](https://sdk.vercel.ai/providers/ai-sdk-providers/groq)** for more information.
npm package: @markeljan/ai-sdk-luma
Description: The **Luma provider** for the [AI SDK](https://sdk.vercel.ai/docs) contains support for Luma AI's state-of-the-art image generation models - Photon and Photon Flash.
Latest version: 0.0.9

# AI SDK - Luma Provider

The **Luma provider** for the [AI SDK](https://sdk.vercel.ai/docs) contains support for Luma AI's state-of-the-art image generation models - Photon and Photon Flash.

## About Luma Photon Models

Luma Photon and Photon Flash are groundbreaking image generation models that deliver:

- Ultra-high quality image generation
- 10x higher cost efficiency compared to similar models
- Superior prompt understanding and adherence
- Unique character consistency capabilities from single reference images
- Multi-image reference support for precise style matching

For more detailed information about the Luma models and their capabilities, please visit [Luma AI](https://lumalabs.ai/).

## Setup

The Luma provider is available in the `@ai-sdk/luma` module. You can install it with:

```bash
npm i @ai-sdk/luma
```

## Provider Instance

You can import the default provider instance `luma` from `@ai-sdk/luma`:

```ts
import { luma } from '@markeljan/ai-sdk-luma';
```

## Image Generation Example

```ts
import { luma } from '@markeljan/ai-sdk-luma';
import { experimental_generateImage as generateImage } from '@markeljan/ai';
import fs from 'fs';

const { image } = await generateImage({
  model: luma.image('photon-1'),
  prompt: 'A serene mountain landscape at sunset',
});

const filename = `image-${Date.now()}.png`;
fs.writeFileSync(filename, image.uint8Array);
console.log(`Image saved to ${filename}`);
```

## Documentation

Please check out the **[Luma provider](https://sdk.vercel.ai/providers/ai-sdk-providers/luma)** for more information.
npm package: @markeljan/ai-sdk-mistral
Description: The **[Mistral provider](https://sdk.vercel.ai/providers/ai-sdk-providers/mistral)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for the Mistral chat API.
Latest version: 1.1.14

# AI SDK - Mistral Provider

The **[Mistral provider](https://sdk.vercel.ai/providers/ai-sdk-providers/mistral)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for the Mistral chat API.

## Setup

The Mistral provider is available in the `@ai-sdk/mistral` module. You can install it with

```bash
npm i @ai-sdk/mistral
```

## Provider Instance

You can import the default provider instance `mistral` from `@ai-sdk/mistral`:

```ts
import { mistral } from '@markeljan/ai-sdk-mistral';
```

## Example

```ts
import { mistral } from '@markeljan/ai-sdk-mistral';
import { generateText } from '@markeljan/ai';

const { text } = await generateText({
  model: mistral('mistral-large-latest'),
  prompt: 'Write a vegetarian lasagna recipe for 4 people.',
});
```

## Documentation

Please check out the **[Mistral provider](https://sdk.vercel.ai/providers/ai-sdk-providers/mistral)** for more information.
npm package: @markeljan/ai-sdk-openai
Description: The **[OpenAI provider](https://sdk.vercel.ai/providers/ai-sdk-providers/openai)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for the OpenAI chat and completion APIs and embedding model support for the OpenAI embeddings A
Latest version: 1.1.15

# AI SDK - OpenAI Provider

The **[OpenAI provider](https://sdk.vercel.ai/providers/ai-sdk-providers/openai)** for the [AI SDK](https://sdk.vercel.ai/docs)
contains language model support for the OpenAI chat and completion APIs and embedding model support for the OpenAI embeddings API.

## Setup

The OpenAI provider is available in the `@ai-sdk/openai` module. You can install it with

```bash
npm i @ai-sdk/openai
```

## Provider Instance

You can import the default provider instance `openai` from `@ai-sdk/openai`:

```ts
import { openai } from '@markeljan/ai-sdk-openai';
```

## Example

```ts
import { openai } from '@markeljan/ai-sdk-openai';
import { generateText } from '@markeljan/ai';

const { text } = await generateText({
  model: openai('gpt-4-turbo'),
  prompt: 'Write a vegetarian lasagna recipe for 4 people.',
});
```

## Documentation

Please check out the **[OpenAI provider documentation](https://sdk.vercel.ai/providers/ai-sdk-providers/openai)** for more information.
npm package: @markeljan/ai-sdk-perplexity
Description: The **[Perplexity provider](https://sdk.vercel.ai/providers/ai-sdk-providers/perplexity)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for Perplexity's Sonar API - a powerful answer engine with real-time web search capabil
Latest version: 1.0.3

# AI SDK - Perplexity Provider

The **[Perplexity provider](https://sdk.vercel.ai/providers/ai-sdk-providers/perplexity)** for the [AI SDK](https://sdk.vercel.ai/docs)
contains language model support for Perplexity's Sonar API - a powerful answer engine with real-time web search capabilities.

## Features

- Real-time web search grounding for accurate, up-to-date responses
- Support for advanced queries and follow-up questions
- Multiple tiers available:
  - **Sonar Pro**: Enhanced capabilities for complex tasks with 2x more citations
  - **Sonar**: Lightweight offering optimized for speed and cost
- Industry-leading answer quality
- Data privacy - no training on customer data
- Self-serve API access with scalable pricing

## Setup

The Perplexity provider is available in the `@ai-sdk/perplexity` module. You can install it with:

```bash
npm i @ai-sdk/perplexity
```

## Provider Instance

You can import the default provider instance `perplexity` from `@ai-sdk/perplexity`:

```ts
import { perplexity } from '@markeljan/ai-sdk-perplexity';
```

## Example

```ts
import { perplexity } from '@markeljan/ai-sdk-perplexity';
import { generateText } from '@markeljan/ai';

const { text } = await generateText({
  model: perplexity('sonar-pro'),
  prompt: 'What are the latest developments in quantum computing?',
});
```

## Documentation

Please check out the **[Perplexity provider documentation](https://sdk.vercel.ai/providers/ai-sdk-providers/perplexity)** for more information.
npm package: @markeljan/ai-sdk-react
Description: [React](https://react.dev/) UI components for the [AI SDK](https://sdk.vercel.ai/docs):
Latest version: 1.1.19

# AI SDK: React provider

[React](https://react.dev/) UI components for the [AI SDK](https://sdk.vercel.ai/docs):

- [`useChat`](https://sdk.vercel.ai/docs/reference/ai-sdk-ui/use-chat) hook
- [`useCompletion`](https://sdk.vercel.ai/docs/reference/ai-sdk-ui/use-completion) hook
- [`useAssistant`](https://sdk.vercel.ai/docs/reference/ai-sdk-ui/use-assistant) hook
npm package: @markeljan/ai-sdk-replicate
Description: The **[Replicate provider](https://sdk.vercel.ai/providers/ai-sdk-providers/replicate)** for the [AI SDK](https://sdk.vercel.ai/docs) contains image model support for the Replicate API.
Latest version: 0.1.12

# AI SDK - Replicate Provider

The **[Replicate provider](https://sdk.vercel.ai/providers/ai-sdk-providers/replicate)** for the [AI SDK](https://sdk.vercel.ai/docs) contains image model support for the Replicate API.

## Setup

The Replicate provider is available in the `@ai-sdk/replicate` module. You can install it with

```bash
npm i @ai-sdk/replicate
```

## Usage

```ts
import { replicate } from '@markeljan/ai-sdk-replicate';
import { experimental_generateImage as generateImage } from '@markeljan/ai';

const { image } = await generateImage({
  model: replicate.image('black-forest-labs/flux-schnell'),
  prompt: 'The Loch Ness Monster getting a manicure',
});

const filename = `image-${Date.now()}.png`;
fs.writeFileSync(filename, image.uint8Array);
console.log(`Image saved to ${filename}`);
```

If you want to pass additional inputs to the model besides the prompt, use the `providerOptions.replicate` property:

```ts
const { image } = await generateImage({
  model: replicate.image('recraft-ai/recraft-v3'),
  prompt: 'The Loch Ness Monster getting a manicure',
  size: '1365x1024',
  providerOptions: {
    replicate: {
      style: 'realistic_image',
    },
  },
});
```

## Documentation

Please check out the **[Replicate provider](https://sdk.vercel.ai/providers/ai-sdk-providers/replicate)** for more information.
npm package: @markeljan/ai-sdk-solid
Description: [Solid.js](https://www.solidjs.com/) UI components for the [AI SDK](https://sdk.vercel.ai/docs):
Latest version: 1.1.21

# AI SDK: Solid.js provider

[Solid.js](https://www.solidjs.com/) UI components for the [AI SDK](https://sdk.vercel.ai/docs):

- [`useChat`](https://sdk.vercel.ai/docs/reference/ai-sdk-ui/use-chat) hook
- [`useCompletion`](https://sdk.vercel.ai/docs/reference/ai-sdk-ui/use-completion) hook
npm package: @markeljan/ai-sdk-svelte
Description: [Svelte](https://svelte.dev/) UI components for the [AI SDK](https://sdk.vercel.ai/docs):
Latest version: 1.1.20

# AI SDK: Svelte provider

[Svelte](https://svelte.dev/) UI components for the [AI SDK](https://sdk.vercel.ai/docs):

- [`useChat`](https://sdk.vercel.ai/docs/reference/ai-sdk-ui/use-chat) hook
- [`useCompletion`](https://sdk.vercel.ai/docs/reference/ai-sdk-ui/use-completion) hook
- [`useAssistant`](https://sdk.vercel.ai/docs/reference/ai-sdk-ui/use-assistant) hook
npm package: @markeljan/ai-sdk-togetherai
Description: The **[Together.ai provider](https://sdk.vercel.ai/providers/ai-sdk-providers/togetherai)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for the [Together.ai](https://together.ai) platform.
Latest version: 0.1.14

# AI SDK - Together.ai Provider

The **[Together.ai provider](https://sdk.vercel.ai/providers/ai-sdk-providers/togetherai)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for the [Together.ai](https://together.ai) platform.

## Setup

The Together.ai provider is available in the `@ai-sdk/togetherai` module. You can install it with

```bash
npm i @ai-sdk/togetherai
```

## Provider Instance

You can import the default provider instance `togetherai` from `@ai-sdk/togetherai`:

```ts
import { togetherai } from '@markeljan/ai-sdk-togetherai';
```

## Example

```ts
import { togetherai } from '@markeljan/ai-sdk-togetherai';
import { generateText } from '@markeljan/ai';

const { text } = await generateText({
  model: togetherai('meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo'),
  prompt: 'Write a Python function that sorts a list:',
});
```

## Documentation

Please check out the **[Together.ai provider](https://sdk.vercel.ai/providers/ai-sdk-providers/togetherai)** for more information.
npm package: @markeljan/ai-sdk-vue
Description: [Vue.js](https://vuejs.org/) UI components for the [AI SDK](https://sdk.vercel.ai/docs):
Latest version: 1.1.20

# AI SDK: Vue.js provider

[Vue.js](https://vuejs.org/) UI components for the [AI SDK](https://sdk.vercel.ai/docs):

- [`useChat`](https://sdk.vercel.ai/docs/reference/ai-sdk-ui/use-chat) composable
- [`useCompletion`](https://sdk.vercel.ai/docs/reference/ai-sdk-ui/use-completion) composable
- [`useAssistant`](https://sdk.vercel.ai/docs/reference/ai-sdk-ui/use-assistant) composable
npm package: @markeljan/ai-sdk-xai
Description: The **[xAI Grok provider](https://sdk.vercel.ai/providers/ai-sdk-providers/xai)** for the [AI SDK](https://sdk.vercel.ai/docs) contains language model support for the xAI chat and completion APIs.
Latest version: 1.1.13

# AI SDK - xAI Grok Provider

The **[xAI Grok provider](https://sdk.vercel.ai/providers/ai-sdk-providers/xai)** for the [AI SDK](https://sdk.vercel.ai/docs)
contains language model support for the xAI chat and completion APIs.

## Setup

The xAI Grok provider is available in the `@ai-sdk/xai` module. You can install it with

```bash
npm i @ai-sdk/xai
```

## Provider Instance

You can import the default provider instance `xai` from `@ai-sdk/xai`:

```ts
import { xai } from '@markeljan/ai-sdk-xai';
```

## Example

```ts
import { xai } from '@markeljan/ai-sdk-xai';
import { generateText } from '@markeljan/ai';

const { text } = await generateText({
  model: xai('grok-2-1212'),
  prompt: 'Write a vegetarian lasagna recipe for 4 people.',
});
```

## Documentation

Please check out the **[xAI Grok provider documentation](https://sdk.vercel.ai/providers/ai-sdk-providers/xai)** for more information.