Check out the newest way to compare different models for a task/agent harness: AutoEvals

Gateway

Gateway

Record and analyze your production LLM traffic

Inference Gateway captures LLM requests flowing through your products. It stores the raw request, response, and metadata associated with each invocation of an LLM.

Recorded data is used to provide in-depth metrics and visibility into your LLM token usage, cost, latency, and error rates, across all your providers in a single, unified view. Additionally, this data is used to power downstream model evaluation and training.

Inference Gateway supports all major LLM providers and frameworks. For agents, tools, framework runs, and custom orchestration, Inference Tracing captures full trace trees and individual spans in addition to gateway inferences. View the integrations guide for in-depth instructions.

Key concepts

ConceptDescription
GatewayEdge layer between your app and LLM provider. Records traffic with < 10ms overhead.
InferenceA single LLM call stored by Gateway. Includes request, response, cost, latency, & token counts.
TraceA multi-step execution captured through OpenTelemetry. Useful for agents, tools, framework runs, and custom orchestration.
SpanOne step inside a trace, such as a model call, tool call, retriever, graph node, or custom application operation.
TaskA user-defined objective (like "summarize docs" or "classify tickets") that groups related inferences so you can track each AI feature independently.
MetricsAggregated cost, latency, error rates, and token usage across your inferences. Filterable by model, task, or provider.

Next steps

On this page