---
source_url: "https://docs.llmlayer.ai/?utm_source=openai"
title: Introduction - LLMLAYER API Documentation
mirrored_at: 2026-08-20T03:01:43.027Z
host: docs.llmlayer.ai
cited_in_42a: true
mirror_canonical: "https://index.42a.ai/docs.llmlayer.ai/index__q__utm_source_openai"
---

> **Original source:** https://docs.llmlayer.ai/?utm_source=openai

LLMLayer is a web API for AI applications. Use one account and one API key to search the web, scrape pages, crawl websites, map URLs, extract structured data, process PDFs and YouTube transcripts, and generate web-grounded answers.

## Choose the Right API

Job

API

Use it when

Answer a question with current web context

[Answer](https://docs.llmlayer.ai/answer)

You want an LLM response with optional sources/images

Get raw search results

[Web Search](https://docs.llmlayer.ai/web-search)

You want to rank, filter, or scrape results yourself

Scrape one page

[Scraper](https://docs.llmlayer.ai/scrape)

You need markdown, HTML, or a screenshot from a URL

Extract data from one page

[Extract](https://docs.llmlayer.ai/extract)

You need schema-shaped data, a summary, Q&A, links, or brand data

Crawl multiple pages

[Crawl](https://docs.llmlayer.ai/crawl)

You need streamed markdown from a site

Discover URLs

[Map](https://docs.llmlayer.ai/map)

You need a URL inventory before scraping or crawling

Read a PDF

[PDF Content](https://docs.llmlayer.ai/scrape-pdf)

You need text from a public PDF URL

Read a YouTube video

[YouTube Transcript](https://docs.llmlayer.ai/youtube-transcript)

You need transcript text and video metadata

## Install an SDK

## First Request

## Core Patterns

### Search then scrape

### Stream a crawl

## Models

The currently documented model IDs are:

Model

Pricing style

Best for

`llmlayer-web`

Flat per query

Default web-grounded answers

`llmlayer-fast`

Flat per query

Lower latency answers

`openai/gpt-4o-mini`

Token priced + LLMLayer fee

Budget token-priced answers

`openai/gpt-5.1`

Token priced + LLMLayer fee

Premium reasoning

## Pricing Snapshot

API

Cost

Answer

`$0.004 × max_queries` + model tokens, or flat LLMLayer model pricing

Web Search

`$0.002` per request

Scraper

`$0.001` per supported format

Extract

`$0.005` per AI mode, `$0.001` links, `$0.002` brand

Crawl

`$0.001` per successful page, reported in the usage event

Map

`$0.002` per request

YouTube Transcript

`$0.003` per request

PDF Content

`$0.002` per request

Use response cost fields and the dashboard ledger as billing source of truth.

## Next Steps