The /console form above is a playground for testing the API surface. In production, the client never picks a model nor types token counts manually. The AXIOMAX SDK reads them straight from the provider response object - which is signed by AWS / Anthropic / OpenAI / Google at their TLS layer. The client cannot lie. Auditors can replay the provider invoice and match it against the AXIOMAX receipt.
# AWS Lambda - real integration (Python SDK)
import boto3
import axiomax_sdk as axm
bedrock = boto3.client('bedrock-runtime')
resp = bedrock.invoke_model(
modelId='anthropic.claude-opus-4-7-20260101-v1:0',
body=json.dumps({"prompt": user_input, "max_tokens": 4096})
)
# AXIOMAX SDK auto-reads usage from response - client cannot edit
axm.attest(
bearer=os.environ['AXIOMAX_API_KEY'],
model_id=resp['ResponseMetadata']['modelId'], # signed by AWS
input_tokens=resp['usage']['inputTokens'], # signed by AWS
output_tokens=resp['usage']['outputTokens'], # signed by AWS
request_id=resp['ResponseMetadata']['requestId'], # for cross-reference
)
# Receipt is signed ed25519 with provider data baked in. Auditor compares to AWS invoice.
Same pattern for OpenAI (read
response.usage), Anthropic direct API (read
usage), Google Vertex (read
metadata.tokenCount), Replicate, Together, Modal, etc. SDKs for Python / Node / Go / Java / Rust under development. Email
[email protected] for early access.
Daily aggregate anchored to Bitcoin via OpenTimestamps RFC 3161. Aggregate runs 23:55 UTC.
Bitcoin anchor confirmed via OpenTimestamps calendar.
2-second confirmation. Independent of Bitcoin. Verifiable on polygonscan.com.
0x735164190f929e4bb379fd18bad15950c2d9335f2cf6b5ce513be1b6797f9e0c
View on Polygonscan →
12-second confirmation. L1 commitment. Verifiable on etherscan.io.
0x87cfa273dda993000da9bbadb4b043f9e26d6946e24fbe95c0a69303cfde81a0
View on Etherscan →