SDKs and frameworks

LiteLLM

LiteLLM treats the gateway as an OpenAI-compatible provider: prefix the model id with openai/ and set the base URL.

Python SDK

Python
# pip install litellm
import os
import litellm

response = litellm.completion(
    model="openai/claude-sonnet-5-5",
    api_base="https://vioneer.xyz/api/v1",
    api_key=os.environ["VIONEER_API_KEY"],
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)

Proxy config

config.yaml
model_list:
  - model_name: claude-sonnet-5-5
    litellm_params:
      model: openai/claude-sonnet-5-5
      api_base: https://vioneer.xyz/api/v1
      api_key: os.environ/VIONEER_API_KEY
  - model_name: gpt-6.2-sol
    litellm_params:
      model: openai/gpt-6.2-sol
      api_base: https://vioneer.xyz/api/v1
      api_key: os.environ/VIONEER_API_KEY

If something does not work

  • 401: the key is wrong, revoked or missing. Keys are shown once, when you create them; make a new one in the dashboard if in doubt.
  • 402: the account is out of credit. Top up and the next request goes through.
  • 403: the key is not allowed that model. Check its model allowlist under Keys.
  • 404 on a model: the id is not in the catalogue. Copy it from the price list.
  • 429: a rate or concurrency limit was hit. Wait for the retry-after seconds, or raise the key’s limit.

Every request, failed ones included, is listed in the dashboard’s activity log with its status and cost.