This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/dws-viewer/pricing.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. Pricing

DWS Viewer API is a cloud-based service for rendering, authorizing, and tracking document viewing in web applications. It’s priced per viewer session in US dollars, at $0.0398 / session. Viewer sessions use your plan’s included monthly usage first. Once that runs out, they’re charged to your wallet. One plan and one balance cover all the DWS APIs. Plans also set your document uploads, storage, and document limits.

DWS Viewer API can open DWS-managed documents or app-provided documents. Both document sources count viewer sessions. Only DWS-managed documents count toward document upload, storage, and document-count limits.

What’s the difference between viewer sessions, document uploads, and document limits?

These are three separate metrics that control different aspects of your usage, outlined below.

Monthly viewer sessions

What it is — The number of times users open and view documents with DWS Viewer API. Each viewer session is charged at the per-session rate.

How it works

  • Each document load with a DWS Viewer API session token or publishable key counts as one viewer session
  • This applies to DWS-managed documents and app-provided documents
  • Scrolling, annotating, and filling forms in an open viewer don’t add sessions
  • A single user viewing the same document multiple times = multiple sessions
  • A single user viewing different documents = multiple sessions
  • Think of it as “document opens” per month

Example — If users open/view documents 250 times during the month, that’s 250 viewer sessions, regardless of how many unique documents you have stored or whether some documents are provided directly by your app.

Document limit

What it is — The maximum number of unique documents you can store in DWS at any given time (not monthly; this is a total storage limit).

How it works

  • This is your document storage capacity, similar to a file cabinet size
  • If your limit is 100 documents, you can have up to 100 unique PDFs/documents stored
  • App-provided documents don’t count toward this limit because they aren’t stored as DWS-managed documents
  • This limit persists across months; it’s not “100 new documents per month”
  • To add more documents after reaching the limit, you must delete existing ones or upgrade your plan

Example — With a 100-document limit, you could store 100 different PDFs. Users could view these 100 documents thousands of times (limited only by viewer sessions), but you can’t add a new, 101st document without deleting one of the existing 100 first.

Monthly document uploads

What it is — The number of times you can upload or add new documents to DWS per month.

How it works

  • Each API call to upload a document counts as one upload
  • App-provided documents don’t count as uploads because they’re passed directly to Nutrient Web SDK
  • This resets every month
  • Uploading the same document multiple times counts as multiple uploads
  • This is separate from how many documents you can store (document limit)

Example — With 100 monthly uploads, you could:

  • Upload 100 different documents (assuming you don’t exceed your 100-document limit)
  • Upload 50 documents, delete them all. Then upload 50 more = 100 uploads used
  • Replace/update documents frequently throughout the month

Viewing multiple documents in a single session

Users cannot view multiple documents in a single session. Each document load creates a new viewer session, even for the same user and the same session token. Read on for information on how this works.

Scenario 1: Same user, same document, multiple times

  • User opens Document A → 1 session
  • User closes and reopens Document A → 2 sessions
  • User reopens Document A again → 3 sessions
  • User reloads the page → 4 sessions
  • User opens Document A in a new tab → 5 sessions

Scenario 2: Same user, different documents

  • User opens Document A → 1 session
  • User opens Document B → 2 sessions
  • User opens Document C → 3 sessions

Key insight: Viewer sessions track usage/activity, while document limits track DWS-managed storage capacity. These are independent limits. Your document limit doesn’t restrict which stored documents can be viewed, and it doesn’t apply to app-provided documents. Document opens are charged as viewer sessions.

Understanding the pricing metrics with real-world examples

The following examples use the free plan: a 100 document limit, 100 monthly uploads, and $5 of usage every month, which covers about 125 viewer sessions. Each one shows how a pricing metric applies in practice.

Example 1: Document library application

You’re building a document library with 50 PDFs stored:

  • Document limit used — 50 out of 100 ✓
  • Monthly uploads used — 50 out of 100 (initial upload) ✓
  • Viewer sessions — Each time any user opens any of these 50 PDFs counts as one viewer session
  • Result — Five users could each view documents 25 times per month within the free plan’s monthly usage (5 × 25 = 125 sessions)

Example 2: High-traffic single document

You’re hosting a popular PDF that gets viewed frequently:

  • Document limit used — 1 out of 100 ✓
  • Monthly uploads used — 1 out of 100 ✓
  • Viewer sessions — 125 users could each view this document once (125 sessions)
  • Result — You use up your monthly usage even though you’re only storing one document! Sessions beyond it are paid from your wallet.

Example 3: Frequently updated documents

You have 25 documents that you update weekly:

  • Document limit used — 25 out of 100 ✓
  • Monthly uploads used — 25 documents × 4 updates = 100 out of 100 ✓
  • Viewer sessions — Independent of uploads; depends on how often users open documents

You hit your upload limit even though you’re only storing 25 documents (because each update = new upload)

Example 4: Document rotation system

You store invoices temporarily and delete old ones:

  • Week 1 — Upload 30 invoices → 30 document limit used, 30 uploads used
  • Week 2 — Delete 30 old invoices, upload 30 new ones → 30 document limit used, 60 uploads used
  • Week 3 — Delete 30, upload 30 new → 30 document limit, 90 uploads used
  • Week 4 — Only 10 uploads remaining for the month

You never exceeded your 100 document limit, but you’re close to your upload limit

What’s included in the free plan?

The free plan is perfect for development, testing, and small non-commercial projects. It includes:

  • $5 of usage every month (about 125 viewer sessions)
  • 100 document limit (total unique documents you can store at once)
  • 500 MiB storage (total file size of all documents)
  • 100 monthly document uploads (API calls to add documents)
  • Full access to viewing, editing, annotations, forms, and electronic signatures
  • HTTPS encryption and secure document storage

Important restriction — Commercial use in enterprises requires a paid subscription or a separate written agreement with Nutrient. An enterprise is an organization with more than 20 employees or more than $1 million USD in annual gross revenue.

What happens when I hit my monthly limits?

When you use up your monthly usage

Viewer sessions beyond your plan’s monthly usage are paid from your prepaid pay-as-you-go wallet, at the same rate. The wallet reloads automatically when it runs low, up to a monthly limit you set, so your application keeps working. The default monthly limit is $300.

If your monthly usage and wallet can’t cover a new session — for example, once your wallet reaches its monthly limit — new document load requests fail until your next billing cycle starts, you raise the limit, or you upgrade. Viewers that already have an app-provided document open keep working until they’re closed or reloaded.

When you hit document limit

  • Upload API calls will be rejected
  • You cannot add new documents until you delete existing ones or upgrade
  • Users can still view existing documents (each view is a viewer session)
  • This is a total capacity limit, not a monthly limit

Solution — Delete old documents or upgrade your plan

When you exceed monthly uploads

  • Upload API calls will fail for the rest of the billing cycle
  • Users can still view existing documents
  • Resets at the beginning of next billing cycle

Solution — Wait for monthly reset, delete and reupload less frequently, or upgrade

When you hit storage limit (MiB)

  • Cannot upload new documents until you free up space
  • Must delete documents or upgrade

Solution — Delete large files, compress PDFs, or upgrade your plan

Best practice — Monitor your usage in the DWS dashboard and set up alerts before hitting limits.

Do unused sessions/uploads roll over to the next month?

No. Your plan’s monthly usage and document uploads reset at the beginning of each billing cycle. Unused amounts don’t carry over. Funds in your pay-as-you-go wallet don’t expire.

However, your document limit and storage capacity are ongoing limits, not monthly allocations. If you’re storing 50 documents in January, those same 50 documents still count in February (you don’t get 100 new document slots each month).

Planning tip — If you have variable usage patterns, consider the custom plan, which offers higher limits, or contact Sales for flexible options.

How do I choose the right plan for my application?

Ask yourself the following questions.

1. How many unique documents will I store?

  • < 100 documents: Free plan may work
  • 100–5,000 documents: Consider Starter
  • 5,000–10,000 documents: Growth plan
  • Greater than 10,000 documents: Contact Sales for a custom plan

2. How often are documents viewed?

Each view is a viewer session, priced at $0.0398 / session. If you only use DWS Viewer API, the plan’s monthly usage covers about:

  • Free — About125 views/month
  • Starter — About2,250 views/month
  • Growth — About8,650 views/month

Views beyond that are paid from your wallet. For higher, predictable volume, contact Sales for a custom plan.

3. How frequently do you upload/update documents?

  • One-time or rare uploads: Lower tier acceptable
  • Weekly updates: Factor in upload limits
  • Daily uploads: May need higher tier or custom plan

4. What’s your total document storage size?

Calculate total MiB of all documents:

  • Free: 500 MiB (~50 typical PDFs at 10 MB each)
  • Starter: 1,024 MiB (~100 typical PDFs)
  • Growth: 5,120 MiB (~500 typical PDFs)

Pro tip — Start with Free for development, monitor actual usage for 1–2 months in production (with a paid plan), and then optimize your plan based on real data.

Is DWS Viewer API different from DWS Processor API?

Yes, these are separate services. They share one plan and one balance, but each is priced for what it does. Read on for an overview.

DWS Viewer API (covered in this FAQ)

  • Use case — Document viewing, rendering, and interactive editing in web applications
  • Pricing — Priced per viewer session ($0.0398 / session), with storage and document limits set by your plan
  • Integration — Works with Nutrient Web SDK
  • Storage — Documents are stored and persisted automatically

DWS Processor API

  • Use case — Backend document processing, conversion, generation (document-in, document-out)
  • Pricing — Priced per operation in US dollars (for example, $0.0375 / operation for PDF generation and $0.0015 / page for OCR)
  • Integration — HTTP API for server-side workflows
  • Storage — No document storage included
  • Learn more — DWS Processor API documentation

What counts as a viewer session technically?

DWS Viewer API counts one viewer session each time a user loads a document in the web viewer with a session token or publishable key. Creating a session token doesn’t count, but every load that uses the token does.

Implementation details

  • Session tokens are used to authenticate Web SDK clients when connecting to DWS Viewer API.
  • You can configure token settings like expiry date/time and editing permissions.
  • Each NutrientViewer.load() call with a session token or publishable key creates a new viewer session.
  • For DWS-managed documents, refreshing the token of an open viewer with setSession() also counts as a viewer session.
  • DWS doesn’t count loads it rejects — for example, a load with an expired session token.
  • Reopening the same document = new session.
  • Learn more — Generate a session token

Code example

// Each load() call = 1 viewer session.
NutrientViewer.load({
container: "#viewer-container",
session: "<session_token>", // From DWS API.
});

Does DWS Viewer API work offline?

Partly. Every viewer load, including a page reload, requires a connection because DWS Viewer API authorizes and counts each load. Once an app-provided document is open, viewing, annotating, and form filling keep working offline, even after the session token expires. DWS-managed documents require a connection the whole time. For details, including apps that start without a connection, see offline use and token lifetime.

Can I test the API without a credit card?

Yes! The free plan requires no payment information. Simply sign up and start building immediately with:

  • $5 of usage every month (about 125 viewer sessions)
  • 100 documents
  • Full feature access

You can also test capabilities in the API explorer without writing code.

What are my document source options?

You have two ways to provide documents to DWS Viewer API.

1. DWS-managed documents

  • Upload from the DWS dashboard or via API
  • Get a document ID and create document-bound session tokens
  • Good when DWS should store, stream, and manage the document
  • Counts toward your monthly upload, storage, and document-count limits

2. App-provided documents

  • Use a publishable key, or create a session token on your backend without allowed_documents
  • Pass the key or token and the document directly to Nutrient Web SDK
  • Good when your app already controls the file or URL
  • Counts as viewer sessions, but not toward upload, storage, or document-count limits
  • Documentation: Open app-provided documents

How do I optimize costs when using DWS Viewer API?

Manage document lifecycle efficiently

  • Delete documents that are no longer needed to free up document limit
  • Archive old documents to external storage if not frequently accessed
  • Monitor your document count regularly in the dashboard

Optimize upload patterns

  • Batch document updates rather than uploading frequently
  • Only reupload documents when content actually changes
  • Consider versioning strategy to minimize redundant uploads

Choose the right plan from the start

  • Start with Free for development and early testing
  • Analyze actual usage patterns for 1–2 billing cycles
  • Upgrade to Starter only when ready for commercial use
  • Contact Sales for a custom plan if you have predictable high volume (often better per-unit pricing)

Monitor usage proactively

  • Check DWS Viewer API dashboard regularly
  • Track which documents consume the most viewer sessions
  • Set up alerts before hitting limits
  • Identify usage patterns and optimize accordingly

Consider yearly billing

  • Save about 10 percent with annual subscriptions vs. monthly
  • Better for predictable, stable workloads

Can I use DWS Viewer API for a commercial SaaS product?

Yes, but you’ll need a paid subscription if:

  • Your company has more than 20 employees, OR
  • Your company has more than $1 million USD in annual revenue

The free plan is limited to:

  • Personal projects
  • Open source projects
  • Small businesses under the thresholds above
  • Development and testing environments

Enterprise needs? Contact Sales for custom plans with volume discounts and dedicated support.

Can an enterprise evaluate on the free tier?

Enterprises can use the free tier for evaluation within its quotas and restrictions. Evaluation excludes production use, live business processes, and services for third parties. Don’t use multiple accounts or other means to exceed free-tier quotas.

The Cloud Terms (the Nutrient DWS API End User License Agreement) define an Enterprise as an organization with more than 20 employees or more than $1 million USD in annual gross revenue.

Nutrient may offer Enterprises an evaluation subscription with different quotas or with data retention disabled. Contact Nutrient before uploading documents if you need different settings.

Review Viewer privacy for Viewer document storage. Data Extraction run-history and AI inference rules are separate.

What authentication options are available?

DWS Viewer API uses token-based authentication.

Session tokens

  • Used by Web SDK clients to access documents
  • Can be generated via dashboard (for testing) or API (for production)
  • Configurable expiry, permissions, and access controls
  • Tokens created with the API expire after 1 hour by default; set exp for up to 24 hours
  • Creating a session token doesn’t count as a viewer session; each viewer load that uses it does
  • Guide: Generate a session token

Publishable keys

  • Used by Web SDK in the browser to open app-provided documents
  • Safe to include in client-side code, so no backend is needed
  • Don’t expire; deleting a key in the DWS dashboard stops new loads immediately
  • Recommended: Set Allowed origins; without allowed origins, the key works on any website
  • Not accepted for DWS-managed documents; use session tokens for those
  • Guide: Open app-provided documents

Secret API keys

  • Used for backend API operations (uploading, deleting, managing documents)
  • Obtain from dashboard under API Keys
  • Keep secure; never expose in client-side code
  • Guide: DWS API authentication

What file size and complexity limits apply?

Limits on file sizes and operation complexity depend on your subscription plan. Specific limits vary by plan tier:

  • Free and Starter plans have standard limits
  • Growth and Custom plans offer higher limits
  • Custom plans can be tailored to your needs
  • Storage limits (MiB) are clearly stated for each plan

For specific technical limits (max file size per document, processing time limits, etc.), check your plan details in the dashboard or contact Sales for custom requirements.

What support options are available?

Community support (all plans)

  • Documentation and guides
  • API explorer for testing
  • Code examples
  • Email support
  • Priority response times
  • Technical assistance

Custom plans

  • Dedicated support
  • Custom SLAs
  • Enterprise features
  • Direct access to engineering team

Get help: Contact Support(opens in a new tab)