# WhatsApp max price for marketing messages: set and test a bid

> Set a max price with optimization_spec, test bids with reach estimates and A/B duplicates, and read marketing_lite_dynamic in webhooks and analytics.

Published 2026-11-24. Z-API Omni team.

Max price is a bid cap you set per marketing template on the Marketing Messages API, in `optimization_spec`. It has been in open beta since October 1, 2026, and Meta "will charge that max price or lower for delivery". Test a bid by duplicating a template at different caps and comparing delivery. Since November 1, 2026, those deliveries are billed as `marketing_lite_dynamic` in webhooks and `MARKETING_LITE_DYNAMIC` in Pricing Analytics.

Meta labels the feature BETA and warns that "Max price is an early-stage feature; performance may vary as Meta's systems learn and improve" ([Meta max price, accessed 2026-11-24](https://developers.facebook.com/documentation/business-messaging/whatsapp/marketing-messages/pricing)). This page publishes no rates and no suggested bid. Meta publishes no minimum, maximum or recommended `bid_amount`.

The endpoint itself is covered in [the Marketing Messages API for WhatsApp](/academy/articles/whatsapp-marketing-messages-api/). How a bid fits into a peak-day bill is in [what sets your WhatsApp API bill on Black Friday](/academy/articles/whatsapp-api-black-friday-bill/).

## Where max price stands

Meta lists three phases: Limited Beta from May 15, 2026, Open Beta from October 1, 2026, and "General Availability (GA) as of Q2 2027 (tentative)". The changelog shows how much has moved during the beta ([Meta MM API changelog, accessed 2026-11-24](https://developers.facebook.com/documentation/business-messaging/whatsapp/marketing-messages/changelog)).

| Date (2026) | Change |
| --- | --- |
| June 18 | `optimization_spec` replaces `bid_spec`, which stops being accepted after July 31 |
| August 31 | Templates can switch between rate card and max price |
| September 11 | Meta recommends `per_message_bid_multiplier` values below 1 |
| September 15 | Open beta announced |
| October 1 | Solution Partners no longer need to "explicitly allowlist clients" |
| October 5 | Error 131065 added |
| October 15 | Billing SKU documentation added |
| October 19 | Override limit raised "from 50 to 240 per template" |

Fixed rates don't go away. The pricing page says "Fixed, published rates for marketing messages will remain also available on the MM API." What happens to max price templates at GA isn't published.

## Enroll the business first

A business signs a max price agreement before any template can carry a bid ([Meta enroll in max price, accessed 2026-11-24](https://developers.facebook.com/documentation/business-messaging/whatsapp/marketing-messages/pricing/enroll-max-price)). The token needs `business_management` and must be a system user or business token.

```bash
# Sign, then read the status back. Env: BUSINESS_ID, ACCESS_TOKEN, SIGNER_NAME, SIGNER_EMAIL
curl -X POST "https://graph.facebook.com/v26.0/$BUSINESS_ID/max_price_agreements" \
  -H 'Content-Type: application/json' \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -d "{\"signer_name\": \"$SIGNER_NAME\", \"signer_email\": \"$SIGNER_EMAIL\"}"
echo
curl "https://graph.facebook.com/v26.0/$BUSINESS_ID/max_price_agreements" \
  -H "Authorization: Bearer $ACCESS_TOKEN"
```

The status reads `none`, `pending` or `accepted`. A partner signs once for its clients. Each client account must be owned by the client and shared with or managed by the partner. Meta's page says "Client Messaging accounts that are neither shared with nor managed by your business do not have access."

WhatsApp Manager has a separate switch, `whatsapp_manager_marketing_messages_max_price_enroll_status`, set to `OPT_IN` or `OPT_OUT` with `POST /<WABA_ID>`. It defaults to `OPT_IN` for accounts that aren't shared and `OPT_OUT` for shared ones. It controls only whether the feature is visible in WhatsApp Manager and has no effect on eligibility ([Meta WhatsApp Manager visibility, accessed 2026-11-24](https://developers.facebook.com/documentation/business-messaging/whatsapp/marketing-messages/pricing/whatsapp-manager-visibility)).

## Set the bid on a template

The bid lives on the template, and a send can only scale it. Three fields make it up.

| Field | What Meta documents |
| --- | --- |
| `bid_amount` | int32. The max price per 1,000 deliveries, in the smallest unit of the account currency. No documented minimum or maximum |
| `bid_strategy` | Only `LOWEST_COST_WITH_BID_CAP` |
| `bid_country_multiplier_overrides` | ISO 3166-1 alpha-2 keys. Each multiplier is above 0 and at most 10. Up to 240 entries. Countries not listed use 1.0 |

`bid_amount` counts 1,000 deliveries in the smallest currency unit, while the webhook's `cost.amount` is per message in the base unit. By our arithmetic, a currency with two decimal places turns a per-message price into a `bid_amount` by multiplying by 1,000 and then by 100.

This is Meta's create call with the bid moved into an environment variable and a neutral body text. Replace `seasonal_sale_promo` and the text with your own.

```bash
# Env: WABA_ID, ACCESS_TOKEN, BID_AMOUNT (integer; your <BID_AMOUNT> per 1,000 deliveries,
# in the smallest unit of the WABA currency)
: "${BID_AMOUNT:?set BID_AMOUNT to your cap}"
curl -X POST "https://graph.facebook.com/v26.0/$WABA_ID/message_templates" \
  -H 'Content-Type: application/json' \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -d @- <<EOF
{
  "name": "seasonal_sale_promo",
  "category": "MARKETING",
  "language": "en",
  "components": [
    {"type": "BODY", "text": "Our seasonal sale is on this week. Reply to see what is included."}
  ],
  "optimization_spec": {
    "bid_amount": $BID_AMOUNT,
    "bid_strategy": "LOWEST_COST_WITH_BID_CAP",
    "bid_country_multiplier_overrides": {"IN": 1.2, "MX": 0.8}
  }
}
EOF
```

To change the bid or the overrides, post a new `optimization_spec` to `/<TEMPLATE_ID>/`. A non-empty overrides map replaces the old one, with no merge, so send every country you still want. An empty map `{}` clears all overrides. You write the overrides as a map and read them back as a list of `{"key", "value"}` pairs, so compare them by key.

```bash
# Env: TEMPLATE_ID, ACCESS_TOKEN, BID_AMOUNT
: "${BID_AMOUNT:?set BID_AMOUNT to your cap}"
curl -X POST "https://graph.facebook.com/v26.0/$TEMPLATE_ID/" \
  -H 'Content-Type: application/json' \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -d "{\"optimization_spec\": {\"bid_strategy\": \"LOWEST_COST_WITH_BID_CAP\", \"bid_amount\": $BID_AMOUNT, \"bid_country_multiplier_overrides\": {\"IN\": 1.4, \"MX\": 0.9}}}"
```

To go back to the rate card, set both fields to null. Reverting also clears the overrides. A request that omits `optimization_spec` changes nothing.

```bash
# Env: TEMPLATE_ID, ACCESS_TOKEN
curl -X POST "https://graph.facebook.com/v26.0/$TEMPLATE_ID/" \
  -H 'Content-Type: application/json' \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -d '{"optimization_spec": {"bid_strategy": null, "bid_amount": null}}'
```

Meta separates the cap from spending limits. "A max price is a bid cap, not a budget," and "A bid cap is independent of a `daily_budget` or `lifetime_budget`". Meta doesn't explain in these pages how the bid enters the delivery decision, beyond charging the max price or lower.

## The send-level multiplier

`per_message_bid_multiplier` scales the template's cap for one send. It's a positive float with a default of 1, and Meta's September 11 entry recommends values below 1, which lower the cap. Meta adds: "The message-level max price multiplier is subject to change during the beta period."

Meta's send example still nests the multiplier in `bid_spec`, the object Meta stopped accepting after July 31, 2026:

```json
{
  "recipient_type": "individual",
  "messaging_product": "whatsapp",
  "to": "<WHATSAPP_USER_PHONE_NUMBER>",
  "type": "template",
  "template": {"name": "seasonal_sale_promo", "language": {"code": "en"}},
  "bid_spec": {"per_message_bid_multiplier": "<PER_MESSAGE_BID_MULTIPLIER>"}
}
```

Meta documents the multiplier as a positive float, although its placeholder is quoted.

Meta documents no send-level `optimization_spec`. Until it does, test the multiplier on a small send before you depend on it, and log the response. Send to a phone number in `to`. A max price send to a BSUID in `recipient` fails with 131062.

## Test a bid before you raise it

Meta's advice is to "Start with A/B tests. This helps you assess the impact of different bidding rates on your delivery rates." It also asks you to ramp volume slowly on new max price templates.

### Ask for a reach estimate

`/reachestimate` returns estimated deliveries and cost for a range of bids, per country and lookback window. `date_interval` takes `L1D`, `L7D`, `L14D` or `L28D`.

```bash
# Env: WABA_ID, ACCESS_TOKEN
curl -G "https://graph.facebook.com/v26.0/$WABA_ID/reachestimate" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  --data-urlencode 'targeting_spec={"geo_locations":{"countries":["MX"]}}' \
  --data-urlencode 'date_interval=L7D'
```

The response carries `waba_currency` and an `estimates[]` list. Each entry has `bid_amount`, `users`, `deliveries_lower_bound`, `deliveries_upper_bound`, `cost_lower_bound` and `cost_upper_bound`. During the beta, `users` is fixed at 1,000. Meta says the estimates are "for informational and planning purposes only", so use them to pick test arms, not to forecast an invoice.

### Run arms on duplicated templates

`POST /<WABA_ID>/message_templates` with `source_template_id`, a new `name` and an `optimization_spec` returns `"status": "APPROVED"` and `"category": "MARKETING"` without a new review ([Meta duplicate templates, accessed 2026-11-24](https://developers.facebook.com/documentation/business-messaging/whatsapp/marketing-messages/pricing/duplicate-templates)). Only `name` and `optimization_spec` can differ. A source allows up to 25 duplicates, depending on trust level, and accounts not enrolled get a 403.

Meta's recipe uses four arms of 10,000 sends each: no max price, the rate-card price, 1.5x, and 0.9x. For India and Saudi Arabia it suggests 1.2x instead of 1.5x. The loop below creates the three max price arms from a rate-card source. `RATE_CARD_BID` is the rate-card price for your target country, converted to `bid_amount` units.

```bash
# Env: WABA_ID, ACCESS_TOKEN, SOURCE_TEMPLATE_ID, RATE_CARD_BID (integer, bid_amount units)
# For India or Saudi Arabia, Meta's recipe uses 1.2x: change c_1_5x to $(( RATE_CARD_BID * 6 / 5 )).
: "${RATE_CARD_BID:?set RATE_CARD_BID}" "${SOURCE_TEMPLATE_ID:?set SOURCE_TEMPLATE_ID}"
for arm in "b_rate_card:$RATE_CARD_BID" \
           "c_1_5x:$(( RATE_CARD_BID * 3 / 2 ))" \
           "d_0_9x:$(( RATE_CARD_BID * 9 / 10 ))"; do
  name="seasonal_sale_promo_${arm%%:*}"
  bid="${arm##*:}"
  curl -s -X POST "https://graph.facebook.com/v26.0/$WABA_ID/message_templates" \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $ACCESS_TOKEN" \
    -d "{\"source_template_id\": \"$SOURCE_TEMPLATE_ID\", \"name\": \"$name\", \"optimization_spec\": {\"bid_strategy\": \"LOWEST_COST_WITH_BID_CAP\", \"bid_amount\": $bid}}"
  echo
done
```

The source template is arm A. Meta's page frames duplication as a way to run the same template at another bid. It doesn't say whether the source may be a rate-card template. If the call rejects a rate-card source, create arm B with the create call above and duplicate from it.

Split recipients at random across the arms, and keep one recipient in one arm. Record which wamid went to which arm when the send response comes back.

## Read the result

Each delivered max price message carries a `pricing` object on its status webhook. Meta's billing page lists `billable` true, `pricing_model` `PMP`, `category` `marketing_lite_dynamic`, `type` `regular`, and a `cost` object with `amount` and `currency` ([Meta max price billing SKU, accessed 2026-11-24](https://developers.facebook.com/documentation/business-messaging/whatsapp/marketing-messages/pricing/max-price-billing-sku)). `cost` appears on delivered and read statuses. Meta says the webhook amount "may differ" from the invoice, which is the source of truth.

The script compares arms from your own logs. It counts sends, deliveries, failure codes and webhook cost per arm, taking cost once per message because it repeats on read.

```python
# max_price_arms.py. Python 3.9+, standard library only.
# Run: python3 max_price_arms.py sends.json statuses.jsonl
# sends.json maps each wamid from the send response to its arm, e.g. {"wamid.X": "c_1_5x"}.
# statuses.jsonl holds one raw webhook body per line, as your handler received it.
import json
import sys
from collections import Counter, defaultdict

with open(sys.argv[1]) as f:
    arm_of = json.load(f)

sent = Counter(arm_of.values())
delivered = defaultdict(set)
failed = defaultdict(set)
categories = defaultdict(set)
cost = defaultdict(lambda: defaultdict(float))
priced = set()

with open(sys.argv[2]) as f:
    for line in f:
        if not line.strip():
            continue
        for entry in json.loads(line).get("entry", []):
            for change in entry.get("changes", []):
                for s in change.get("value", {}).get("statuses", []):
                    wamid, state = s.get("id"), s.get("status")
                    arm = arm_of.get(wamid)
                    if arm is None:
                        continue
                    if state in ("delivered", "read"):
                        delivered[arm].add(wamid)
                    elif state == "failed":
                        for e in s.get("errors", []):
                            failed[arm].add((wamid, e.get("code")))
                    pricing = s.get("pricing") or {}
                    if pricing.get("category"):
                        categories[arm].add(pricing["category"])
                    c = pricing.get("cost")
                    if c and wamid not in priced:  # cost repeats on delivered and read
                        priced.add(wamid)
                        cost[arm][c.get("currency")] += float(c.get("amount", 0))

for arm in sorted(sent):
    n_del = len(delivered[arm])
    rate = n_del / sent[arm] if sent[arm] else 0
    codes = Counter(code for _, code in failed[arm])
    spend = {cur: round(total, 4) for cur, total in cost[arm].items()}
    per_del = {cur: round(total / n_del, 6) for cur, total in cost[arm].items()} if n_del else {}
    print(f"{arm}: sent={sent[arm]} delivered={n_del} rate={rate:.1%} failed={dict(codes)}")
    print(f"  webhook cost={spend} per delivered={per_del} categories={sorted(categories[arm])}")
```

Per Meta's category values, arm A should show `marketing_lite` and the max price arms `marketing_lite_dynamic`. Our reading: a max price arm that shows `marketing_lite` suggests the bid didn't apply, so check the template's `optimization_spec`. The cost totals are webhook estimates. Use them to compare arms, then reconcile against the invoice.

Pricing Analytics reports `pricing_category` `MARKETING_LITE_DYNAMIC` next to `MARKETING_LITE`. Template Analytics adds `amount_spent_publish_rate` and `amount_spent_max_price` to its `cost[]` array, while `amount_spent` and `cost_per_delivered` stay totals. The query shapes are in [pricing and template analytics](/academy/articles/whatsapp-business-analytics-api-pricing-analytics/).

Meta's analytics page doesn't list `MARKETING_LITE_DYNAMIC` among its `pricing_categories` filter values. Split by the `PRICING_CATEGORY` dimension instead of filtering on the new value. The status reference doesn't list `marketing_lite_dynamic` either. Meta's billing page asks you to "Update enum allowlists and reconciliation logic" and to "Treat the new analytics and webhook enum values as additive."

Invoices gain a `Max Price` price type next to `List`. The December 2026 invoice for November usage may show some max price traffic under `List`, so expect a mismatch with your webhook totals for that month. Meta says "Only billing and reporting identifiers change."

## Errors that belong to max price

| Code | When | Fix |
| --- | --- | --- |
| 131061 | A max price template sent to `/messages` | "Send to the `/marketing_messages` endpoint instead." |
| 131062 | A max price send to a BSUID in `recipient` | Use `to` |
| 131065 | Max price isn't available for the recipient's country | Send to a supported country "or use a rate-card template without `optimization_spec`" |
| 131049 | Not delivered today, including when the price was too low | The code doesn't say which cause applied; compare arms before changing the bid |
| 131066 | From February 2027, not delivered because of template quality or price | Raise template quality or the price |

Messages for 131061 and 131065 still say `bid_spec`, so match on the code. Neither appears on the main error codes page. The February change is covered in [error 131066](/academy/articles/whatsapp-error-131066-replaces-131049/). Cloud API stops sending marketing entirely in 2027, as [the Cloud API marketing sunset](/academy/articles/whatsapp-marketing-messages-cloud-api-sunset-2027/) explains.

## What Meta has not documented

Meta publishes no minimum or maximum `bid_amount`, and no figure for a sensible bid. It doesn't describe how the bid enters the delivery decision beyond "max price or lower".

Meta gives no list of countries where max price is unavailable. You learn it from 131065. It documents no send-level `optimization_spec`, and it hasn't said what happens to max price templates at GA, a date it still marks tentative.

*Z-API Omni team*
