Kryyt / Developers

Use an OpenAI-Compatible Client

Reuse the Chat Completions interface, not assumptions about every OpenAI endpoint.

Change your connection

Python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.kryyt.com/v1",
    api_key=os.environ["KRYYT_API_KEY"],
    timeout=600,
    max_retries=0,
)

Use a Kryyt project key, not an OpenAI key or your Google sign-in token. Set the model to deepseek-v4.1-flash, or discover available IDs through GET /v1/models.

Audit before switching

AreaKryyt behavior
AuthenticationKryyt project Bearer key; purchased credits only.
ModelsCurrent active IDs from /v1/models. Roadmap models are not requestable.
StreamingSSE, optional text deltas, and separate usage chunks.
Developer roleNormalized to system before forwarding.
Token boundsmax_completion_tokens is mapped to max_tokens.
nOnly one choice is supported.
Tool executionYour application executes declared functions.
Responses / Assistants / embeddings / audio / image generation / file uploadsNot exposed by this gateway.
store / metadata / user / service_tierIgnored; do not rely on OpenAI-specific persistence or routing behavior.
Pricing and quotasKryyt account rules apply. OpenAI account balances and allowances do not transfer.

Validate your integration

  1. List models with your project key.
  2. Make one small non-streaming request.
  3. Test SSE and an interrupted stream.
  4. Test your required image inputs and function-call loop.
  5. Handle insufficient credit separately from rate limits.
  6. Review usage in the Kryyt account before increasing traffic.