select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Extensions / AI and vectors

pgtoken

PostgreSQL extension for compact, codebook-compressed LLM token ID storage. Encode once, retrieve forever. O(1) token count without decoding.

pgext.cloud · Source code · Documentation · Control file

Overview

Packagepgtoken
Version1.0
RepositoryUnspecified
Extension typeStandard
Project statusActive
Requires CREATE EXTENSIONYes
Requires preloadNo
TrustedNo
RelocatableYes
Stars2
Latest commit2026-06-08
Catalogue updated2026-08-30

Related extensions

See also

pg_deeplakeDeeplake is AI Data Runtime for Agents. It provides serverless postgres with a multimodal datalake, enabling scalable retrieval and training.
ollamaOllama client for PostgreSQL
tencentdb_aiTencentDB extension for calling large-model APIs and building in-database RAG workflows.
aiHelper functions for AI workflows in PostgreSQL
pgclawStore LLM or OpenClaw agents as PostgreSQL values and process watched rows with a background worker
lantern_extrasConvenience functions for working with vector embeddings
avocadoAvocadoDB PostgreSQL extension for deterministic context compilation for AI agents.
ai_toolkitAI-powered query generation and explanation tools for PostgreSQL.
google_ml_integrationGoogle Cloud machine learning integration extension for registering model endpoints, generating embeddings, and invoking predictions from SQL.
pg_llmIntegrates local and remote large-language models with chat, sessions, text-to-SQL, audit and vector-backed knowledge features.
rds_aiAlibaba Cloud RDS extension for calling LLMs, generating embeddings, semantic retrieval, and end-to-end RAG from SQL
pgmnemoSingle-plan multimodal agent memory for PostgreSQL