Skip to content
NewRouters/Documentation
GET STARTED

LLM integration tutorials and evaluation methods

A practical path from your first LLM request to protocol selection, streaming, error recovery, task-based evaluation and cost reconciliation.

Start with a minimal request, then validate protocol behavior, completion and task quality. These guides explain integration and evaluation methods; they are not model rankings or promises of performance, pricing or availability. Generation examples incur usage: confirm access and budget before running them.

Discover a compatible model, send a server-side Chat Completions request, and validate the response without confusing LLM calls with media tasks.

Compare OpenAI, Claude and Gemini request shapes, authentication and response handling before moving an application between model routes.

Understand protocol-specific streaming, partial output, completion signals and disconnects before adding incremental text to an application.

Separate authentication, contract, rate-limit and interrupted-response failures, and design bounded retries that avoid duplicate generation.

Build a reproducible LLM comparison using task quality, failure rates, latency and observed cost instead of unsupported model rankings.

Separate token estimates, current account pricing and final usage receipts when planning an LLM budget and comparing successful task costs.

Use the Common API for discovery, model documentation for model-specific parameters and the complete API reference for endpoints. Do not generalize one model’s capabilities to every route.