Skip to content

docs(decisions): decisions are paid from credit - #165

Merged
VickyXAI merged 1 commit into
mainfrom
docs/decisions-paid
Nov 10, 2026
Merged

VickyXAI merged 1 commit into
mainfrom
docs/decisions-paid

Conversation

@VickyXAI

Copy link
Copy Markdown
Contributor

The Decisions pages still said decisions are free with a per-key hourly limit. That changed on api.blockrun.ai on 2026-11-10 (enterprise cf06f673, PR #470; rules BILL-039..043).

Changes

  • api-reference/decisions.md: price in the endpoint table; new Billing section; errors table now has 402, 504-is-charged, and 429 for bad-key attempts only.
  • api-reference/decide.md: drops "free with a registered key"; adds a short Billing section with the one extra case (failed translation is charged its usage).
  • resources/changelog.md: 2026-11-10 entry.

The rules stated

  • Input tokens at the gpt-6-luna input price ($0.10/M), plus account margin. No output charge.
  • Prepaid account with no balance: 402. No hourly limit.
  • Timeout (504, 30s): charged the hold, 64,000 input tokens plus margin.
  • 200 with unreadable usage: charged the hold.
  • Caller 4xx, OpenAI 4xx/5xx, never connected: nothing.
  • No refunds.

To publish: merge, bump the submodule pin in blockrun, deploy blockrun.

🤖 Generated with Claude Code

…e costs

Live on api.blockrun.ai since 2026-11-10 (enterprise cf06f673, #470).
Input tokens at the gpt-6-luna input price ($0.10/M) plus account margin.
A timeout is charged the hold; a 200 with unreadable usage is charged the
hold; caller and OpenAI errors are not charged; no refunds; no hourly
limit. /v1/decide also charges a failed translation its usage.
@VickyXAI
VickyXAI merged commit 4d5f011 into main Nov 10, 2026
1 check passed
VickyXAI pushed a commit that referenced this pull request Nov 10, 2026
Keeps both Decisions rails: x402 per call on blockrun.ai and #165's credit
billing on api.blockrun.ai (margin, 64K-token hold, outcome table). The
error table states each status per rail.

Fable 5.2: "if it fails you are not charged" was wrong after the 45-second
non-stream settle and a stream's first generated event (F52-033, F52-032);
the copy now says a failure after that point returns 502 saying you were
charged, and the free refusal excludes a call already settled at 45s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
VickyXAI pushed a commit that referenced this pull request Nov 10, 2026
… how to get a key

GLM 5.3 review: the 45-second settle applies to a non-streaming call on an
exact quote, not upto (F52-033). The merge with #165 dropped its 'register,
create a key, add credit' pointer; restored under the keyed billing section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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