> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/cheahjs/free-llm-api-resources/llms.txt
> Use this file to discover all available pages before exploring further.

# Scaleway Generative APIs

> Get 1 million free tokens to access DeepSeek, Llama, Gemma, Qwen, and more

## Overview

Scaleway Generative APIs provides 1 million free tokens to new users, giving you access to a diverse selection of open-source language models, embedding models, and audio models.

<CardGroup cols={2}>
  <Card title="Trial Tokens" icon="coins">
    1,000,000 free tokens
  </Card>

  <Card title="Model Variety" icon="layer-group">
    20+ models available
  </Card>
</CardGroup>

## Available Models

Scaleway offers a comprehensive selection of models across different categories:

### Language Models

<table>
  <thead>
    <tr>
      <th>Model</th>
      <th>Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>DeepSeek R1 Distill Llama 70B</td>
      <td>Distilled reasoning model</td>
    </tr>

    <tr>
      <td>Gemma 3 27B Instruct</td>
      <td>Google's efficient model</td>
    </tr>

    <tr>
      <td>Llama 3.1 8B Instruct</td>
      <td>Fast Llama model</td>
    </tr>

    <tr>
      <td>Llama 3.3 70B Instruct</td>
      <td>Large Llama model</td>
    </tr>

    <tr>
      <td>Mistral Nemo 2407</td>
      <td>Mistral's efficient model</td>
    </tr>

    <tr>
      <td>mistral-small-3.2-24b-instruct-2506</td>
      <td>Latest Mistral Small</td>
    </tr>

    <tr>
      <td>devstral-2-123b-instruct-2512</td>
      <td>Large development model</td>
    </tr>

    <tr>
      <td>gpt-oss-120b</td>
      <td>Open-source GPT model</td>
    </tr>

    <tr>
      <td>holo2-30b-a3b</td>
      <td>Specialized model</td>
    </tr>

    <tr>
      <td>qwen3-235b-a22b-instruct-2507</td>
      <td>Large Qwen model</td>
    </tr>

    <tr>
      <td>qwen3-coder-30b-a3b-instruct</td>
      <td>Coding-focused Qwen</td>
    </tr>
  </tbody>
</table>

### Vision Models

* **Pixtral 12B (2409)**: Multimodal vision-language model

### Audio Models

* **Whisper Large v3**: State-of-the-art speech recognition
* **voxtral-small-24b-2507**: Voice processing model

### Embedding Models

* **BGE-Multilingual-Gemma2**: Multilingual embeddings
* **qwen3-embedding-8b**: Qwen embeddings

## Getting Started

### 1. Sign Up

Visit [console.scaleway.com/generative-api/models](https://console.scaleway.com/generative-api/models) and create a Scaleway account.

### 2. Get Your API Key

Navigate to the Generative API section in the console to generate an API key.

### 3. Make API Calls

```python theme={null}
import openai

client = openai.OpenAI(
    api_key="YOUR_SCALEWAY_API_KEY",
    base_url="https://api.scaleway.ai/v1"
)

response = client.chat.completions.create(
    model="llama-3.3-70b-instruct",
    messages=[{
        "role": "user",
        "content": "What is the capital of France?"
    }]
)

print(response.choices[0].message.content)
```

```javascript theme={null}
import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: process.env.SCALEWAY_API_KEY,
  baseURL: 'https://api.scaleway.ai/v1'
});

const response = await client.chat.completions.create({
  model: 'llama-3.3-70b-instruct',
  messages: [{
    role: 'user',
    content: 'What is the capital of France?'
  }]
});

console.log(response.choices[0].message.content);
```

```bash theme={null}
curl https://api.scaleway.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_SCALEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "llama-3.3-70b-instruct",
    "messages": [{
      "role": "user",
      "content": "What is the capital of France?"
    }]
  }'
```

## Model Categories

<CardGroup cols={2}>
  <Card title="Text Generation" icon="pencil">
    DeepSeek, Llama, Gemma, Qwen, Mistral models
  </Card>

  <Card title="Code Generation" icon="code">
    Qwen Coder, Devstral for development
  </Card>

  <Card title="Embeddings" icon="vector-square">
    BGE and Qwen embeddings for RAG
  </Card>

  <Card title="Multimodal" icon="image">
    Pixtral for vision-language tasks
  </Card>
</CardGroup>

## Use Cases

### Text & Code Generation

* **Chatbots**: Build conversational AI with Llama or Qwen
* **Code Assistance**: Use Qwen Coder or Devstral for coding
* **Content Creation**: Generate text with various models

### Embeddings & RAG

* **Semantic Search**: Use embedding models for similarity
* **RAG Systems**: Build retrieval-augmented generation apps
* **Document Analysis**: Process and understand documents

### Audio & Vision

* **Transcription**: Convert speech to text with Whisper
* **Image Understanding**: Analyze images with Pixtral

## European Infrastructure

<Info>
  Scaleway is a **European cloud provider** with data centers in Europe, offering GDPR-compliant infrastructure for AI workloads.
</Info>

### Benefits

* **GDPR Compliance**: European data residency
* **Low Latency**: Fast access from Europe
* **Reliable Infrastructure**: Enterprise-grade cloud platform

## API Compatibility

<Note>
  Scaleway uses an **OpenAI-compatible API**, making it easy to integrate with existing applications and tools.
</Note>

## Resources

<CardGroup cols={2}>
  <Card title="Scaleway Console" icon="link" href="https://console.scaleway.com/generative-api/models">
    Access the platform
  </Card>

  <Card title="Documentation" icon="book" href="https://www.scaleway.com/en/docs/ai/generative-apis/">
    View API documentation
  </Card>
</CardGroup>

<Info>
  With 1 million free tokens, you have substantial capacity to test and evaluate multiple models for your use case.
</Info>
