Skip to content

Troubleshooting

Open https://inference.valgix.com/health to check whether Inference responds. Then call model discovery with the same API key you use in your client.

  • Connection refused means the client could not connect. Check that it can reach https://inference.valgix.com.
  • 401 means Inference could not authenticate the key. Verify it starts with cys_, is active, and is loaded in the same terminal or application.
  • 404 can come from a duplicated /v1, a missing API path, or an incorrect model ID. Compare the client configuration with the base URLs.

For OpenAI-compatible responses, inspect error.code. For Anthropic responses, use the error message to identify the cause.

  • Too many requests. Reduce concurrent requests and respect Retry-After when it is present.

Check that the client used the correct API format and returned the tool result against the matching call ID. Keep the assistant’s tool call and the tool result in the history sent with the follow-up. For Responses, send the conversation in input and set store: false.

Usage is missing or looks larger than the message

Section titled “Usage is missing or looks larger than the message”

The total input includes system instructions, conversation history, tool definitions, and any context your client sends. The cached count is a subset of that input. For streaming, wait for the final usage event and refresh Overview. Reports generated before per-key tracking was introduced appear in the all-keys total.

If a problem persists, send the model ID, route, time, status, and request ID if available to Valgix support. Keep API keys and conversation content private.