STORE
KV Store
Keep your application's state accessible anywhere in the world with millisecond latency. Deliver fast, consistent experiences without managing infrastructure, without complexity, and ready to scale.

read latency from global replicas
locations with replicated data
servers to manage—fully serverless
Global accessibility with low latency
Reads close to users on a distributed architecture. A low-latency KV Store for flags, sessions, and counters.
Serverless architecture
No servers to manage. Automatic scaling, simple APIs and direct integration with Functions and applications.
Eventual consistency with distributed replication
Primary instance for writes and global read replicas; synchronization with eventual consistency and high availability.
Native JavaScript API for Functions
Access KV Store directly from Functions using a native JavaScript API in the runtime.
Store and retrieve session data, feature flags, and counters with no extra network hops.
Native JS APIFunctions integrationTTL supportZero network hops
Store any data type, no schema required
Store strings, JSON objects, binary buffers, and streams without defining rigid schemas.
Attach metadata to any key-value pair for additional context. Values up to 25 MB, keys up to 512 bytes.
JSON objectsBinary buffersStreamsMetadata

See how to use
Frequently Asked Questions
What is KV Store?
Azion KV Store is a serverless key-value storage with global read replicas. Key features include: sub-10ms read latency, automatic replication to 100+ locations, native Functions integration, TTL support, and flexible data types (String, JSON, Buffer, Stream). Ideal for sessions, feature flags, and rate limiting.
What data types does KV Store support?
KV Store supports 4 data types: String, JSON, buffers, and streams. The schemaless design allows flexible data modeling without rigid schemas.
How does replication work?
KV Store uses a primary instance for writes and global read replicas. Data synchronizes with eventual consistency, providing high availability and low-latency reads close to users.
Can I set expiration on keys?
Yes. KV Store supports native TTL (time-to-live) to automatically expire ephemeral keys and short-term configurations.
How do I access KV Store from Functions?
Functions can access KV Store through a native JavaScript API in the runtime. This enables direct integration without extra network hops.
What are common use cases for KV Store?
Common use cases include user sessions and authentication tokens, feature flags and configuration management, API rate limiting and quotas, and global counters for analytics.
What are the storage limits?
KV Store supports keys up to 512 bytes and values up to 25 MB. You can also attach metadata to each key-value pair for additional context.
Is KV Store compatible with Cloudflare Workers KV?
Yes. KV Store provides a compatible API with Cloudflare Workers KV, making it easier to migrate existing applications or use familiar patterns.
Is there a free tier to test KV Store?
Yes. You get $300 in credits valid for 365 days to start testing KV Store and other Azion products.