---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

[Models](/models)/laion/CLAP2-L

Apache 2.0

# CLAP2-L

by laion

LAION's open audio-text embedding model: 340M parameters, one 960-dimension vector per clip, trained from scratch on 366M audio-text pairs

4likes

340Mparams

[HuggingFace](https://huggingface.co/laion/clap2-large-audioxl-s1B)[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)

Identifiers

Model ID

`laion/CLAP2-L`

## Deploy CLAP2-L

Single-tenant

Mixpeek has no managed extractor for this model. On a single-tenant deployment you upload the weights and a custom plugin serves them next to the rest of your pipeline.

[Read the customer-hosted guide](https://mixpeek.com/docs/customer-hosted/overview) [Talk to us about single-tenant](/demo)

## Overview

CLAP2-L is the largest of LAION's five CLAP2 contrastive language-audio models, published on Hugging Face on 26 October 2026 under the Apache 2.0 license. An audio tower and an English text tower map sound clips and written descriptions into one 960-dimension space, so you can search an audio library by describing what you want to hear, classify sounds with no training labels, or use the audio vectors as general features. All five sizes, from 27M to 340M parameters, were trained from scratch on LAION-Audio-XL, 366 million audio-text pairs of at most 30 seconds.

## Architecture

A two-tower contrastive model in OpenCLIP and Transformers format, 340.1M parameters across both towers. The audio tower is a NaFlex vision transformer over 128-bin log-mel patches (16x16, 50 tokens per second at 32 kHz), so it takes clips of any length with no fixed crop. The text tower reads English through a case-sensitive GPT-2 style tokenizer with a 256-token context. Training saw 1,024M samples with a warmup-stable-decay schedule; the release is the last checkpoint.

## Mixpeek SDK Integration

IngestRetrieve

\# Embed audio clips (usage from the model card).
# pip install "open\_clip\_torch>=4.2.1" soundfile
import torch, open\_clip
from open\_clip.audio.io import load\_audio

hub = "hf-hub:laion/clap2-large-audioxl-s1B"
model, preprocess = open\_clip.create\_model\_from\_pretrained(hub)
tokenizer = open\_clip.get\_tokenizer(hub)

audio = preprocess()(load\_audio("scene\_0042.wav"))  # any sample rate, any channels
with torch.no\_grad():
    clip\_vector = model.encode\_audio({k: v\[None\] for k, v in audio.items()}, normalize=True)
# Store the 960-d vector with the file and timestamp it came from.
# Split recordings longer than 30 s into segments first.

## Capabilities

*   Text-to-audio search: describe a sound and find matching clips
*   Zero-shot audio classification with written class descriptions
*   Audio embeddings for clustering, deduplication and downstream classifiers
*   Clips of any sample rate, channel count and length, embedded without padding
*   Five sizes, from 27.3M to 340.1M parameters, with the same interface

## Use Cases on Mixpeek

Finding sound events in video and podcast archives (applause, sirens, glass breaking) that transcripts never contain

Tagging a music or sound-effects library with no labelled training set

Filtering and ranking audio training data by a text query

Pairing with speech-to-text so a search covers both what was said and what was heard

## Benchmarks

Dataset

Metric

Score

Source

MAEB-30

Mean over 30 tasks

53.6

LAION model card; CLAP2-M 52.3 and CLAP2-XXS 46.2 on the same table

HEAR-17

Mean over 17 tasks

81.9

LAION model card

MSEB

Mean over 62 English scores

30.3

LAION model card

## Performance

Input SizeAudio of any length (evaluated up to 30 s); English text up to 256 tokens

Embedding Dim960

GPU LatencyInput dependent

GPU ThroughputBatch dependent

GPU MemoryModel dependent

We have not measured it. The scores are LAION's own, from the model card and the paper (arXiv:2611.11592). Cost grows with the square of clip length, so split long recordings into segments of up to 30 seconds, as the card recommends.

## Common Pipeline Companions

[

laion/clap-htsat-unfused

The earlier LAION CLAP model, for a direct comparison on your own audio

](/model/laion/clap-htsat-unfused)

## Frequently Asked Questions

### What is CLAP2-L?

An open contrastive language-audio model from LAION, published on 26 October 2026 under Apache 2.0. It has 340M parameters and embeds audio clips and English text into one 960-dimension space for text-to-audio search, zero-shot audio classification and general audio embeddings. The card reports 53.6 on MAEB-30 and 81.9 on HEAR-17.

### How do I search audio by describing a sound?

Embed every clip with the audio tower, embed your description with the text tower, and rank clips by cosine similarity. Write the description as a full sentence in normal case, such as "A dog barks.", which matches the style of the training captions better than a bare label.

### Can CLAP2 handle long recordings?

It accepts any length, but it was trained and evaluated on clips of at most 30 seconds and its cost grows with the square of the length. The card recommends splitting long recordings into segments of up to 30 seconds and averaging or comparing the segment embeddings.

### Which CLAP2 size should I use?

Start with the smallest that meets your accuracy bar. The five sizes run from 27.3M to 340.1M parameters, and the card's MAEB-30 means range from 46.2 to 53.6, with the 103.9M small model at 51.8, close to the large one at a third of the size.

### Does CLAP2 understand speech?

It embeds how a clip sounds and does not transcribe it. About 45% of its training audio is speech, and the card's own example captions include "A man gives a lecture.", so a description of the speaker and setting can match. Use speech-to-text for what was said and CLAP2 for what was heard, and search both.

## Explore on Mixpeek

[

Browse all models

Search the full model catalog

](/models)[

Feature Extractors

See how Mixpeek runs models as extractors

](/extractors)[

Mixpeek Vector Store

Store & search embeddings at scale

](/mvs)[

Pricing

Usage-based pricing for pipelines

](/pricing)[

All Curated Lists

Compare models, APIs & infrastructure

](/curated-lists)

### Specification

Organizationlaion

Retriever\-

Parameters340M

LicenseApache 2.0

Downloads/moN/A

Likes4

### Build a pipeline with CLAP2-L

Add this model to a processing pipeline alongside other extractors. Combine with retrieval stages for end-to-end search.

[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)