Skip to content

GPT-5.6 API Pricing for Long Context

GPT-5.6 API pricing for long-context work depends on both the model and the named route. In the live public catalog for this run, gpt-5.6-terra calculates to $3.375 input / $20.25 output per 1M tokens on the Plus Account Route, while gpt-5.6-sol calculates to $3.375 / $16.875 on that route. The Pro Account Route calculates to $6.75 / $40.50 for Terra and $6.75 / $33.75 for Sol. Those are route-specific token-price calculations from the current catalog inputs, not one price for every account. For a production estimate, record the model, route, token counts, and the live billing metadata together.

Long-context pricing is easy to underestimate because the same request can contain a large document, tool output, conversation history, and a generated answer. A useful estimate starts with measured input and output tokens, then checks whether the model has tiered billing metadata before someone turns the estimate into a launch budget. This article separates the measured catalog facts from recommendations you should validate against your own traffic.

The public response lists both GPT-5.6 models as token-priced entries (quota_type: 0) and makes them eligible for the plus_account and pro_account groups, among others. The human-readable names for those public groups are Plus Account Route and Pro Account Route. Applying the documented token formula, model_ratio × 2 × group_ratio, gives input dollars per 1M tokens; multiplying by completion_ratio gives output dollars per 1M tokens.

ModelRouteCatalog inputsCalculated input / output per 1M tokens
gpt-5.6-terraPlus Account Routemodel_ratio=37.5, group_ratio=0.045, completion_ratio=6$3.375 / $20.25
gpt-5.6-terraPro Account Routemodel_ratio=37.5, group_ratio=0.09, completion_ratio=6$6.75 / $40.50
gpt-5.6-solPlus Account Routemodel_ratio=37.5, group_ratio=0.045, completion_ratio=5$3.375 / $16.875
gpt-5.6-solPro Account Routemodel_ratio=37.5, group_ratio=0.09, completion_ratio=5$6.75 / $33.75

For example, the Terra Plus calculation is 37.5 × 2 × 0.045 = $3.375 for input and $3.375 × 6 = $20.25 for output. The Sol calculation uses the same input factors but a completion ratio of five. A price is incomplete without its route: the Pro figures are not a fallback price for Plus accounts, and the Plus figures do not describe Pro usage.

The catalog also lists gpt-5.6-terra and gpt-5.6-sol as OpenAI endpoint models. The route name is a billing dimension, not a parameter you can safely invent in a request. Confirm which route your account and API key can use, then keep that name in your estimate and internal dashboards. The pricing guide explains the site’s route-specific presentation, while the supported models guide covers endpoint compatibility.

Read the tiered billing metadata before estimating

Section titled “Read the tiered billing metadata before estimating”

Both GPT-5.6 entries in the live response include billing_mode: "tiered_expr". Their expressions branch on len <= 272000 and select either a short_context or long_context tier. The expressions contain separate coefficient terms (p, c, cr, and cc). That is a measured catalog fact; it is not evidence that every request has one flat rate or that a request just above the threshold has a particular price.

Treat the table above as the route-specific token-price calculation requested from the catalog’s ratio fields, then treat the tier expression as a reason to verify the final charge for long inputs. The public response does not define the meanings of every expression symbol in a user-facing billing guide. Do not reverse-engineer a new promise from the string, round the threshold into a marketing claim, or assume that the short-context arithmetic applies unchanged to every long-context request. Check the live Frugal Relay pricing page and compare a measured request with your usage record before approving a large workload.

This distinction matters for an agent that accumulates history. A 50,000-token prompt and a 250,000-token prompt may be the same feature from a product perspective, but they exercise different context shapes. Store the token counts and the model-route pair for each request so a later pricing change can be recalculated rather than guessed from an old invoice.

For a token-priced estimate, use:

estimated cost = (input tokens / 1,000,000 × input rate)
+ (output tokens / 1,000,000 × output rate)

Suppose a measured request uses 200,000 input tokens and 20,000 output tokens with gpt-5.6-terra on the Plus Account Route. Using the route-specific table:

(0.2 × $3.375) + (0.02 × $20.25)
= $0.675 + $0.405
= $1.08 per request

That is a transparent estimate for the observed token shape. Multiply it by expected calls, then add a separate allowance for retries, fallbacks, and scheduled jobs. If the workload can cross the catalog’s tier expression boundary, segment your forecast by context size and validate each segment with real usage. Do not average a short prompt and a long prompt into one rate when the billing metadata explicitly distinguishes tiers.

For a monthly forecast, keep three numbers instead of one: successful requests, retry or reprocessing requests, and the input/output token totals for each. This makes it possible to answer why a bill changed. A longer answer may raise output spend even when input stays flat; a growing conversation history raises input spend before a user sees a different UI.

Send a controlled OpenAI-compatible request

Section titled “Send a controlled OpenAI-compatible request”

The live catalog identifies the OpenAI endpoint as POST /v1/chat/completions. You can make a small canary call with the documented base URL and a canonical GPT-5.6 model:

Terminal window
curl https://frugalrelay.me/v1/chat/completions \
-H "Authorization: Bearer $FRUGALRELAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.6-terra",
"messages": [
{"role": "user", "content": "Summarize this release note in three bullets."}
],
"max_tokens": 256
}'

The max_tokens value is a response guardrail, not a promise that the model will use that many tokens. Capture the usage fields returned by your client or gateway, associate them with gpt-5.6-terra and the route selected for the key, and compare the observed shape with the estimate. Start with a redacted fixture set that represents your real prompts; a tiny hello-world call cannot reveal long-context behavior.

If your application already uses the OpenAI Python client, the getting started guide shows the setup pattern. Keep the base URL at https://frugalrelay.me/v1, use the exact model slug from the live catalog, and test response parsing, timeouts, and retry behavior before moving traffic. Compatibility describes the request shape; it does not make model availability or route pricing universal.

A practical long-context rollout checklist

Section titled “A practical long-context rollout checklist”
  1. Pin the pair. Write down the exact model (gpt-5.6-terra or gpt-5.6-sol) and the route name your account can access.
  2. Measure both directions. Record input and output tokens separately for short, typical, and worst-case context samples.
  3. Check the metadata. Re-read the live catalog for tiered_expr changes and verify the current rate at the pricing page.
  4. Bound the response. Set an application-level output limit and stop retries that cannot improve the result.
  5. Canary before scaling. Send a representative sample through https://frugalrelay.me/v1, inspect usage, and compare cost per successful task rather than cost per request alone.
  6. Recalculate on change. Refresh estimates when the model slug, route eligibility, ratio fields, or billing expression changes.

The supported models guide is useful for checking endpoint types, but the live catalog remains the authority for current names and route eligibility. Keep your deployment notes aligned with both sources and link the exact live rate used in a budget review.

Is there one GPT-5.6 price for every account?

Section titled “Is there one GPT-5.6 price for every account?”

No. The same live model is listed on multiple named routes with different group_ratio values. Quote the model and route together, such as gpt-5.6-terra on the Plus Account Route, and verify the account-specific availability before using the number in a forecast.

Should I use the table for a request over 272,000?

Section titled “Should I use the table for a request over 272,000?”

Use it as the ratio-based calculation, then verify the tiered billing behavior for that context shape. The live metadata branches on len <= 272000; it does not provide a user-facing guarantee that one flat table rate applies to every long request.

Does an OpenAI-compatible endpoint choose the cheapest route automatically?

Section titled “Does an OpenAI-compatible endpoint choose the cheapest route automatically?”

Do not assume that. The endpoint documents the request path, while the catalog maps models to eligible groups and human-readable route names. Confirm the route attached to your account or key and keep it in your cost record.

Long-context systems are easier to operate when pricing is treated as a measured input: model, route, token shape, and billing metadata. Recheck the live catalog before launch, use the route-specific arithmetic above for a first estimate, and let observed usage decide whether Terra or Sol meets your quality and cost target.