Skip to content

Quote catalog prices per 1,000 requests - #8

Merged
kev1n merged 1 commit into
mainfrom
quote-prices-per-1k
Aug 15, 2026
Merged

kev1n merged 1 commit into
mainfrom
quote-prices-per-1k

Conversation

@kev1n

@kev1n kev1n commented Aug 15, 2026

Copy link
Copy Markdown
Member

Synced from the canonical body in the main repository's src/lib/agentSkill.ts, which shipped in getanyapi-com/anyapi#630.

The gateway publishes maxPer1kUsd beside every offer's maxUsd and names per-1,000-requests as the customer-facing standard in its MCP instructions (getanyapi-com/anyapi#620, live in production and verified against booking.search). Agents reading this skill now get the same convention.

The added paragraphs cover:

  • Both published fields, with per-1k named as the standard AnyAPI quotes customers in.
  • A worked example: $96.60/1k req, not $0.0966 per request.
  • Read the published field rather than multiplying, because 0.0966 * 1000 is 96.60000000000001 in most languages and 16 live catalog prices behave that way.
  • The boundary: baseUsd/perUnitUsd have no per-1k twin, and quote_api, costUsd, and wallet balances stay per request.

Body sync is mechanical (npm run sync-skills); frontmatter is unchanged. bash scripts/check.sh passes.

🤖 Generated with Claude Code

Synced from the canonical body in the main repository's
src/lib/agentSkill.ts, which shipped in getanyapi-com/anyapi#630.

The gateway now publishes maxPer1kUsd beside every offer's maxUsd and
names per-1k as the customer-facing standard in its MCP instructions
(getanyapi-com/anyapi#620, live in production). Agents reading this skill
get the same convention, plus the boundary that quote_api, costUsd, and
wallet balances stay per request.
@kev1n
kev1n merged commit 0d20db2 into main Aug 15, 2026
1 check passed
@kev1n
kev1n deleted the quote-prices-per-1k branch August 15, 2026 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant