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