Open Token documentation
Guides to trace, measure and control your LLM calls: OpenTelemetry from any app, the SDK, framework integrations and the gateway.
Start here
- SDKs and frameworksOpenTelemetry for Node.jsWrap one LLM call in a TypeScript app or editor extension, send the span to Open Token and check its model, tokens and cost.
- Get startedQuickstart: observeSee cost and usage per model, IAM principal and tag from OpenTelemetry and your Bedrock invocation logs.
- Get startedQuickstart: gatewaySend requests through Open Token's OpenAI-compatible API. Inference runs in your own AWS account.
- SDKs and frameworksSDKopentoken.init() for Python and Node traces every LLM call and agent step with cost, sends the same traces to Langfuse if you want, and never slows your app down.
All guides
Get started
- Quickstart: observeSee cost and usage per model, IAM principal and tag from OpenTelemetry and your Bedrock invocation logs.
- Quickstart: gatewaySend requests through Open Token's OpenAI-compatible API. Inference runs in your own AWS account.
- SDK and fail-openPut a feature behind the gateway without ever risking its traffic. The opentoken SDK falls back to Amazon Bedrock in your own account on any problem on our side.
- Migrate from LangSmithSend the traces, runs and agents your LangSmith-instrumented apps already produce to Open Token by changing three environment variables.
SDKs and frameworks
- OpenTelemetry for Node.jsWrap one LLM call in a TypeScript app or editor extension, send the span to Open Token and check its model, tokens and cost.
- SDKopentoken.init() for Python and Node traces every LLM call and agent step with cost, sends the same traces to Langfuse if you want, and never slows your app down.
- Strands AgentsTrace a Strands agent with cost per run, feature and customer in about five minutes, without changing how it calls Bedrock.
- LangGraph and LangChainTrace LangGraph graphs and LangChain chains with cost per node, feature and customer, observing your Bedrock calls or routing them through the gateway.
- LlamaIndexTrace LlamaIndex queries, retrieval and LLM calls with cost, observing Bedrock directly or through the gateway.
- Bedrock and AgentCoreTrace boto3 Converse and InvokeModel calls, run AgentCore agents with the zero-code launcher, and route Bedrock calls through the gateway with fail-open.
- LiveKit AgentsSee every voice call and chat session of your LiveKit agents with its cost per minute across LLM, speech-to-text and text-to-speech, latency by stage, interruptions and phone attribution, with one line of code.
- OpenAI SDKUse the OpenAI SDK for Python or Node on the gateway with fail-open to Amazon Bedrock, per-feature attribution and traces.
- Vercel AI SDKUse the Vercel AI SDK on the gateway with fail-open to Amazon Bedrock, and send its telemetry spans to Open Token.
Operations
- Security and data handlingWhat Open Token stores, what it never stores, and how your keys and credentials are protected.
- Allow our emailHow your IT team lets member invitations, billing notices and usage alerts through Microsoft 365 and Google Workspace.
- TroubleshootingFixes for the errors people run into most.