> ## 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.

# NLP Cloud

> Get $15 in free credits to access various open-source models (phone verification required)

## Overview

NLP Cloud provides \$15 in trial credits to new users, offering access to various open-source language models. Phone number verification is required to activate your account.

<CardGroup cols={2}>
  <Card title="Trial Credits" icon="dollar-sign">
    \$15 in free credits
  </Card>

  <Card title="Requirements" icon="phone">
    Phone number verification
  </Card>
</CardGroup>

## Requirements

<Warning>
  **Phone number verification** is required to create an account and receive your trial credits.
</Warning>

## Available Models

NLP Cloud offers access to various open-source models for different NLP tasks including:

* **Text Generation**: Large language models for creative and analytical tasks
* **Classification**: Sentiment analysis and text categorization
* **Named Entity Recognition**: Extract entities from text
* **Summarization**: Generate concise summaries
* **Translation**: Multilingual translation capabilities

<Info>
  NLP Cloud provides pre-configured models optimized for production use with automatic scaling.
</Info>

## Getting Started

### 1. Sign Up

Visit [nlpcloud.com/home](https://nlpcloud.com/home) and create an account.

### 2. Verify Phone Number

Complete the phone number verification process to activate your \$15 in credits.

### 3. Get Your API Key

Navigate to your dashboard to generate an API key.

### 4. Make API Calls

```python theme={null}
import requests

url = "https://api.nlpcloud.io/v1/gpu/llama-3-1-70b-instruct/generation"
headers = {
    "Authorization": f"Token {YOUR_NLP_CLOUD_API_KEY}",
    "Content-Type": "application/json"
}

data = {
    "text": "What is the capital of France?",
    "max_length": 100
}

response = requests.post(url, headers=headers, json=data)
print(response.json())
```

```javascript theme={null}
const response = await fetch(
  'https://api.nlpcloud.io/v1/gpu/llama-3-1-70b-instruct/generation',
  {
    method: 'POST',
    headers: {
      'Authorization': `Token ${process.env.NLP_CLOUD_API_KEY}`,
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      text: 'What is the capital of France?',
      max_length: 100
    })
  }
);

const result = await response.json();
console.log(result);
```

```bash theme={null}
curl https://api.nlpcloud.io/v1/gpu/llama-3-1-70b-instruct/generation \
  -H "Authorization: Token YOUR_NLP_CLOUD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "What is the capital of France?",
    "max_length": 100
  }'
```

## Key Features

### Production-Ready Infrastructure

* **Auto-scaling**: Automatically scales based on demand
* **High availability**: Redundant infrastructure for reliability
* **GPU acceleration**: Fast inference with GPU support

### Multiple NLP Tasks

<CardGroup cols={2}>
  <Card title="Generation" icon="wand-magic-sparkles">
    Text generation and completion
  </Card>

  <Card title="Classification" icon="list-check">
    Sentiment and topic classification
  </Card>

  <Card title="Extraction" icon="magnifying-glass">
    Named entity recognition
  </Card>

  <Card title="Summarization" icon="compress">
    Automatic text summarization
  </Card>
</CardGroup>

## Use Cases

* **Content Generation**: Create articles, summaries, and responses
* **Sentiment Analysis**: Analyze customer feedback and reviews
* **Entity Extraction**: Extract people, places, and organizations
* **Chatbots**: Build conversational AI applications
* **Translation**: Translate between multiple languages

## Resources

<CardGroup cols={2}>
  <Card title="NLP Cloud Platform" icon="link" href="https://nlpcloud.com/home">
    Access the platform
  </Card>

  <Card title="Documentation" icon="book" href="https://docs.nlpcloud.com/">
    View API documentation
  </Card>
</CardGroup>

<Note>
  With \$15 in credits, you have substantial capacity to test and evaluate NLP Cloud for your production needs.
</Note>
