GirtAI
API documentation
← All guides

Move an OpenAI-compatible client to GirtAI

Change the base URL, key and model, then test with a small request.

Three settings to change

Set base_url / baseURL to https://girtai.com/v1, supply a GirtAI key, and choose an available model such as deepseek-flash. A key from another provider will not work.

Avoid duplicate path segments

An SDK base URL should end in /v1; the SDK adds /chat/completions. A raw HTTP request needs the full URL https://girtai.com/v1/chat/completions. Do not produce /v1/v1 or append /chat/completions twice.

Compatibility has boundaries

Validate streaming, tool schemas, error handling and any provider-specific parameters your application needs. Protocol compatibility does not mean every OpenAI or Anthropic feature is available. Keep your previous configuration for rollback.

Roll out gradually

Send one short request first, check the response and console usage record, then enable a limited portion of traffic. Do not switch a production workload solely on the basis of a successful model-list request.

View prices & local peak hours