Compare Shared and Dedicated Solana RPC Costs

Estimate your Solana RPC needs from measured request volume, then compare shared and dedicated plan terms without confusing RPC access with indexed data queries.

To compare shared and dedicated Solana RPC costs, measure your application's request volume and compare it with each plan's published limits and price. A shared plan may be enough for a development workload; a dedicated plan may be worth evaluating when its documented limits or terms better fit your workload. The names alone do not establish capacity, performance, or price. This guide shows how to collect a basic request count and what to check before choosing.

Identify which Solana workload uses RPC

Start with the operation your application performs. RPC calls such as reading the current slot, fetching account data, or sending a transaction go to an RPC endpoint. A SubQuery indexer consumes chain data to build an application-specific dataset, which you then access through its query API. RPC access and indexing are separate workloads; estimate and compare their costs separately.

For Solana network details and available network resources, see the Solana network page.

  • List the RPC methods your application calls and the approximate calls per user action.
  • Record peak concurrent users or jobs, plus any scheduled tasks that create bursts.
  • Track indexer ingestion and query needs separately from direct RPC requests.
JavaScript · Node.js
const callsPerAction = Number(process.env.CALLS_PER_ACTION);
const actionsPerDay = Number(process.env.ACTIONS_PER_DAY);

if (!Number.isFinite(callsPerAction) || callsPerAction < 0 ||
    !Number.isFinite(actionsPerDay) || actionsPerDay < 0) {
  throw new Error('Set CALLS_PER_ACTION and ACTIONS_PER_DAY to non-negative numbers.');
}

console.log({ estimatedRpcCallsPerDay: callsPerAction * actionsPerDay });

Run with values from your own application, for example: CALLS_PER_ACTION=4 ACTIONS_PER_DAY=250 node workload.js. The printed value is a planning estimate, not a provider bill; it excludes retries, background jobs, and other callers unless you include them.

Check that your endpoint serves the method you need

Use an endpoint issued for your account and a lightweight JSON-RPC method to verify basic access. This request confirms that the endpoint returned a valid response for getSlot; it does not measure sustained throughput, latency under load, or the cost of other methods.

JavaScript · Node.js
const endpoint = process.env.SOLANA_RPC_URL;
if (!endpoint) throw new Error('Set SOLANA_RPC_URL to your issued Solana RPC endpoint.');

const controller = new AbortController();
const timer = setTimeout(() => controller.abort(), 10_000);

try {
  const response = await fetch(endpoint, {
    method: 'POST',
    headers: { 'content-type': 'application/json' },
    body: JSON.stringify({ jsonrpc: '2.0', id: 1, method: 'getSlot' }),
    signal: controller.signal
  });

  const body = await response.json().catch(() => null);
  if (!response.ok) throw new Error(`HTTP ${response.status}: ${JSON.stringify(body)}`);
  if (!body || body.error) throw new Error(`RPC error: ${JSON.stringify(body?.error ?? body)}`);
  if (!Number.isSafeInteger(body.result)) throw new Error(`Unexpected getSlot result: ${JSON.stringify(body)}`);

  console.log({ slot: body.result });
} catch (error) {
  if (error.name === 'AbortError') {
    console.error('Request timed out. Check endpoint availability and try again.');
  } else {
    console.error(error.message);
  }
  process.exitCode = 1;
} finally {
  clearTimeout(timer);
}

Save as check-slot.mjs and run SOLANA_RPC_URL='your-issued-endpoint' node check-slot.mjs with Node.js 18 or later. Expected result: a JSON object containing a numeric slot field. The example reports missing configuration, HTTP failures, RPC errors, unexpected responses, and timeouts.

Compare the terms that determine your cost

For each shared and dedicated option you are considering, use the provider's current plan details to compare price, included request units or quotas, rate limits, overage rules, and any commitment period. Plan names are not standardized, so check what each provider means by shared or dedicated and which limits apply to your required methods. Do not infer a price or capacity from the label.

Estimate your monthly usage from measured traffic, including retries and scheduled work. Compare that estimate with the documented billing unit and limits. If your workload has bursts, measure those bursts too; a daily average alone can hide short periods that reach a rate limit.

  • Use the same workload assumptions and billing period for both options.
  • Record the date and source of each price and limit, since plan terms can change.
  • If a plan's limits or overage treatment are unclear, get the terms from its current documentation before estimating cost.

Choose from observed usage

Log request counts, method names, response status, and timestamps in your application over a representative period. Keep credentials out of logs. Use those observations to compare your actual usage with each plan's published limits, then repeat the estimate as traffic changes.

If your task is to turn chain data into a queryable dataset, review SubQuery Learn for indexing guidance. For provider-specific RPC options, continue with the RPC Assistant.

  • Recalculate after adding a feature, changing polling intervals, or increasing the number of users.
  • Treat a one-request check as connectivity validation, not as a benchmark or cost forecast.