Status: [UNTESTED] Endpoints found: http://127.0.0.1:8317/v1/chat/completions Source: https://github.com/xillkey/llm_api_inspector

LLM API Inspector logo

LLM API Inspector

English | 简体中文

LLM API Inspector is a proxy and traffic viewer for LLM APIs. It exposes an OpenAI-compatible `/v1/chat/completions` endpoint, records the full request parameters, tool definitions and streaming responses, and lets you watch in-flight requests live. ## Screenshots

Conversation view
Request overview

## Features - Works out of the box, no tedious dependency setup - OpenAI-compatible proxy (chat/completions) - Supports both streaming and non-streaming requests - Inspect messages, registered tools and sampling parameters - Live view of the model's reasoning and answer as they arrive - Configurable upstream Base URL - Local history persisted in SQLite ## Getting Started 1. Launch the app 2. Open **Settings**, fill in the **upstream Base URL** (for example `https://api.openai.com/v1`) and save 3. Point your client at the proxy address, using your real **model** and **API key** (the same ones you would use when calling upstream directly): ```bash export OPENAI_BASE_URL=http://127.0.0.1:8317/v1 export OPENAI_API_KEY=your-upstream-api-key ``` 4. Call Chat Completions as usual — the request shows up in the list on the left The proxy forwards requests to the upstream service as-is; headers such as `Authorization` are passed through untouched. It only relays and captures traffic. The **Connection Info** panel on the left shows the proxy Base URL and the current upstream address. You can also change the listening port and toggle LAN access in Settings. ## Examples Non-streaming: ```bash curl http://127.0.0.1:8317/v1/chat/completions \ -H 'Content-Type: application/json' \ -H 'Authorization: B