Skip to content

TextCortex API guides

Move your Inceptron integration to TextCortex.

Migrate Inceptron API calls to TextCortex. Update the endpoint, API key and model identifiers, then route requests across supported model families.

Move your Inceptron integration to TextCortex.

The practical takeaway

Keep your application. Expand its model access.

Move a model workload to TextCortex’s OpenAI-compatible API without rebuilding the product around a new provider client. Map the models and request behavior explicitly before switching traffic.

1. Inventory the current integration

Inceptron publishes model configurations and serving options. Compare the exact configuration your workload uses, including quantization and model version, rather than matching a family name alone.

Record the model identifiers, request parameters, tools, streaming behavior and output formats your application relies on. Keep a copy of the existing client configuration for rollback.

2. Map destination model identifiers

Retrieve the TextCortex catalog using GET /models. Match each application task to an available model, including the EU-hosted route where required.

A provider-specific identifier is not portable by default. Set the destination identifier explicitly and review any model-specific reasoning or generation settings.

3. Configure the TextCortex client

Create a TextCortex account and generate an API key in account settings. Install the OpenAI Python package on your server. Store the key in TEXTCORTEX_API_KEY and set TEXTCORTEX_MODEL to an identifier returned by GET /models.

This example keeps credentials in environment variables. The same client configuration works when you choose another supported model. Read the API reference for endpoint-specific parameters.

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["TEXTCORTEX_API_KEY"],
    base_url="https://api.textcortex.com/v1",
)

for model in client.models.list():
    print(model.id)

response = client.chat.completions.create(
    model=os.environ["TEXTCORTEX_MODEL"],
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

4. Replay a representative request set

Run synthetic or approved test inputs through both integrations. Keep external actions such as emails or purchases disabled during the test.

  • Compare answer quality and structured-output validity.
  • Check streaming chunks, tool arguments and cancellation.
  • Exercise authentication errors, rate limits and timeouts.
  • Measure usage and latency under expected concurrency.

5. Switch gradually and retain the previous route

Introduce a small share of eligible traffic after the acceptance checks pass. Track failures and model usage by route so you can identify regressions quickly.

Keep a rollback configuration until the monitoring period is complete. Remove only credentials and services that are no longer used. Use the routing guide to organize future model choices.

Questions

Your next questions, answered.

What changes when I migrate an existing integration?

Update the base URL, API key and model identifiers. Review provider-specific parameters and test streaming, tools, structured output and error handling used by your application. Keep your original configuration available during the rollout.

Can I use an OpenAI-compatible client?

Yes. Configure the client with the TextCortex base URL and API key. Use a TextCortex model identifier and the parameters supported by that model. Model discovery, chat completions and responses are documented in the API reference.

Are all models in the catalog EU-hosted?

TextCortex offers EU-hosted model routes and a broader multi-provider catalog. Select the EU-hosted deployment required by your application; catalog membership alone does not establish where a particular request is processed.

TextCortex AI

One integration. Your choice of models.

Sign up for TextCortex, create an API key and start building with the models your application needs.

Sources and documentation

Product documentation and provider references used for this guide. Reviewed on 5 October 2026.