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