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.
0x31892ec4679a2fb6ae984f4e301f9c480f40f025cd9289e7f8d596bd022dd95b
View on Polygonscan →
12-second confirmation. L1 commitment. Verifiable on etherscan.io.
0x2adf5c810bf55d9f4cea2ab142166335f124eee019b201cc05c5c2d7f2dcf12b
View on Etherscan →