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