SPECTER (Scientific Paper Embeddings)

Popular
huggingface
Embeddings

AllenAI document-level embedding model for scientific papers. Built on SciBERT and trained on the citation graph so that papers citing each other land close together. Feed it a title plus abstract and it returns one 768-dim vector per paper, useful for recommendation, clustering and citation-based retrieval.

Embed with SPECTER (Scientific Paper Embeddings)
Vectorize text and preview the first 8 dimensions as a bar chart.
Sign in to try this model with €5 free credits.
Sign in
Outputs a high-dimensional vector you can plug into RAG or search.
Vector preview appears here.
TL;DR·Last updated June 24, 2026

SPECTER (Scientific Paper Embeddings) is embeddings AI model from huggingface, priced at €0.000 per 1M input tokens with a 512 tokens context window.

About this model

SPECTER from the Allen Institute for AI produces a single embedding per scientific document instead of per-token vectors. It was pretrained on a triplet objective over the Semantic Scholar citation graph, so the distance between two paper embeddings reflects topical and citation relatedness rather than just lexical overlap. The standard input is the paper title and abstract joined together. Served through Hugging Face with the feature-extraction pipeline; take the [CLS] token vector (768 dims) as the document embedding.
Try SPECTER (Scientific Paper Embeddings)
Sign in to generate — 50 free credits on sign-up

Pricing

Price per Generation
Per generation€1.00

API Integration

Use our OpenAI-compatible API to integrate SPECTER (Scientific Paper Embeddings) into your application.

Install
npm install railwail
JavaScript / TypeScript
import railwail from "railwail";

const rw = railwail("YOUR_API_KEY");

const vectors = await rw.run("specter-scientific-paper-embeddings", "Hello world", { type: "embed" });
console.log(vectors[0].length); // embedding dimensions

// Or use the embed() method for full control
const res = await rw.embed("specter-scientific-paper-embeddings", ["Hello", "World"]);
for (const item of res.data) {
  console.log(item.embedding.length);
}
Specifications
Price
€1.00
Context window
512 tokens
Developer
huggingface
Category
Embeddings
Supported Formats
text
Tags
science
embedding
research
huggingface
specter
allenai
scientific-papers
citation

Frequently asked questions

Related Models

View all Embeddings

BGE Large EN v1.5

huggingface

BAAI (Beijing Academy of AI) open-weight English embedding model with 335M parameters. Returns 1024-dim vectors and was a top MTEB English retrieval model on release. The v1.5 update improved similarity distribution so it works well without a query instruction prefix for symmetric tasks. A widely used open alternative to hosted embeddings.

€1.00

BGE-M3 (Multilingual)

huggingface

BAAI multilingual embedding model covering 100+ languages with an 8192-token context. M3 stands for its multi-functionality (dense, sparse and ColBERT-style multi-vector retrieval), multilinguality and multi-granularity over long documents. Returns 1024-dim dense vectors and is a strong open choice for cross-lingual and long-text retrieval.

€1.00

ESM-2 650M (Protein Embeddings)

huggingface

Meta AI 650M-parameter protein language model trained on UniRef50 sequences. Feed it an amino-acid sequence and the per-residue hidden states act as learned protein embeddings, used for structure prediction, variant-effect and function tasks. This 33-layer checkpoint is the common balance of quality and cost in the ESM-2 family.

€2.00

Nomic Embed Text v1.5

huggingface

Nomic AI open embedding model with a fully reproducible training pipeline (open weights, data and code). Supports an 8192-token context and Matryoshka representation learning, so you can truncate the 768-dim output down to 64 dims with graceful quality loss. Uses task prefixes like search_query and search_document.

€1.00

Start using SPECTER (Scientific Paper Embeddings) today

Get started with free credits. No credit card required. Access SPECTER (Scientific Paper Embeddings) and 100+ other models through a single API.